Avdump/Autocreqing: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
(→‎Linux/FreeBSD: here as well)
(21 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.}}


===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 [[Avdump2#Download|Avdump2]].
#Decompress Avdump2 in some folder wherever you want.
#Open a command window (<tt>cmd.exe</tt>).
#Change directory to where Avdump2 is located.
#Execute <tt>avdump2.exe --Auth={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 [[Avdump2#Download|Avdump2]] and decompress it in some folder wherever you want.
2. Decompress avdump in some folder whereever you want<br />
#:Example: "C:\Program Files\avdump2\"
3. Set an Api Password in your [[profile]]<br />
#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
4. Right-click avdump.exe, select "Create Shortcut"<br />
#:Example: <tt>"C:\program files\avdump2\avdump2.exe" -o -Auth=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 all modern systems: "C:\Users\{Username}\AppData\Roaming\Microsoft\Windows\SendTo"
:Example: <tt>"C:\program files\Codecs\avdump\avdump.exe" -ac:deridiot:ilovecookies</tt><br />
#:''{Username} is your Windows username''
6. Move shortcut to C:\Documents and Settings\[Username]\SendTo<br />
#Right-click any media-file/folder, go to ''Send To'', choose ''avdump2''
:<i>([Username] is your WinXP LogIn-Name)</i><br />
 
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/avdump2.exe -port''54321'' --Auth=''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.
* 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!'''


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 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)