Avdump: Difference between revisions

3 bytes added ,  21 April 2009
m
no edit summary
(Added batch file option)
mNo edit summary
Line 3: Line 3:
==What is it==
==What is it==
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bitrates, the length, identifies the number of used audiochannel and more.<br>
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bitrates, the length, identifies the number of used audiochannel and more.<br>
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit anidb's needs by [[User:Epoximator|epoximator]].<br>
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit AniDB's needs by [[User:Epoximator|epoximator]].<br>
'''Avdump''' was created with the intention to provide anidb with a tool to standarize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support autocreqing by itself. See [[Avdump/Autocreqing]].
'''Avdump''' was created with the intention to provide anidb with a tool to standarize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support auto-creqing by itself. See [[Avdump/Autocreqing]].


===Supported formats===
===Supported formats===
Line 103: Line 103:
|a||Hash||Include '''a'''ll hash algorithms.
|a||Hash||Include '''a'''ll hash algorithms.
|-
|-
|h||Hash||'''H'''ash only mode, ie. no metadata parsing.
|h||Hash||'''H'''ash only mode, i.e. no metadata parsing.
|-
|-
|e||Hash||Print '''e'''d2k link
|e||Hash||Print '''e'''d2k link
Line 123: Line 123:
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.
#::A commandline option to export ED2K links to a file is by adding -exp:''C:\Path\filename.txt'', etc.
#::A commandline option to export ED2K links to a file is by adding -exp:''C:\Path\filename.txt'', etc.
#::Note that you need to set an API password in your anidb profile for autocreqing.
#::Note that you need to set an API password in your AniDB profile for auto-creqing.
#:Optional: Change ''Run'' to ''Maximized''.
#:Optional: Change ''Run'' to ''Maximized''.
#Drag and drop any media-file onto the shortcut.
#Drag and drop any media-file onto the shortcut.
Line 132: Line 132:
#::Where ''Username'' is your Windows Login-Name.
#::Where ''Username'' is your Windows Login-Name.
#:Note that ''SendTo'' is a hidden folder.
#:Note that ''SendTo'' is a hidden folder.
#Right-click any media-file, goto "Send To", choose avdump.exe
#Right-click any media-file, go to "Send To", choose avdump.exe
#Get [[Creq|CReqing]]
#Get [[Creq|CReqing]]


Line 158: Line 158:


Avdump is now part of a new [[autocreqing]] system. Some more or less important notes:
Avdump is now part of a new [[autocreqing]] system. Some more or less important notes:
* To be able to use this feature you’ll need an AniDB account and you have to define the ''api key'' in your [[profile]]. All data sent to the server will be logged with ip and uid.
* To be able to use this feature you’ll need an AniDB account and you have to define the ''api key'' in your [[profile]]. All data sent to the server will be logged with IP and uid.
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make avdump wait for confirmation from the server by using the -o switch.''
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make avdump wait for confirmation from the server by using the -o switch.''
* It is possible to run more than one instance of avdump at once, but not more than ten will work ok. At the moment ''only 10 sessions per ip are allowed by the server'', meaning the eleventh instance will terminate the first.
* It is possible to run more than one instance of avdump at once, but not more than ten will work OK. At the moment ''only 10 sessions per ip are allowed by the server'', meaning the eleventh instance will terminate the first.
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.
Line 167: Line 167:
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:
** The asf parser does not detect fps.
** The asf parser does not detect fps.
** Audio files are too few and not considered important atm.
** Audio files are too few and not considered important ATM.
** Nothing useful can be extracted from archives and subtitles (that I can think of).
** Nothing useful can be extracted from archives and subtitles (that I can think of).


Line 182: Line 182:
* The provided data is considered "incoherent". (Indicates a bug in avdump.)
* The provided data is considered "incoherent". (Indicates a bug in avdump.)
* The dump was marked unfit for file verification by an AniDB Moderator.
* The dump was marked unfit for file verification by an AniDB Moderator.
* The file type is not included in autocreqing yet (mov/mpg/rm atm).
* The file type is not included in autocreqing yet (mov/mpg/rm ATM).


