Avdump2: Difference between revisions

666 bytes added ,  11 September 2011
no edit summary
No edit summary
Line 1: Line 1:
Welcome to the remarkably sparse avdump2 wiki page, lovingly hand created over many minutes.
Welcome to the remarkably sparse avdump2 wiki page, lovingly hand created over many minutes + some more.


We gleefully embrace build 5000, the 'it works on windows!' edition, yet another public release of avd2.  It represents a complete rewrite of the original avd1 code, runs against a new build of MediaInfoLibrary, contains a number of custom solutions for a number of formats, represents a significant investment of time and energy by Arokh, and is just generally nifty.
We gleefully embrace build 5000, yet another public release of avd2.  It represents a complete rewrite of the original avd1 code, runs against a new build of MediaInfoLibrary, contains a number of custom solutions for a number of formats, represents a significant investment of time and energy by Arokh, and is just generally nifty.


This release contains a minor collection of fixes from previous releases, and, barring discovery of world-ending bugs in the interim, will be the first version to be formally announced on the web site proper.  As before, there is no need to reprocess existing files with this build, but do keep an eye out for misbehaviour.
This release contains a minor collection of fixes from previous releases, and, barring discovery of world-ending bugs in the interim, will be the first version to be formally announced on the web site proper.  As before, there is no need to reprocess existing files with this build, but do keep an eye out for misbehaviour.


==What is it==
==What is it==
'''Avdump2''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bit rates, the length, identifies the number of used audio channels and more.<br>
'''Avdump2''' is a video/audio codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it hashes the file with a set of common hashalgorithms and calculates the used bit rates, the length, identifies the number of used audio channels and more.<br>
It, like its predecessor, is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but significantly enhanced and changed to fit AniDB's needs by [[User:Arokh|Arokh]].<br>
It, like its predecessor, is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but significantly enhanced and changed to fit AniDB's needs by [[User:Arokh|Arokh]].<br>


Line 24: Line 24:
===Usage===
===Usage===
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt>
:<tt>AVDump2CL.exe [--<Arg> -<OneLetterArg> ...] <media file/folder> [<media file/folder> ...]</tt>
 
While pre 4991 build arguments can still be used, it is recommended to use the new format shown below.
The easiest way to convert them to the new format is to run the program with the old args which then displays a notice and the corresponding args in the new format.


====Options====
====Options====
Line 34: Line 37:
! style="border: 1px solid #aaaaaa; background: #f2f2f2;" | Example
! style="border: 1px solid #aaaaaa; background: #f2f2f2;" | Example
|-
|-
|'''Auth'''=<username>:<udp_api_key>||Auto-creqing||Enable automatic creqing. You should always use this option when dumping anime files! Also enables error reporting.||||--Auth:tard:monkey
|'''Auth'''=<username>:<udp_api_key>||Auto-Creqing||Enable automatic creqing. You should always use this option when dumping anime files! Also enables error reporting.||||--Auth:tard:monkey
|-
|'''NoErr'''||Auto-creqing||Disable error reporting. You should not disable this as it helps finding and fixing bugs.||||--NoErr
|-
|'''Host'''=<hostname>:<port>||Auto-creqing||Hostname of AniDB UDP API server||--Host=api.anidb.info:9002||
|-
|'''LPort'''=<port>||Auto-creqing||Local UDP port used for autocreqing. Only needed when behind "strict" firewalls.||||--LPort=12345
|-
|'''TOut'''=<timeoutInSeconds>:<numOfRetries>||Auto-creqing||Timeout for sending dumps||--TOut:10:3||--TOut=25:6
|-
| &nbsp;
|-
|-
|'''BSize'''=<KB_per_block>:<number_of_blocks>||Input||Buffer size for hashing.||||--BSize=512:16
|'''Host'''=<hostname>:<port>||Auto-Creqing||Hostname of AniDB UDP API server||--Host=api.anidb.info:9002||
|-
|-
|'''Ext'''=<comma separated list>||Input||Comma separated extension list.||Process all supported extensions||--Ext=avi,mkv or --Ext=-zip,-sub or --Ext=*
|'''LPort'''=<port>||Auto-Creqing||Local UDP port used for autocreqing. Only needed when behind "strict" firewalls.||||--LPort=12345
|-
|-
|'''Mon'''=<seconds>||Input||Monitor sleep duration in seconds.||--Mon=60||--Mon=120
|'''TOut'''=<timeoutInSeconds>:<numOfRetries>||Auto-Creqing||Timeout for sending dumps||--TOut:10:3||--TOut=25:6
|-
|-
| &nbsp;
| &nbsp;
Line 60: Line 53:
|'''ExtDiff'''=<file path/name>||Logging||Write mismatched extensions and file paths to file.||||--ExtDiff=extdiff.txt
|'''ExtDiff'''=<file path/name>||Logging||Write mismatched extensions and file paths to file.||||--ExtDiff=extdiff.txt
|-
|-
|'''Exp'''=<file path/name>||Logging||Export ed2k-links to the specified file. Very useful when mass adding files.||||--Exp=ed2k.txt
|'''FixExt'''=<file path/name>||Logging||Changes the fileextension to the dectected extension and logs the action.||||--FixExt=fixext.txt
|-
|-
|'''Done'''=<file path/name>||Logging||Skip paths present in log and append paths to newly processed files.||||--Done=done.txt
|'''Done'''=<file path/name>||Logging||Skip paths present in log and append paths to newly processed files.||||--Done=done.txt
Line 79: Line 72:
|-
|-
|'''c'''||Output||AVD2 creq dump||||-c
|'''c'''||Output||AVD2 creq dump||||-c
|-
|'''h'''||Output||Hash Dump||||-h
|-
|-
| &nbsp;
| &nbsp;
|-
|'''BSize'''=<KB_per_block>:<number_of_blocks>||Control||Buffer size for hashing.||||--BSize=512:16
|-
|'''Ext'''=<comma separated list>||Control||Comma separated extension list.||Process all supported extensions||--Ext=avi,mkv or --Ext=-zip,-sub or --Ext=*
|-
|'''Mon'''=<seconds>||Control||Monitor sleep duration in seconds.||--Mon=60||--Mon=120
|-
|'''NoErr'''||Control||Disable error reporting. You should not disable this as it helps finding and fixing bugs.||||--NoErr
|-
|-
|'''R'''||Control||Do '''not''' recurse into subfolders.||||-R
|'''R'''||Control||Do '''not''' recurse into subfolders.||||-R
Line 114: Line 117:
|'''a'''||Hashing||All (available) hash algorithms.||||-a
|'''a'''||Hashing||All (available) hash algorithms.||||-a
|-
|-
| &nbsp;
|-
|'''Exp'''=<file path/name>||AniDB||Export ed2k-links to the specified file. Very useful when mass adding files.||||--Exp=ed2k.txt
|-
|'''PrintEd2kLink'''||AniDB|| ||||--PrintEd2kLink
|-
|'''PrintAniDBLink'''||AniDB|| ||||--PrintAniDBLink
|-
|'''OpenAniDBLink'''||AniDB|| ||||--OpenAniDBLink
|-
|}
|}


227

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.