Avdump: Difference between revisions

13 bytes added ,  21 April 2009
m
no edit summary
mNo edit summary
mNo edit summary
Line 2: Line 2:


==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 audio channels 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 auto-creqing by itself. See [[Avdump/Autocreqing]].
'''Avdump''' was created with the intention to provide anidb with a tool to standardize 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]].


===Supported formats===
===Supported formats===
Line 65: Line 65:
|x||Formatting||Old '''X'''ML format (intended for AOM).
|x||Formatting||Old '''X'''ML format (intended for AOM).
|-
|-
|y||Formatting||New XML format (used when autocreqing).
|y||Formatting||New XML format (used when auto-creqing).
|-
|-
|c||Control||Do not re'''c'''urse into subfolders, only handle files in current folder.
|c||Control||Do not re'''c'''urse into subfolders, only handle files in current folder.
|-
|-
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with autocreqing).
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with auto-creqing).
|-
|-
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.
Line 152: Line 152:


== Autocreqing ==
== Autocreqing ==
[[Image:Autocreq.gif|thumb|Simple diagram of the way autocreqing with avdump works]]
[[Image:Autocreq.gif|thumb|Simple diagram of the way auto-creqing with avdump works]]


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:
Line 160: Line 160:
* 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.
* You may dump files currently not in the db. The data is still stored and will be used later if/after the file has been registered.
* You may dump files currently not in the database. The data is still stored and will be used later if/after the file has been registered.
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.
* 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:
Line 175: Line 175:


===Why isn't this file verified?===
===Why isn't this file verified?===
Even if the file is dumped it doesn't mean it will get autocreqed (and verified). Here are the reasons:
Even if the file is dumped it doesn't mean it will get auto-creqed (and verified). Here are the reasons:
* The file is corrupt/invalid ([http://anidb.info/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).
* The file is corrupt/invalid ([http://anidb.info/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).
* 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 auto-creqing yet (mov/mpg/rm ATM).


===What's the current status?===
===What's the current status?===
Line 274: Line 274:
*Improved/fixed ogm and avi track size calculation.
*Improved/fixed ogm and avi track size calculation.
:*Error was less than ~30 KB for a normal file.
:*Error was less than ~30 KB for a normal file.
*Fixed samplerate=0 when audio not vorbis and added PCM recognition in ogm parser.
*Fixed samplerate=0 when audio not Vorbis and added PCM recognition in ogm parser.
*Fixed wrong AR printed when > 1.70.
*Fixed wrong AR printed when > 1.70.
*Fixed missing zeros at beginning in crc32 checksums.
*Fixed missing zeros at beginning in crc32 checksums.
Line 327: Line 327:
0.16 : 060529
0.16 : 060529
*Fixed some RIFF bugs.
*Fixed some RIFF bugs.
*Fixed randomizor bug.
*Fixed randomiser bug.
*Updated AniDB codec identifiers.
*Updated AniDB codec identifiers.
*Added jni.
*Added jni.
Line 368: Line 368:
*Changes in the output format.
*Changes in the output format.
0.08 : 060330
0.08 : 060330
*Exe is now unicode.
*Exe is now Unicode.
*Fixed wrong output for avi files with multiple audio tracks.
*Fixed wrong output for avi files with multiple audio tracks.
*Added better track size calc for avi files. (first try)
*Added better track size calc for avi files. (first try)
1,633

edits

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