===What's the current status?===
===What's the current status?===
Line 202: Line 202:
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (xml generation)
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (XML generation)
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)


Line 252: Line 252:
*Added delete (-z) option.
*Added delete (-z) option.
*Added timestamp to -t switch.
*Added timestamp to -t switch.
*Added option to not recurse into subfolders (-c).
*Added option to not recurs into subfolders (-c).
*Fixed crash on 222427, 29542, 14303.
*Fixed crash on 222427, 29542, 14303.
*Fixed 'stream not found' for some avi files.
*Fixed 'stream not found' for some avi files.
Line 281: Line 281:
*Fixed missing zeros at beginning in crc32 checksums.
*Fixed missing zeros at beginning in crc32 checksums.
0.26 : 060912 - importance: low
0.26 : 060912 - importance: low
*Changes in the xml mode; formatted time and exact channels value.
*Changes in the XML mode; formatted time and exact channels value.
*Added option to skip parsing altogether (hash only mode).
*Added option to skip parsing altogether (hash only mode).
*Added switch '-ext:{comma separated file extension list}'.
*Added switch '-ext:{comma separated file extension list}'.
Line 309: Line 309:
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.
0.20 : 060717
0.20 : 060717
*Added return code in xml mode and more warnings in the other modes.
*Added return code in XML mode and more warnings in the other modes.
*Fixed mp4 parser; audio track sizes.
*Fixed mp4 parser; audio track sizes.
*Fixed mkv crash on corrupt files (fid: 216911).
*Fixed mkv crash on corrupt files (fid: 216911).
Line 326: Line 326:
0.17 : 060602
0.17 : 060602
*Added extension check.
*Added extension check.
*Changes xml output.
*Changes XML output.
*Fixed memory leak when parsing mp4.
*Fixed memory leak when parsing mp4.
0.16 : 060529
0.16 : 060529
*Fixed some RIFF bugs.
*Fixed some RIFF bugs.
*Fixed randomizor bug.
*Fixed randomizor bug.
*Updated anidb codec identifiers.
*Updated AniDB codec identifiers.
*Added jni.
*Added jni.
*Changes in xml and short mode.
*Changes in XML and short mode.
0.15 : 060518
0.15 : 060518
*Updated libebml, libogg, libvorbis.
*Updated libebml, libogg, libvorbis.
Line 344: Line 344:
*Packed exe and dll (UPX 2.00w).
*Packed exe and dll (UPX 2.00w).
0.14 : 060514
0.14 : 060514
*Added anidb AR, flags and chan str to normal output.
*Added AniDB AR, flags and chan str to normal output.
*Added new output mode: short (-s).
*Added new output mode: short (-s).
*Added switch -t: show proc time (per file).
*Added switch -t: show proc time (per file).
Line 354: Line 354:
0.13 : 060511
0.13 : 060511
*Fixed wrong track durations for some mkv files.
*Fixed wrong track durations for some mkv files.
*Added anidb channel id (only in xml).
*Added AniDB channel id (only in XML).
0.12 : 060510
0.12 : 060510
*Improved VFR check.
*Improved VFR check.
*Added anidb video flags (only in xml).
*Added AniDB video flags (only in XML).
0.11 : 060509
0.11 : 060509
*Added anidb codec id for ogm (and fixed a minor issue for some mkv files).
*Added AniDB codec id for ogm (and fixed a minor issue for some mkv files).
*Added simple VFR check for mkv files.
*Added simple VFR check for mkv files.
0.10 : 060501
0.10 : 060501
*Added MP3 VBR check on avi and mkv files (variable frame size check).
*Added MP3 VBR check on avi and mkv files (variable frame size check).
*Added xml output (-x).
*Added XML output (-x).
*Added anidb codec id, and some checking on fourcc vs user data.
*Added AniDB codec id, and some checking on fourcc vs user data.
*Added anidb lang and ar id (only printed in xml mode).
*Added AniDB lang and ar id (only printed in xml mode).
*Fixed some issues with mp4, rm and mpg files.
*Fixed some issues with mp4, rm and mpg files.
0.09 : 060401
0.09 : 060401
1,633

edits

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