Avdump: Difference between revisions

1,590 bytes added ,  25 July 2007
No edit summary
Line 24: Line 24:


==Usage==
==Usage==
<b>Avdump</b> is a simple commandline client and as that is to be used in the dosbox:
'''Avdump''' is a simple command line client and as that is to be used in the dosbox:
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt>


<tt>avdump [-ext:<extensions>] [-log:<log file>] <media file/folder> [<media file/folder> ...]</tt>
===Options===
<pre>Options: (one letter switches can be put in one string)
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"
Input: (all requires :)
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch
  ext      comma separated extension list
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Operation
  log      write output to file
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example
  exp     export ed2k-links to file
|-
  ac      autocreq: '-ac:<username>:<apipass>'
|ext:<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt>
  port     udp port used by ac
|-
  done     save processed-file-paths to file and exlude existing from proc
|log:<file path/name>||Write output to to specified log file.||<tt>log:avdump.log</tt>
  bsize   buffer size for hashing in KB (2048 is default)
|-
  tout    timeout: '-tout:<seconds>:<number of retries>'
|exp:<file path/name>||Export ed2k-links to specified file.||<tt>exp:ed2k-links.txt</tt>
Output: (exclusive)
|-
  s        Short (creq friendly)
|ac:<username>:<api password>||Enable autocreq.||<tt>-ac:tard:monkey</tt>
  l        List (codecs)
|-
  x        XML Old format
|port:<port number>||Use specified udp port when autocreqing.||<tt>port:1337</tt>
  y        XML Creq format
|-
Control:
|done:<file path/name>||Save processed-file-paths to specified file and exlude existing.||<tt>done:done.txt</tt>
  c        do _not_ reCurse into subfolders
|-
  i        skIp full parsing (only for testing)
|bsize:<size in KB>||Set buffer size for hashing in KB (2048 is default)||<tt>bsize:512</tt>
  m        Monitor folder(s)
|-
  n        add extra Newline after each file
|tout:<timeout in sec>:<number of retries>||Set timeout options.||<tt>tout:15:6</tt>
  p        Pause when done (hold cmd window)
|}
  q        pause after each file
  r        Random file order
  t        print Time used for each file
  z        delete files after parsing
  o        wait for respOnse when sending dumps and retry on timeout
Hash:
  0        crc32
  1        ed2k
  2        md5
  3        sha1
  5        tth
  6       aich
  9        mp3 w/o metadata (test)
  a        All hash algorithms
  h        Hash mode (no a/v parsing)
  e        print Ed2k link
  d        print aniDb link
  g        print and Goto anidb link
  u        print time Used</pre>


===Alternative way of usage===
 
*Extract to a folder of choice
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"
*Right-click avdump.exe, select "Create Shortcut"
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch
*Right-click the shortcut, add " -p" to the "Shortcut - Target" line
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description
|-
|s||Formatting||Use '''s'''hort/simple format.
|-
|l||Formatting||'''L'''ist codecs.
|-
|x||Formatting||Old '''X'''ML format (intended for AOM).
|-
|y||Formatting||New XML format (used when autocreqing).
|-
|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).
|-
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.
|-
|n||Control||Add an extra '''n'''ewline after each file file has been processed.
|-
|p||Control||'''P'''ause when done, keep commando window open.
|-
|q||Control||Pause after each file.
|-
|r||Control||Randomize the file order.
|-
|t||Control||Print '''t'''ime used per file.
|-
|z||Control||Delete files after parsing.
|-
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.
|-
|0||Hash||crc32
|-
|1||Hash||ed2k
|-
|2||Hash||md5
|-
|3||Hash||sha1
|-
|5||Hash||tth
|-
|6||Hash||aich
|-
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.
|-
|a||Hash||Include '''a'''ll hash algorithms.
|-
|h||Hash||'''H'''ash only mode, ie. no metadata parsing.
|-
|e||Hash||Print '''e'''d2k link
|-
|d||Hash||Print Ani'''D'''B link
|-
|g||Hash||Print AniDB link and open it with the default browser.
|-
|u||Hash||Print the time '''u'''sed for hashing per file.
|}
 
===Send to===
#Extract to a folder of choice.
#Right-click avdump.exe, select ''Create Shortcut''.
#Right-click the shortcut, add <tt>-p</tt> to the ''Shortcut - Target'' line.
::Example: <tt>"C:\program files\Codecs\avdump\avdump.exe" -p</tt>
::Example: <tt>"C:\program files\Codecs\avdump\avdump.exe" -p</tt>
::Optional: Change "Run" to "Maximized"
:::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.
:: you can also set other options like <i>s</i>, ''x'' or ''t'' if you wish to do so.
::Optional: Change ''Run'' to ''Maximized''.
*Move shortcut to C:\Documents and Settings\[Username]\SendTo
#Move shortcut to C:\Documents and Settings\[Username]\SendTo
::[Username] is your WinXP LogIn-Name
::Where ''Username'' is your WinXP LogIn-Name.
::''SendTo'' is a hidden folder
::Note that ''SendTo'' is a hidden folder.
*Right-click any media-file, goto "Send To", choose avdump (or whatever you called the shortcut)
#Right-click any media-file, goto "Send To", choose avdump (or whatever you called the shortcut)
*Be happy :D
#Be happy :D
*Get [[Creq|CReqing]]
#Get [[Creq|CReqing]]
::<i>(thanks to taxit for this tip)</i>


<i>(thanks to taxit for this tip)</i>
===Graphical user interface===
{{Avdump-gui}}


===Processing DVD's===
===Processing DVD's===
Line 92: Line 137:
</pre>
</pre>
<i>(default is 2048)</i>
<i>(default is 2048)</i>
{{Avdump-gui}}


== Autocreqing ==
== Autocreqing ==
546

edits

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