XAUC: Difference between revisions

From AniDB
Jump to navigation Jump to search
(XAUC)
 
mNo edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}


XAUC - X AniDB UDP Client is a Java application that hashes files and adds them to your mylist at AniDB (currently not yet implemented), with the support of ffmpeg. As the name implies it's based on the [[UDP API Definition|UDP API]] and is therefore limited.
==About==
XAUC - X AniDB UDP Client is a Java application that hashes files and adds them to your MyList at AniDB (currently not yet implemented), with the support of ffmpeg. As the name implies it's based on the [[UDP API Definition|UDP API]] and is therefore limited.


All questions, feature requests and bug reports can be post in the [[http://anidb.net/perl-bin/animedb.pl?show=threads&id=17 AniDB Forum > Other Clients]] forum.
All questions, feature requests and bug reports can be post in the [[http://anidb.net/perl-bin/animedb.pl?show=threads&id=17 AniDB Forum > Other Clients]] forum.
Line 10: Line 11:
: http://www.java.com
: http://www.java.com


'''Start XAUC as an application'''
==Start XAUC as an application==
: To start either the console or gui version just type in <tt>java -jar xauc-cli.jar</tt> or <tt>java -jar xuac-gui.jar</tt>.
: To start either the console or GUI version just type <tt>java -jar xauc-cli.jar</tt> or <tt>java -jar xuac-gui.jar</tt>.


''''FFmpeg''''
===Libraries===
: Make sure you have ffmpeg in your library path before using the GUI version, for the CLI version you can disable AV parsing so you don't need to be sure you have the libs.
: Make sure you have all the required libraries in your library path before using the GUI version, for the CLI version you can disable AV parsing so you don't need to be sure you have the libs.
: For Windows just copy *.dll files in the windows/system32 directory.
: For Windows just copy *.dll files to your windows/system32 directory.


''''CLI version''''
===CLI version===
<tt>java -jar xauc-cli.jar [OPTIONS] filename</tt>
<tt>java -jar xauc-cli.jar [OPTIONS] filename</tt>


<code>XAUC - X AniDB UDP Client (v0.2)
<pre>XAUC - X AniDB UDP Client (v0.3.1/v0.6.5)


Usage: [OPTIONS] file|dir
Usage: [OPTIONS] file|dir
Options:
Options:
        --help displays this help
--help displays this help
        --r Recurse directory (if a directory is supplied)
--d See debug messages
        --d See debug messages
--h:(on|off) Enable/disable file hashing (default: on)
        --h:(on|off) Enable/disable file hashing (default: on)
--h:save:(on|off) Enable/disable saving of hashing options (default: off)
        --h:ed2k:(on|off) Hash file with the ed2k algorithm (default: on)
--h:ed2k:(on|off) Hash file with the ed2k algorithm (default: on)
        --h:crc32:(on|off) Hash file with the crc32 algorithm (default: off)
--h:crc32:(on|off) Hash file with the crc32 algorithm (default: off)
        --h:md5:(on|off) Hash file with the md5 algorithm (default: off)
--h:md5:(on|off) Hash file with the md5 algorithm (default: off)
        --h:sha1:(on|off) Hash file with the sha1 algorithm (default: off)
--h:sha1:(on|off) Hash file with the sha1 algorithm (default: off)
        --h:tth:(on|off) Hash file with the sha1 algorithm (default: off)
--h:tth:(on|off) Hash file with the sha1 algorithm (default: off)
        --a:(on|off) Enable/disable file av parsing (default: on)
--a:(on|off) Enable/disable file av parsing (default: off)
        --a:fp:(on|off) Enable/disable full file av parsing (slower if enabled but more information is supplied, default: off)
--a:save:(on|off) Enable/disable saving of av parsing options (default: off)
        --f:xml:(on|off) Enable/disable writing of parsed files xml to disk (see below for directory, default: on)
--a:fp:(on|off) Enable/disable full file av parsing (slower if enabled but more information is supplied, default: off)
        --f:console:(on|off) Enable/disable writing of parsed files data to console (default: off)
--a:vbrmode:(size|bitrate) Set vbr calculation mode in full file av parsing (size should be faster but less accurate, default: bitrate)
--f:write:(none|xml|text) Enable/disable writing of parsed files xml to disk (see below for directory, default: none)
--f:console:(none|xml|text) Enable/disable writing of parsed files data to console (default: text)
--f:recurse:(on|off) Enable/disable recursing in to directories (if a directory is supplied, default: off)


Application directory: %USERHOMEDIR%\.xauc</code>
Application directory: C:\Documents and Settings\fahrenheit\.xauc</pre>


'''''usefull command lines'''''
====Useful command lines====
:* xauc-cli.jar --r --f:xml:off --f:console:on filename/dir (for outputing the results to the console
:* xauc-cli.jar --r --h:off --a:fp:on --f:console:on filename/dir (for full file av parsing and no hashing)
:* xauc-cli.jar --r --a:fp:on --f:xml:off --f:console:on filename/dir (for a full file parsing, may crash so use with care)


''''GUI version''''
===GUI version===
<tt>java -jar xauc-gui.jar</tt>
<tt>java -jar xauc-gui.jar</tt>


See screenshots
See screenshots.


[[Category:Anidb Clients]]
=== Example file information output ===
<tt>text mode</tt>
 
<pre>file: [gg]_Maria+Holic_-_01v2_[4703AA5E].mkv
format: matroska
size: 257231677 bytes
extension: mkv
duration: 00:23:49 (1429.7799)
hashes:
ed2k: eed1ed5225418dc71e1cab14df43431a
ed2k link: ed2k://|file|[gg]_Maria+Holic_-_01v2_[4703AA5E].mkv|257231677|eed1ed5225418dc71e1cab14df43431a|
crc32: 4703aa5e
md5: 4eb1eddcdf6ed9b2dafd82be958c5447
sha1: 43739be0f6377567cd6a403c67b03f1426aa24dd
tth: 2p7vsnzwjituenk5hstxrlihtepf3q3uhmb4l7a
streams:
stream [video:0]:
codec: H264/AVC (avc)
size: 230745836 bytes
duration: 00:23:39 (1419.294)
bitrate: 1300 kbps
pixel resolution: 848x480
pixel aspect ratio: 16:9
fps: 23,976
picture format: YUV420P
stream [audio:0]:
type: normal
codec: Vorbis (Ogg Vorbis) (vorbis)
size: 17726591 bytes
language: eng
channels: 2 (stereo)
sample rate: 48000 Hz
sample format: s16
variable bit rate
stream [subtitle:0]:
type: soft sub
codec: ass/ssa
size: 95498 bytes
language: eng
styled subs (ASS/SSA)
stream [other:0]:
codec: ttf
stream [other:1]:
codec: ttf
stream [other:2]:
codec: ttf
stream [other:3]:
codec: ttf
stream [other:4]:
codec: ttf
stream [other:5]:
codec: ttf
stream [other:6]:
codec: ttf
stream [other:7]:
codec: ttf
stream [other:8]:
codec: ttf
stream [other:9]:
codec: ttf
stream [other:10]:
codec: ttf
stream [other:11]:
codec: ttf
stream [other:12]:
codec: ttf
stream [other:13]:
codec: ttf
stream [other:14]:
codec: ttf
stream [other:15]:
codec: ttf
stream [other:16]:
codec: ttf</pre>
 
[[Category:AniDB Clients]]

Latest revision as of 19:30, 25 April 2009

About

XAUC - X AniDB UDP Client is a Java application that hashes files and adds them to your MyList at AniDB (currently not yet implemented), with the support of ffmpeg. As the name implies it's based on the UDP API and is therefore limited.

All questions, feature requests and bug reports can be post in the [AniDB Forum > Other Clients] forum.

Author: fahrenheit

OS: Java VM (Sun)

Main Features:

  • ed2k, crc32, md5, sha1, tth hashing
  • file add to MyList
  • AV parsing with FFmpeg libs

Latest version: XAUC v0.6.5 : CLI JAR | GUI JAR | Source

Required libs: Xuggle : Windows Required Libraries (README.txt)

Screenshots <gallery perrow="5">Image:xauc_tab_workspace_start.jpg|Workspace tab Image:xauc_tab_workspace_idle.jpg|Workspace tab (files added) Image:xauc_tab_workspace_processing.jpg|Workspace tab (processing files) Image:xauc_tab_hashes.jpg|Hashes tab Image:xauc_tab_log.jpg|Log tab <gallery>


Make sure you've got a jre that supports swing (if you are using the gui version)

http://www.java.com

Start XAUC as an application

To start either the console or GUI version just type java -jar xauc-cli.jar or java -jar xuac-gui.jar.

Libraries

Make sure you have all the required libraries in your library path before using the GUI version, for the CLI version you can disable AV parsing so you don't need to be sure you have the libs.
For Windows just copy *.dll files to your windows/system32 directory.

CLI version

java -jar xauc-cli.jar [OPTIONS] filename

XAUC - X AniDB UDP Client (v0.3.1/v0.6.5)

Usage: [OPTIONS] file|dir
Options:
	--help displays this help
	--d See debug messages
	--h:(on|off) Enable/disable file hashing (default: on)
	--h:save:(on|off) Enable/disable saving of hashing options (default: off)
	--h:ed2k:(on|off) Hash file with the ed2k algorithm (default: on)
	--h:crc32:(on|off) Hash file with the crc32 algorithm (default: off)
	--h:md5:(on|off) Hash file with the md5 algorithm (default: off)
	--h:sha1:(on|off) Hash file with the sha1 algorithm (default: off)
	--h:tth:(on|off) Hash file with the sha1 algorithm (default: off)
	--a:(on|off) Enable/disable file av parsing (default: off)
	--a:save:(on|off) Enable/disable saving of av parsing options (default: off)
	--a:fp:(on|off) Enable/disable full file av parsing (slower if enabled but more information is supplied, default: off)
	--a:vbrmode:(size|bitrate) Set vbr calculation mode in full file av parsing (size should be faster but less accurate, default: bitrate)
	--f:write:(none|xml|text) Enable/disable writing of parsed files xml to disk (see below for directory, default: none)
	--f:console:(none|xml|text) Enable/disable writing of parsed files data to console (default: text)
	--f:recurse:(on|off) Enable/disable recursing in to directories (if a directory is supplied, default: off)

Application directory: C:\Documents and Settings\fahrenheit\.xauc

Useful command lines

  • xauc-cli.jar --r --h:off --a:fp:on --f:console:on filename/dir (for full file av parsing and no hashing)

GUI version

java -jar xauc-gui.jar

See screenshots.

Example file information output

text mode

file: [gg]_Maria+Holic_-_01v2_[4703AA5E].mkv
	format: matroska
	size: 257231677 bytes
	extension: mkv
	duration: 00:23:49 (1429.7799)
hashes:
	ed2k: eed1ed5225418dc71e1cab14df43431a
	ed2k link: ed2k://|file|[gg]_Maria+Holic_-_01v2_[4703AA5E].mkv|257231677|eed1ed5225418dc71e1cab14df43431a|
	crc32: 4703aa5e
	md5: 4eb1eddcdf6ed9b2dafd82be958c5447
	sha1: 43739be0f6377567cd6a403c67b03f1426aa24dd
	tth: 2p7vsnzwjituenk5hstxrlihtepf3q3uhmb4l7a
streams:
	stream [video:0]:
		codec: H264/AVC (avc)
		size: 230745836 bytes
		duration: 00:23:39 (1419.294)
		bitrate: 1300 kbps
		pixel resolution: 848x480
		pixel aspect ratio: 16:9
		fps: 23,976
		picture format: YUV420P
	stream [audio:0]:
		type: normal
		codec: Vorbis (Ogg Vorbis) (vorbis)
		size: 17726591 bytes
		language: eng
		channels: 2 (stereo)
		sample rate: 48000 Hz
		sample format: s16
		variable bit rate
	stream [subtitle:0]:
		type: soft sub
		codec: ass/ssa
		size: 95498 bytes
		language: eng
		styled subs (ASS/SSA)
	stream [other:0]:
		codec: ttf
	stream [other:1]:
		codec: ttf
	stream [other:2]:
		codec: ttf
	stream [other:3]:
		codec: ttf
	stream [other:4]:
		codec: ttf
	stream [other:5]:
		codec: ttf
	stream [other:6]:
		codec: ttf
	stream [other:7]:
		codec: ttf
	stream [other:8]:
		codec: ttf
	stream [other:9]:
		codec: ttf
	stream [other:10]:
		codec: ttf
	stream [other:11]:
		codec: ttf
	stream [other:12]:
		codec: ttf
	stream [other:13]:
		codec: ttf
	stream [other:14]:
		codec: ttf
	stream [other:15]:
		codec: ttf
	stream [other:16]:
		codec: ttf