Avdump/Autocreqing: Difference between revisions

From AniDB
Jump to navigation Jump to search
(→‎Linux/FreeBSD: here as well)
(19 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}


If you should need further assistance setting avdump up visit us on irc://irc.zirc.org/anidb
[[Auto-creqing]] is the preferred way to creq files. Not all metadata for files can be creqed this way, though. See [[How to get started with creqing#Files]] for more information.


{{eyecatch|Note:|If you use a firewall you will have to open a port for avdump first. You can force avdump to use a fixed port with the option <b>-port</b>}}
This article explains how to set up Avdump for [[auto-creqing]]. If you need further assistance, please visit us at {{irclink|anidb}}.


{{eyecatch|Note:|It is possible to run more than one instance of avdump at once, but not more than three will work ok. At the moment ''only 10 sessions per ip are allowed by the server'', meaning the eleventh instance will terminate the first. Also, if you suffer under [http://en.wikipedia.org/wiki/Network_address_translation NAT], running more than one instance will make it worse.}}
{{eyecatch|Note|You have to set a '''API key''' in your '''[[profile]]''' before auto-creqing with Avdump.}}
 
{{eyecatch|Note|If you use a firewall you will have to open a port for Avdump first. You can force Avdump to use a fixed port with the option '''<tt>-port</tt>'''}}
 
{{eyecatch|Note|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. Also, if you suffer under [[Wikipedia:Network address translation|NAT]], running more than one instance will make it worse.}}


==Windows==
==Windows==
===CLI===
===CLI===
#Download [http://static.anidb.info/client/avdump.rar Avdump].
#Download [[Avdump2#Download|Avdump2]].
#Decompress avdump in some folder wherever you want.
#Decompress Avdump2 in some folder wherever you want.
#Open a command window (cmd.exe).
#Open a command window (<tt>cmd.exe</tt>).
#Change directory to where avdump is located.
#Change directory to where Avdump2 is located.
#Execute <tt>avdump.exe -ac:{your username}:{your api password} {full path to a file or a folder}</tt>
#Execute <tt>avdump2.exe --Auth={your username}:{your api key} {full path to a file or a folder}</tt>


===GUI===
===GUI===
Line 19: Line 23:


===Send to===
===Send to===
#Download [http://static.anidb.info/client/avdump.rar Avdump].
#Download [[Avdump2#Download|Avdump2]] and decompress it in some folder wherever you want.
#Decompress avdump in some folder wherever you want.
#:Example: "C:\Program Files\avdump2\"
#Set an Api Password in your [[profile]].
#Right-click avdump2.exe, select ''Create Shortcut'
#:<i>The password can differ from your anidb pass. You can basically set whatever you want here</i>.
#Right-click the shortcut, add <tt>-o --Auth={your username}:{your api key}</tt> to the ''Shortcut - Target'' line
#Right-click avdump.exe, select ''Create Shortcut'
#:Example: <tt>"C:\program files\avdump2\avdump2.exe" -o -Auth=myname:ilovecookies</tt>
#Right-click the shortcut, add <tt>-ac:{your username}:{your apipassword}</tt> to the ''Shortcut - Target'' line
#Move shortcut to the SentTo folder.
#:Example: <tt>"C:\program files\Codecs\avdump\avdump.exe" -ac:deridiot:ilovecookies</tt>
#:Example under all modern systems: "C:\Users\{Username}\AppData\Roaming\Microsoft\Windows\SendTo"
#Move shortcut to C:\Documents and Settings\{Username}\SendTo
#:''{Username} is your Windows username''
#:''{Username} is your Windows username''
#Right-click any media-file/folder, go to ''Send To'', choose ''avdump'' (or whatever you called the shortcut)
#Right-click any media-file/folder, go to ''Send To'', choose ''avdump2''


==Linux/FreeBSD==
==Linux/FreeBSD==
it runs via wine
it runs via wine
<b><add more stuff></b>
'''<add more stuff>'''
 
Example:
 
wine ~/.wine/drive_c/windows/system32/avdump2.exe -port''54321'' --Auth=''your_AniDB_username'':''your_API_key'' ''"c:\anime_file_name.mkv"''
 
For this to work:
* avdump2.exe should be extracted to the path ''~/.wine/drive_c/windows/system32/''
* replace ''54321'' with the UDP port you opened in your firewall
* replace ''your_AniDB_username'' with the user name you login to AniDB with
* replace ''your_API_key'' with the code you set in your profile
* replace ''c:\anime_file_name.mkv'' with the full '''Windows''' path and file name of the anime file
* '''The anime file must be on one of the DOS devices you have configured in Wine!'''


==Processing DVD's==
==Processing DVD's==
For processing DVD's it's best to set a small blocksize. Helps to improve performance.
For processing DVD's it's best to set a small blocksize. It will improve the performance.
 
:Use <tt>-bsize:256:1</tt> ''(The default is 2048)''
something like
<pre>
-bsize:256
</pre>
<i>(default is 2048)</i>


[[Category:Avdump]]
[[Category:Avdump]][[Category:Creqing]]

Revision as of 11:02, 1 May 2020

Auto-creqing is the preferred way to creq files. Not all metadata for files can be creqed this way, though. See How to get started with creqing#Files for more information.

This article explains how to set up Avdump for auto-creqing. If you need further assistance, please visit us at irc://irc.synirc.net/anidb.

Note You have to set a API key in your profile before auto-creqing with Avdump.
Note If you use a firewall you will have to open a port for Avdump first. You can force Avdump to use a fixed port with the option -port
Note 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. Also, if you suffer under NAT, running more than one instance will make it worse.

Windows

CLI

  1. Download Avdump2.
  2. Decompress Avdump2 in some folder wherever you want.
  3. Open a command window (cmd.exe).
  4. Change directory to where Avdump2 is located.
  5. Execute avdump2.exe --Auth={your username}:{your api key} {full path to a file or a folder}

GUI

Avdump3

Send to

  1. Download Avdump2 and decompress it in some folder wherever you want.
    Example: "C:\Program Files\avdump2\"
  2. Right-click avdump2.exe, select Create Shortcut'
  3. Right-click the shortcut, add -o --Auth={your username}:{your api key} to the Shortcut - Target line
    Example: "C:\program files\avdump2\avdump2.exe" -o -Auth=myname:ilovecookies
  4. Move shortcut to the SentTo folder.
    Example under all modern systems: "C:\Users\{Username}\AppData\Roaming\Microsoft\Windows\SendTo"
    {Username} is your Windows username
  5. Right-click any media-file/folder, go to Send To, choose avdump2

Linux/FreeBSD

it runs via wine <add more stuff>

Example:

wine ~/.wine/drive_c/windows/system32/avdump2.exe -port54321 --Auth=your_AniDB_username:your_API_key "c:\anime_file_name.mkv"

For this to work:

  • avdump2.exe should be extracted to the path ~/.wine/drive_c/windows/system32/
  • replace 54321 with the UDP port you opened in your firewall
  • replace your_AniDB_username with the user name you login to AniDB with
  • replace your_API_key with the code you set in your profile
  • replace c:\anime_file_name.mkv with the full Windows path and file name of the anime file
  • The anime file must be on one of the DOS devices you have configured in Wine!

Processing DVD's

For processing DVD's it's best to set a small blocksize. It will improve the performance.

Use -bsize:256:1 (The default is 2048)