Difference between revisions of "Avdump/Autocreqing"

From AniDB
Jump to navigation Jump to search
m
m (Vista ++ Seven)
(19 intermediate revisions by 9 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.}}
  
===Windows===
+
{{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==
 +
===CLI===
 +
#Download [http://static.anidb.net/client/avdump.rar Avdump].
 +
#Decompress Avdump in some folder wherever you want.
 +
#Open a command window (<tt>cmd.exe</tt>).
 +
#Change directory to where Avdump is located.
 +
#Execute <tt>avdump.exe -ac:{your username}:{your api key} {full path to a file or a folder}</tt>
 +
 
 +
===GUI===
 
{{Avdump-gui}}
 
{{Avdump-gui}}
  
====Cli/Send to====
+
===Send to===
1. Download [http://folk.ntnu.no/jovetlea/avdump.rar Avdump]<br />
+
#Download [http://static.anidb.net/client/avdump.rar Avdump] and decompress it in some folder wherever you want.
2. Decompress avdump in some folder whereever you want<br />
+
#:Example: "C:\Program Files\avdump\"
3. Set an Api Password in your [[profile]]<br />
+
#Right-click avdump.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 -ac:{your username}:{your api key}</tt> to the ''Shortcut - Target'' line
4. Right-click avdump.exe, select "Create Shortcut"<br />
+
#:Example: <tt>"C:\program files\avdump\avdump.exe" -o -ac:myname:ilovecookies</tt>
5. Right-click the shortcut, add " -ac:<your username>:<your apipassword>" to the "Shortcut - Target" line<br />
+
#Move shortcut to the SentTo folder.
:<i>(without the <> of course)</i><br />
+
#:Example, under XP: "C:\Documents and Settings\{Username}\SendTo"
:Example: <tt>"C:\program files\Codecs\avdump\avdump.exe" -ac:deridiot:ilovecookies</tt><br />
+
#:Example, under Vista/Seven: "C:\Users\{Username}\AppData\Roaming\Microsoft\Windows\SendTo"
6. Move shortcut to C:\Documents and Settings\[Username]\SendTo<br />
+
#:''{Username} is your Windows username''
:<i>([Username] is your WinXP LogIn-Name)</i><br />
+
#Right-click any media-file/folder, go to ''Send To'', choose ''avdump''
7. Right-click any media-file/folder, goto "Send To", choose avdump (or whatever you called the shortcut)<br />
+
 
 +
==Linux/FreeBSD==
 +
it runs via wine
 +
'''<add more stuff>'''
  
for further info read: [[Avdump#Autocreqing|here]]
+
Example:
  
===Linux/FreeBSD===
+
wine ~/.wine/drive_c/windows/system32/avdump.exe -port''54321'' -ac:''your_AniDB_username'':''your_API_key'' ''"c:\anime_file_name.mkv"''
it runs via wine
 
<b><add more stuff></b>
 
  
===Processing DVD's===
+
For this to work:
For processing DVD's it's best to set a small blocksize. Helps to improve performance.
+
* avdump.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!'''
  
something like
+
==Processing DVD's==
<pre>
+
For processing DVD's it's best to set a small blocksize. It will improve the performance.
-bsize:256
+
:Use <tt>-bsize:256:1</tt> ''(The default is 2048)''
</pre>
 
<i>(default is 2048)</i>
 
  
[[Category:Avdump]]
+
[[Category:Avdump]][[Category:Creqing]]

Revision as of 13:08, 11 September 2011

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 Avdump.
  2. Decompress Avdump in some folder wherever you want.
  3. Open a command window (cmd.exe).
  4. Change directory to where Avdump is located.
  5. Execute avdump.exe -ac:{your username}:{your api key} {full path to a file or a folder}

GUI

A simple GUI for Avdump2 is available for CLI skeptics. The GUI package includes the most recent version of Avdump2 as well.

Screenshot of the AVDump2 GUI

Usage

  1. Download the GUI here (portable).
  2. Set your AniDB user name and API password in the options menu.
    1. API password is set on your user settings page: http://anidb.net/perl-bin/animedb.pl?show=profile
    2. Under the "Account" tab, create a UDP API key; it can be anything you want. It is used for Avdump2 to connect to AniDB.
  3. Save the options.
  4. Select what you want to scan from the main menu; files or folders.
  5. Select the stuff you want to scan (... Button) (you can select multiple files at once).
  6. Click Start.

For further Assistance join IRC:anidb and bug Der Idiot.

Send to

  1. Download Avdump and decompress it in some folder wherever you want.
    Example: "C:\Program Files\avdump\"
  2. Right-click avdump.exe, select Create Shortcut'
  3. Right-click the shortcut, add -o -ac:{your username}:{your api key} to the Shortcut - Target line
    Example: "C:\program files\avdump\avdump.exe" -o -ac:myname:ilovecookies
  4. Move shortcut to the SentTo folder.
    Example, under XP: "C:\Documents and Settings\{Username}\SendTo"
    Example, under Vista/Seven: "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 avdump

Linux/FreeBSD

it runs via wine <add more stuff>

Example:

wine ~/.wine/drive_c/windows/system32/avdump.exe -port54321 -ac:your_AniDB_username:your_API_key "c:\anime_file_name.mkv"

For this to work:

  • avdump.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)