https://wiki.anidb.net/api.php?action=feedcontributions&user=Permidion&feedformat=atomAniDB - User contributions [en]2024-03-29T10:19:57ZUser contributionsMediaWiki 1.40.0https://wiki.anidb.net/index.php?title=Add/edit_resources&diff=23924Add/edit resources2021-04-09T17:54:19Z<p>Permidion: updated resources list with NETFLIX and HIDIVE</p>
<hr />
<div>Resources url references:<br />
<br />
'''.Lain'''<br />
<br />
<pre>https://lain.gr.jp/<str></pre><br />
<br />
'''Allcinem'''<br />
<br />
<pre><br />
https://www.allcinema.net/prog/show_c.php?num_c=<id><br />
https://www.allcinema.net/cinema/<id><br />
</pre><br />
<br />
'''Amazon'''<br />
<br />
<pre><br />
https://amazon.com/dp/<str><br />
https://amazon.com/<str>/dp/<str><br />
https://amazon.com/gp/video/detail/<str><br />
https://www.amazon.com/dp/<str><br />
https://www.amazon.com/<str>/dp/<str><br />
https://www.amazon.com/gp/video/detail/<str><br />
</pre><br />
<br />
'''Animemorial'''<br />
<br />
<pre><br />
https://www.animemorial.net/ja/m<id>-<str><br />
https://www.animemorial.net/fr/m<id>-<str><br />
https://www.animemorial.net/en/m<id>-<str><br />
</pre><br />
<br />
'''AnimeNfo'''<br />
<br />
<pre>https://www.animenfo.com/animetitle,<id>,<str>,a.html</pre><br />
<br />
'''Anison'''<br />
<br />
<pre>https://anison.info/data/program/<id>.html</pre><br />
<br />
'''ANN'''<br />
<br />
<pre><br />
https://www.animenewsnetwork.com/encyclopedia/anime.php?id=<id><br />
https://www.animenewsnetwork.cc/encyclopedia/anime.php?id=<id><br />
</pre><br />
<br />
'''Baidu Baike'''<br />
<br />
<pre>https://baike.baidu.com/item/<id></pre><br />
<br />
'''Bangumi'''<br />
<br />
<pre>https://bgm.tv/subject/<id></pre><br />
<br />
'''Crunchyroll'''<br />
<br />
<pre><br />
https://www.crunchyroll.com/en-gb/<str><br />
https://www.crunchyroll.com/en-us/<str><br />
https://www.crunchyroll.com/de-de/<str><br />
https://www.crunchyroll.com/<str><br />
</pre><br />
<br />
'''Douban'''<br />
<br />
<pre>https://movie.douban.com/subject/<str></pre><br />
<br />
'''Facebook'''<br />
<br />
<pre>https://www.facebook.com/<str></pre><br />
<br />
'''HIDIVE'''<br />
<br />
<pre><br />
https://www.hidive.com/tv/<str><br />
https://www.hidive.com/movies/<str><br />
</pre><br />
<br />
'''MAL'''<br />
<br />
<pre><br />
https://myanimelist.net/anime/<id><br />
https://myanimelist.net/anime/<id>/<str><br />
https://myanimelist.net/anime.php?id=<id><br />
</pre><br />
<br />
'''Marumegane'''<br />
<br />
<pre><br />
https://www.anime.marumegane.com/<str>.html<br />
https://anime.marumegane.com/<str>.html<br />
</pre><br />
<br />
'''Media Art DB'''<br />
<br />
<pre>https://mediaarts-db.bunka.go.jp/an/anime_series/<id></pre><br />
<br />
'''NETFLIX'''<br />
<br />
<pre><br />
https://www.netflix.com/title/<id><br />
https://www.netflix.com/<str>-<str>/title/<id><br />
</pre><br />
<br />
'''Syoboi'''<br />
<br />
<pre><br />
https://cal.syoboi.jp/tid/<id><br />
https://cal.syoboi.jp/tid/<id>/<str><br />
</pre><br />
<br />
'''TV Animation Museum'''<br />
<br />
<pre>https://home-aki.la.coocan.jp/anime-list/<str>.htm</pre><br />
<br />
'''Twitter'''<br />
<br />
<pre>https://twitter.com/<str></pre><br />
<br />
'''VNDB'''<br />
<br />
<pre>https://vndb.org/v<id></pre><br />
<br />
'''Wiki (Jp)'''<br />
<br />
<pre><br />
https://ja.wikipedia.org/wiki/<str><br />
https://ja.wikipedia.org/w/index.php?title=<str><br />
https://secure.wikimedia.org/wikipedia/ja/wiki/<str><br />
https://secure.wikimedia.org/wikipedia/ja/w/index.php?title=<str><br />
</pre><br />
<br />
'''Wiki (En)'''<br />
<br />
<pre><br />
https://en.wikipedia.org/wiki/<str><br />
https://en.wikipedia.org/w/index.php?title=<str><br />
https://secure.wikimedia.org/wikipedia/en/wiki/<str><br />
https://secure.wikimedia.org/wikipedia/en/w/index.php?title=<str><br />
</pre><br />
<br />
'''Wiki (Ko)'''<br />
<br />
<pre><br />
https://ko.wikipedia.org/wiki/<str><br />
https://ko.wikipedia.org/w/index.php?title=<str><br />
https://secure.wikimedia.org/wikipedia/ko/wiki/<str><br />
https://secure.wikimedia.org/wikipedia/ko/w/index.php?title=<str><br />
</pre><br />
<br />
'''Wiki (Zh)'''<br />
<br />
<pre><br />
https://zh.wikipedia.org/wiki/<str><br />
https://zh.wikipedia.org/w/index.php?title=<str><br />
https://secure.wikimedia.org/wikipedia/zh/wiki/<str><br />
https://secure.wikimedia.org/wikipedia/zh/w/index.php?title=<str><br />
</pre><br />
<br />
'''YouTube'''<br />
<br />
<pre>https://www.youtube.com/<str></pre></div>Permidionhttps://wiki.anidb.net/index.php?title=Add/edit_resources&diff=23916Add/edit resources2021-03-21T15:23:03Z<p>Permidion: Created page with "Resources url references: '''.Lain''' <pre>https://lain.gr.jp/<str></pre> '''Allcinem''' <pre> https://www.allcinema.net/prog/show_c.php?num_c=<id> https://www.allcinema.n..."</p>
<hr />
<div>Resources url references:<br />
<br />
'''.Lain'''<br />
<br />
<pre>https://lain.gr.jp/<str></pre><br />
<br />
'''Allcinem'''<br />
<br />
<pre><br />
https://www.allcinema.net/prog/show_c.php?num_c=<id><br />
https://www.allcinema.net/cinema/<id><br />
</pre><br />
<br />
'''Amazon'''<br />
<br />
<pre><br />
https://amazon.com/dp/<str><br />
https://amazon.com/<str>/dp/<str><br />
https://amazon.com/gp/video/detail/<str><br />
https://www.amazon.com/dp/<str><br />
https://www.amazon.com/<str>/dp/<str><br />
https://www.amazon.com/gp/video/detail/<str><br />
</pre><br />
<br />
'''Animemorial'''<br />
<br />
<pre><br />
https://www.animemorial.net/ja/m<id>-<str><br />
https://www.animemorial.net/fr/m<id>-<str><br />
https://www.animemorial.net/en/m<id>-<str><br />
</pre><br />
<br />
'''AnimeNfo'''<br />
<br />
<pre>https://www.animenfo.com/animetitle,<id>,<str>,a.html</pre><br />
<br />
'''Anison'''<br />
<br />
<pre>https://anison.info/data/program/<id>.html</pre><br />
<br />
'''ANN'''<br />
<br />
<pre><br />
https://www.animenewsnetwork.com/encyclopedia/anime.php?id=<id><br />
https://www.animenewsnetwork.cc/encyclopedia/anime.php?id=<id><br />
</pre><br />
<br />
'''Baidu Baike'''<br />
<br />
<pre>https://baike.baidu.com/item/<id></pre><br />
<br />
'''Bangumi'''<br />
<br />
<pre>https://bgm.tv/subject/<id></pre><br />
<br />
'''Crunchyroll'''<br />
<br />
<pre><br />
https://www.crunchyroll.com/en-gb/<str><br />
https://www.crunchyroll.com/en-us/<str><br />
https://www.crunchyroll.com/de-de/<str><br />
https://www.crunchyroll.com/<str><br />
</pre><br />
<br />
'''Douban'''<br />
<br />
<pre>https://movie.douban.com/subject/<str></pre><br />
<br />
'''Facebook'''<br />
<br />
<pre>https://www.facebook.com/<str></pre><br />
<br />
'''MAL'''<br />
<br />
<pre><br />
https://myanimelist.net/anime/<id><br />
https://myanimelist.net/anime/<id>/<str><br />
https://myanimelist.net/anime.php?id=<id><br />
</pre><br />
<br />
'''Marumegane'''<br />
<br />
<pre><br />
https://www.anime.marumegane.com/<str>.html<br />
https://anime.marumegane.com/<str>.html<br />
</pre><br />
<br />
'''Media Art DB'''<br />
<br />
<pre>https://mediaarts-db.bunka.go.jp/an/anime_series/<id></pre><br />
<br />
'''Syoboi'''<br />
<br />
<pre><br />
https://cal.syoboi.jp/tid/<id><br />
https://cal.syoboi.jp/tid/<id>/<str><br />
</pre><br />
<br />
'''TV Animation Museum'''<br />
<br />
<pre>https://home-aki.la.coocan.jp/anime-list/<str>.htm</pre><br />
<br />
'''Twitter'''<br />
<br />
<pre>https://twitter.com/<str></pre><br />
<br />
'''VNDB'''<br />
<br />
<pre>https://vndb.org/v<id></pre><br />
<br />
'''Wiki (Jp)'''<br />
<br />
<pre><br />
https://ja.wikipedia.org/wiki/<str><br />
https://ja.wikipedia.org/w/index.php?title=<str><br />
https://secure.wikimedia.org/wikipedia/ja/wiki/<str><br />
https://secure.wikimedia.org/wikipedia/ja/w/index.php?title=<str><br />
</pre><br />
<br />
'''Wiki (En)'''<br />
<br />
<pre><br />
https://en.wikipedia.org/wiki/<str><br />
https://en.wikipedia.org/w/index.php?title=<str><br />
https://secure.wikimedia.org/wikipedia/en/wiki/<str><br />
https://secure.wikimedia.org/wikipedia/en/w/index.php?title=<str><br />
</pre><br />
<br />
'''Wiki (Ko)'''<br />
<br />
<pre><br />
https://ko.wikipedia.org/wiki/<str><br />
https://ko.wikipedia.org/w/index.php?title=<str><br />
https://secure.wikimedia.org/wikipedia/ko/wiki/<str><br />
https://secure.wikimedia.org/wikipedia/ko/w/index.php?title=<str><br />
</pre><br />
<br />
'''Wiki (Zh)'''<br />
<br />
<pre><br />
https://zh.wikipedia.org/wiki/<str><br />
https://zh.wikipedia.org/w/index.php?title=<str><br />
https://secure.wikimedia.org/wikipedia/zh/wiki/<str><br />
https://secure.wikimedia.org/wikipedia/zh/w/index.php?title=<str><br />
</pre><br />
<br />
'''YouTube'''<br />
<br />
<pre>https://www.youtube.com/<str></pre></div>Permidionhttps://wiki.anidb.net/index.php?title=AniDB_Definition:Anime&diff=23438AniDB Definition:Anime2019-01-02T23:51:57Z<p>Permidion: test for worf</p>
<hr />
<div>{{TOCright}}<br />
<br />
This page is meant to help define what is considered an "anime" in the context of AniDB. Our definition is just as arbitrary as anyone else's, and has evolved over time. Questionable shows may, and should, be discussed in the {{ForumLink|21|Change Requests forum}}. Final decision will fall on the mods to decide if it is appropriate to have in the database.<br />
<br />
==Definition==<br />
<br />
another test (remove this)<br />
<br />
===What does "anime" mean in Japan?===<br />
"Anime" in Japan technically means any animated film, regardless of origin. Also, "manga" is any printed comic. However, this definition is too broad. This would mean anything that is animated (Bugs Bunny, Mickey Mouse, ...) would be considered anime.<br />
<br />
===What does the rest of the world think?===<br />
People in the rest of the world take "anime" to mean animated films from Japan.<br />
<br />
====Why not use this definition?====<br />
What does "from Japan" really mean? What if a show is produced by a Japanese company and was released in Japan, but was drawn in India because of cheap labour, is it an anime? What about that animated commercial for a bar of soap, is that anime? Also, many people consider many shows from China and Korea to also be anime because their style is similar to other anime.<br />
<br />
===What about using the styles to define an anime?===<br />
Anime styles are frequently distinctive and fairly easy to recognize. The stereotype is of characters with huge hair and large eyes. Although this is true of many anime (to varying degrees), there are also many anime that do not fit this description. Also not everything with big eyes is necessarily an anime either.<br />
<br />
===So what IS an anime?===<br />
To meet the AniDB definition of "anime" it must be:<br />
<br />
:* An anime needs to be '''animated'''. Live action, or something with just a few animated scenes is not an anime.<br />
:* An anime has to be '''professionally produced'''. This means that fan made shows are not considered anime.<br />
:* It has to '''have a plot'''. For instance an animated soap commercial is not an anime.<br />
:* The anime needs to be '''created primarily for the Japanese, or other Asian-Pacific market'''. For instance, Disney may collaborate with a Japanese company on the making of a film for the United States, but it is not an anime even though a Japanese company is involved.<br />
<br />
===Isn't that arbitrary and exclusive of good Western animation?===<br />
Yes it is. Thanks for asking. But we just don't consider it "anime." We suggest entering it into [http://www.bcdb.com/ The Big Cartoon Database].<br />
<br />
These rules can be changed if the AniDB mods feel it is appropriate for AniDB. At this time however, we feel these rules are the closest to meeting the spirit of what we want to catalog.<br />
<br />
==Exceptions==<br />
Yes, every rule has exceptions. There are a lot of borderline cases, but these cases should be discussed before adding them to the database. If there is something in the database or you think should be added to the database that does not match the definition above it needs to be discussed in the {{AniDBLink|forum}}. First, you should search to see if there has already been a discussion about the anime in question. If you cannot find one, then you need to make a post in the {{ForumLink|21|Change Requests forum}}, put [ADD][ANIME] or [DEL][ANIME] in the subject of your topic.<br />
<br />
===In General===<br />
----<br />
====Chinese/Korean productions?====<br />
Are animated, professionally produced, feature films created by a Korean/Chinese company for the Korean/Chinese market allowed?<br />
Generally, yes most south-east Asians productions are accepted, check the forum before adding them though.<br />
<br />
====Music videos?====<br />
Fanmade AMVs are not allowed if they are montages of scenes from anime with a song playing on the background, for original animation created by fans, see "Fan-Made Shows" section. If they are professionally produced mainly by a Japanese company or individuals, then yes. Even if the song the music video is for is not by a Japanese artist/band, it is still acceptable if the previous rules apply, since the video will be marketed globally on the internet. Partially animated music video can be acceptable as well (Passion from the examples), but it depends on the amount and length. In some cases an official AMV related to a series should be added as a special episode, in other cases it's a separate project from the source material and should have its own entry.<br />
<br />
:''Examples: {{a|2324|Macross: Flashback 2012}}, {{a|6082|Gurren Lagann Parallel Works}}, {{a|10881|It Girl}}, {{a|8437|Passion}}''<br />
<br />
====Game CGs/promos?====<br />
Cutscenes in games are part of the game and shouldn't be considered as stand-alone anime, therefore they are not accepted. Animated promotional videos for games are generally accepted granted they are long enough and have a narrative other than simply showing scenes from the game itself. In some occasions, a game can be released bundled with a bonus animated video, which can be added as an anime entry.<br />
<br />
:''Examples: {{a|11025|Mugen Senshi Valis}}, {{a|10758|Mugen Kouro}}'', {{a|10741|Kyokugen Dasshutsu ADV: Zennin Shibou Death}}''<br />
<br />
====Fan-Made Shows/Amateur productions (doujin anime)?====<br />
Doujin anime are not professionally produced, so generally they are not allowed. However some of them can be of very high quality and even have professional voice actors, in which case we have accepted them.<br />
<br />
:''Examples: {{a|8664|Touhou PVD}}, {{a|8624|Gensou Mangekyou: The Memories of Phantasm}}, {{a|2983|Ame to Shoujo to Watashi no Tegami: Short Short Story}}'', {{a|7190|Fumiko no Kokuhaku}}''<br />
<br />
====Commercials/Promotional videos?====<br />
Animated standard TV commercials are not allowed. Short promotional videos, that generally are not shown during commercial breaks on TV, but rather are created for events, web, or special segments of a TV program, are accepted. These shorts need to have a narrative, can contain the product or company the anime is promoting, and are generally 5+ minutes in length, sometimes a bit shorter.<br />
<br />
:''Examples: {{a|5057|Superflat Monogram}}, {{a|9504|Next A-Class}}, {{a|10907|Fastening Days}}'', {{a|9029|Haru wa Kuru}}''<br />
<br />
====Live Action?====<br />
Where is the key requirement, "animation", hiding in this phrase? Are you mad? If there are some live action scenes that are incorporated into an anime that otherwise meets the requirements and when looked at as a whole they can still be considered animated, they may be anime (although this may be extremely unwise, common sense not ruling around here, as it's the first step on the sort of slippery slope we're already experiencing in country of origin), and certain official "live action" extras such as interviews are permitted. For stop motion animation, see the next paragraph.<br />
<br />
====Stop motion animation (clay/puppet-mation)====<br />
Generally we accept clay-mation and puppet animation, although technically live action, they do require character and background designs and creation. Stop motion with humans and regular objects lacks these two things and therefore we don't allow such works.<br />
<br />
:''Examples: {{a|1613|Doggy Poo}}, {{a|7020|Renzoku Ningyou Katsugeki: Shin Sanjuushi}}<br />
<br />
====DVD/BD specials (omake)?====<br />
Not as separate anime entries. Disk-only specials should be added as special episodes to an existing anime.<br />
<br />
====Parody Subs/Dubs?====<br />
Not as anime entries. These are sometimes allowed as "Parody" episodes (P eps) to an existing anime.<br />
<br />
===Specific Cases===<br />
----<br />
For an ongoing list of items that have been requested for deletion, or have been deleted, see [http://forum.anidb.net/viewtopic.php?t=3639 List of duplicate and "not anime" entries in AniDB]<br />
<br />
{{eyecatch|Note|Some links in this guide are pointing to Internal Docs section and are not available to everyone.<br>Those are meant to be references for people who work on AniDB documentation.}}<br />
<br />
{{h4|The Animatrix}}<br />
----<br />
'''{{a|517|Yes}}'''<br />
{{Quote|Ultima|The Animatrix should be allowed because it was animated by many well known Japanese artists.|3=[http://forum.anidb.net/viewtopic.php?p=11570#p11570 link]}}<br />
<br />
{{h4|Anime Fiction}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|English company producing for the English market.|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Apprentice}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|Amateur English company producing for the English market.|3=[http://www.drowtales.com/~whiteradish/ about us]|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Daicon Opening Animations}}<br />
----<br />
'''{{a|2780|Yes}}'''<br />
{{Quote|Rar|Given the long and active tradition of [[Wikipedia:Doujinshi|同人誌]], declaring everything not made by the copyright holders might become overly restrictive. However, due to the time and expense it takes to produce animation compared to literature, I suspect a simple 'no doujinshi' rule will probably do for a good few years yet. Unless of course, someone who's seen the work in question wants to contradict me and say it is worth keeping.|3=[http://forum.anidb.net/viewtopic.php?p=14492#p14492 link]}}<br />
<br />
{{Quote|Rar|2=I completely revoke my comments about doujinshi in animation having added {{a|2780|this}} a while ago... fan made, in the 80s, and great.|3=[http://forum.anidb.net/viewtopic.php?p=15171#p15171 link]}}<br />
<br />
{{h4|Evangelion X}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|Japanese fanproduction|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|The Item}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|Amateur English company producing for the English market.|3=[http://www.drowtales.com/~whiteradish/ about us]|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|The Last Unicorn}}<br />
----<br />
'''No'''<br />
{{Quote|rar|Ran across this, and as far as a bit of googling tells me, this is a US animation only, not even a co-production like some are (The Mysterious Cities of Gold for instance).|3=[http://forum.anidb.net/viewtopic.php?t=2134 thread deleted]}}<br />
<br />
{{Quote|nwa|I was renaming the "The" titles and stumbled upon this... according to IMDB this isn't really an anime at all...|3=[http://forum.anidb.net/viewtopic.php?t=2551 thread deleted]}}<br />
<br />
{{Quote|Der Idiot|English company producing for the English market.|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Mania - Secret of Green Tentacle}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|English company producing for the English market.|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Oman}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|Japanese fanproduction|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Ranomonto}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|Japanese fanproduction|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Robotech}}<br />
----<br />
'''{{a|77|Yes/No}}'''<br />
{{Quote|Ultima|Robotech for example has Japanese origins because they were licensed from Tatsunoko Studios for international distribution by Harmony Gold USA.|3=[http://forum.anidb.net/viewtopic.php?p=11570#p11570 link]}}<br />
<br />
{{Quote|nwa|Robotech was neither dubbed nor created by the Japanese.. there wasn't even any Japanese studios involved with it? in that case... it's not anime and should be deleted :P|3=[http://forum.anidb.net/viewtopic.php?p=11757#p11757 link]}}<br />
<br />
{{Quote|nwa|I wouldn't allow Transformers US Movie or the US Robotech... aah... whatever... they might as well be there...|3=[http://forum.anidb.net/viewtopic.php?p=14350#p14350 link]}}<br />
<br />
{{h4|Sailor Moon and the 7 Ballz}}<br />
----<br />
'''No'''<br />
{{Quote|PetriW|I don't see why it wouldn't.|3=[http://forum.anidb.net/viewtopic.php?p=9572#p9572 thread deleted]}}<br />
<br />
{{Quote|nwa|they are crappy, but still hentai I guess|3=[http://forum.anidb.net/viewtopic.php?p=9588#p9588 thread deleted]}}<br />
<br />
{{Quote|Ultima|Well, personally, removing Sailor Moon and the 7 Ballz wouldn't be a "huge" loss. I guess we should just allow official hentai productions into AniDB. We do the same for official anime music videos released on anime DVDs. I think we should do the same for hentai.|3=[http://forum.anidb.net/viewtopic.php?p=14494#p14494 thread deleted]}}<br />
<br />
{{Quote|Wahaha|With a runtime of ~50 minutes, ~70 people who have the files in their lists and ~40 votes, this entry should be kept IMO.|3=[http://forum.anidb.net/viewtopic.php?p=14521#p14521 link]}}<br />
<br />
{{Quote|Der Idiot|English company producing for the English market.|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Shadowskin}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|Amateur English company producing for the English market.|3=[http://www.studioartfx.com/about.html about us]|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Star Ballz}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|English company producing for the English market.|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Understanding Chaos}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|Amateur English company producing for the English market.|3=[http://www.studioartfx.com/about.html about us]|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
{{h4|Avatar - The Last Airbender}}<br />
----<br />
'''No'''<br />
{{Quote|Der Idiot|American production for the American market.|3=[http://forum.anidb.net/viewtopic.php?t=3639 link]}}<br />
<br />
==Anime <x> is (not) listed as anime on anime site <y>!==<br />
Although that would be part of an argument for or against listing it as an anime, that does not mean that it will be automatically added or removed from AniDB. Every site has a different user base and administrators with their own opinions, you will find that no two sites have the exact same list of anime.<br />
<br />
==If it is not an anime, where can I find more information?==<br />
Every anime related website has different ideas about what is an anime, you can try one of those sites. Also, you can try [http://www.bcdb.com/ The Big Cartoon Database].<br />
<br />
[[Category:Definitions]]<br />
[[Category:Guidelines]]</div>Permidionhttps://wiki.anidb.net/index.php?title=FAQ:Index&diff=23436FAQ:Index2019-01-02T23:45:16Z<p>Permidion: /* Also see */</p>
<hr />
<div>==Frequently Asked Questions==<br />
===I used (Web)AOM to add a series, and it shows up in MyList, but not in the anime details!<br>I then added the files through the web interface and suddenly I have twice as many files!===<br />
This is because of a bug in AniDB. It will correct itself after the [[Routine Maintenance]], which takes place every Monday, Wednesday and Friday. So the solution is to just wait.<br />
<br />
===Who are the girls on the AniDB banner?===<br />
The answer as far as we know it, can be found [[Who is that girl|here]].<br />
<br />
===I did a MyList export, but how do I open it?===<br />
The MyList export is in a .tgz archive, this is a gzipped tar file; a decent (de)compression program should be able to handle it. You can try [http://www.7-zip.org/ 7-zip] (which is free and open-source) or [http://www.rarlab.com/ WinRAR] (which isn't; it's shareware).<br />
<br />
===Things don't look like they used to<br>The page is broken!<br>Everything is to the left! Nothing is centred!===<br />
AniDB has/is changing all of its pages to use CSS, this will likely break incompatible browsers such as Internet Explorer. If you want to be able to view AniDB correctly you should switch to a standards-compliant browser like [http://www.getfirefox.com Firefox] or [http://www.opera.com Opera]. AniDB has not supported Internet Explorer for quite some time, and it will take a lot of work on Microsoft's part before AniDB will support it again.<br />
<br />
===Can you move my MyList to another account?===<br />
No.<br />
<br />
===Can I change my username?===<br />
Yes. Note, however, that the new username with be marked (with an asterisk) as changed, and that all users will be able to read the username's history. This is not a "I was a jerk so I'll change my name and pretend it never happened" function.<br />
<br />
===A group should be complete, but is ongoing or stalled!===<br />
If files were added in the last day or so, the state hasn't been updated yet. Wait for the [[Routine Maintenance]] to kick in. More information can be found [[Groupentries:Status|here]].<br />
<br />
===Why is the file count of group x for anime z off?<br>Update the episodes of group x for anime z!===<br />
First of all, you should clearly understand how AniDB works. The file counts for group per anime are automatically generated out of the added files. Hence when some groups data is "incomplete" it means no one added the files for it. DON'T ask AniDB mods to add those for you. We don't have the files so how could we add them.<br><br />
AniDB is a user-driven database so you can add them yourself and "correct" the count. [[Content:Files|Read here]] for more info regarding this.<br />
<br />
===Why can't I vote permanently?===<br />
You can only vote for anime that have ended. To determine whether an anime has ended or not, AniDB takes a look at the current date and the listed enddate of the anime. If there is no enddate listed, it [[Content:Edit|needs to be added]]. [[AniDB:Dates|Where to find release dates for anime]]. If the enddate is the current day, you will have to wait until tomorrow.<br />
<br />
===How do I download anime?===<br />
We do not provide ed2k, Bittorrent or download support here!<br />
<br />
AniDB does NOT offer any files for download.<br />
Neither does any AniDB Client (i.e. [[AOM|AniDB O'Matic]]).<br />
Also take a look at the [[AniDB:General disclaimer|AniDB Disclaimer]].<br />
<br />
===How do I enable viewing of hentai?===<br />
In your [[profile]] there is a setting for this.<br />
<br />
===Can I delete my account?===<br />
Refer to our policies page [https://anidb.net/perl-bin/animedb.pl?show=policies here].<br />
<br />
==Also see==<br />
*[[AniDB:Sign_up|Why should I sign up?]]<br />
*[[FAQ:Anime|What is anime?]]<br />
*[[FAQ:MyList|How do I add anime to my list?]]<br />
*[[FAQ:Login_problems|Problems logging in?]]<br />
*[[FAQ:Website Down|Help! The website/API/RSS/etc is down! Why?]]<br />
*[[FAQ:Website_problems|The website is not behaving right!]]<br />
*[[FAQ:Content|How to add content in AniDB?]]<br />
*[[FAQ:Creqs|How to change content in AniDB?]]<br />
*[[FAQ:Recommendations|What anime should I watch next?]]<br />
*[[FAQ:Downloads|How do I download anime from the database?]]<br />
*[[FAQ:Chii|Who is Chii, and where do I find her?]]<br />
*[[FAQ:Girls|Who's that girl?]]<br />
*[[AniDB O'Matic - Documentation: How to get started]]<br />
*[[Pages with AJAX don't work]]<br />
<br />
*[http://anidb.net/perl-bin/animedb.pl?show=threads&id=14 AniDB Support Forum] for any Question you can't find an answer for on the wiki.<br />
<br />
test (remove this)<br />
<br />
__NOTOC__<br />
[[Category:Misc]]<br />
[[Category:Problems]]</div>Permidionhttps://wiki.anidb.net/index.php?title=IRC:Chii&diff=23076IRC:Chii2018-01-12T20:10:24Z<p>Permidion: added ++groups extra params to !mylist command</p>
<hr />
<div>{{update}}<br />
{{TOCright}}<br />
<br />
==FAQ==<br />
===Who is Chii[AR] and where can I find her?===<br />
----<br />
[[IRC:Chii|Chii[AR]]] is a bot, which can be used to maintain your [[MyList]], cast votes, check CRC's and various other things.<br><br />
You can get a complete listing of all commands [[IRC:Chii|Chii[AR]]] supports using [[IRC:Chii#!help|!help]].<br><br />
[[IRC:Chii|Chii[AR]]] can be found in [[anidb|#anidb]] and [[anidb-spam|#anidb-spam]].<br />
<br />
{{eyecatch|Note|'''ALL''' Chii commands are lower case!<br>Various commands for [[IRC:Chii|Chii[AR]]] require you being logged in!}}<br />
<br />
<br />
===How to login?===<br />
----<br />
{{eyecatch|Requirements|You need a working account on AniDB. (See: [[Signup FAQ|How and why signup to AniDB?]])}}<br />
Join the channel [[IRC:anidb|#anidb]] and open a query (pm, personal chat/message) to [[IRC:Chii|Chii[AR]]]. In the query window write:<br><br />
:*<tt>auth <username> <password></tt><br>''Where <username> and <password> are your AniDB username and pass.''<br />
<br />
Alternatively you can also use the '''/msg''' version. For that do a:<br />
:*<tt>/msg Chii[AR] auth <username> <pass></tt><br />
<br />
{{eyecatch|Note|'''DON'T forget the "/" or you'll post your password in the channel!'''}}<br />
<br />
Either of what way you choose, if the login worked [[IRC:Chii|Chii[AR]]] will send you a message saying '''login accepted'''. If you get the message '''login failed''' and you typed your username/password down correctly(!), you either don't have an AniDB account or you haven't activated it yet. In either case please read the [[Signup FAQ]].<br />
<br />
:''See also:'' [[IRC:Chii/Autoauth for mIRC|Autoauth for mIRC]] and [[IRC:Chii/Quickauth for mIRC|Quickauth for mIRC]]<br />
<br />
===Why does !anime work, but <!...> doesn't?===<br />
----<br />
''This works:''<br><br />
:<tt><UserA> !anime i my me <br></tt><br />
:<tt><Chii[AR]> {{colour|#FF0000|ANIME:}} {{colour|#FF7F00|I My Me! Strawberry Egg (93),}} {{colour|#00FFFF|also known as I My Me! Strawberry Eggs,}} {{colour|#0000FF|13 eps, Year: 2001,}} {{colour|#7F7F7F|Categories: Seinen, School Life, Middle School, Comedy, Romance, ...}} {{colour|#0000FF|Rating: 7.07 (1817 votes), Reviews: 10 (avg: 7.66),}} {{colour|#7F7F7F|DB: 18 eps/289 files, More info: <nowiki>http://anidb.net/a93</nowiki>}}</tt><br />
<br />
<br />
''But this doesn't:''<br><br />
:<tt><UserB> !vote i my me 9</tt><br />
:<tt><Chii[AR]> {{colour|#007F00|VOTE:}} {{colour|#FF7F00|no such anime:}} {{colour|#7F7F7F|i my me}}</tt><br />
<br />
<br />
The reason behind this is that all commands other than the [[IRC:Chii#!anime|!anime]] command require a full match. That means the anime title you enter has to be the main title, a synonym or an added short title for that anime.<br />
<br />
This is done because the result of an [[IRC:Chii#!anime|!anime]] command with a title which is not in the database can lead to pretty unpredictable results. The same request could even return different anime on each execution. This makes it unsuitable for all other [[IRC:Chii|Chii[AR]]] commands. (i.e. you don't want to vote for the wrong anime, now do you?)<br />
<br />
<br />
==Chii command listing==<br />
===!help===<br />
----<br />
Lists all [[IRC:Chii|Chii[AR]]] commands available.<br />
<br />
'''Usage:'''<br />
!help<br />
<br />
'''Output example:'''<br />
:<tt>&lt;Chii[AR]&gt; {{colour|#FF0000|HELP:}} {{colour|#FF7F00|supported commands:}} {{colour|#0000FF|<nowiki>!anime, !episode, !group, !file, !user, !stitle, !latest, !a4g, !g4a, !uptime, !calendar, !tag.</nowiki>}} {{colour|#7F7F7F|<nowiki>with login only: !mylist, !vote, !votetmp, !voteep, !voteg, !voteag, !watched, !addfile, !remove, !randomanime, !stats, !mystats, !top, !mylatest, !state, !addtag, !deltag, !mytag, !myfile, !wishlist, !recommend</nowiki>}} {{colour|#007F00|see:}} {{colour|#FF0000|<nowiki>http://anidb.net</nowiki>}}</tt><br />
<br />
==General Info==<br />
===!anime===<br />
----<br />
This command can be used to query anime info from the AniDB database.<br />
<br />
'''Usage:'''<br />
!anime <anime title><br />
!anime <[[ID:aid|aid]]><br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF0000|ANIME:}} {{colour|#FF7F00|Shinseiki Evangelion (22),}} {{colour|#00FFFF|also known as Neon Genesis Evangelion,}} {{colour|#0000FF|26 eps, Year: 1995-1996,}} {{colour|#FF7F00|Sequel: Shinseiki Evangelion Gekijouban: The End of Evangelion (202), }} {{colour|#7F7F7F|Categories: Piloted Robots, Seinen, Mecha, Angst, Violence, ...}} {{colour|#0000FF|Rating: 8.16 (8624 votes), Reviews: 23 (avg: 8.12),}} {{colour|#7F7F7F|DB: 38 eps/1753 files, More info: <nowiki>http://anidb.net/a22</nowiki>}}</tt><br />
<br />
===!group===<br />
----<br />
This command can be used to query group info from the AniDB database.<br />
<br />
'''Usage:'''<br />
!group <groupname><br />
!group <[[ID:gid|gid]]><br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#0000FF|GROUP:}} {{colour|#FF7F00|Soldats [Soldats] (8),}} {{colour|#00FFFF|<nowiki>irc://irc.enterthegame.com/soldats,</nowiki>}} {{colour|#0000FF|Rating: 7.07 (301 votes),}} {{colour|#7F7F7F|db: 22 anime/421 files, url: <nowiki>http://www.soldats.net/ , http://anidb.net/g8</nowiki>}}</tt><br />
<br />
===!producer===<br />
----<br />
This command can be used to query producer info from the AniDB database.<br />
<br />
'''Usage:'''<br />
!producer <producername><br />
!producer <[[ID:prid|prid]]><br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#0000FF|PRODUCER:}} {{colour|#FF7F00|GONZO (19),}} {{colour|#00FFFF|also known as ゴンゾ,}} {{colour|#7F7F7F|db: 74 animes, url: <nowiki>http://www.gonzo.co.jp/index.html, http://anidb.net/p19</nowiki>}}</tt><br />
<br />
===!aproducer===<br />
----<br />
This command can be used to query producer info for a specific anime from the AniDB database.<br />
<br />
'''Usage:'''<br />
!aproducer <animename><br />
!aproducer <[[ID:aid|aid]]><br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#0000FF|APRODUCER:}} {{colour|#FF7F00|Full Metal Panic? Fumoffu (959),}} {{colour|#FF0000|Producers:}} {{colour|#00FFFF|Fuji TV, Kyoto Animation, Pony Canyon,}} {{colour|#7F7F7F|<nowiki>http://anidb.net/ap959</nowiki>}}</tt><br />
<br />
===!file===<br />
----<br />
This command can be used to query file info from the AniDB database.<br><br />
When you are [[IRC:Chii#How_to_login?|logged in]], [[IRC:Chii|Chii[AR]]] will, in addition to the basic info, tell you if you already have this file in your MyList.<br />
<br />
'''Usage:'''<br />
!file <anime title> <ep#> <groupname><br />
!file <[[ID:aid|aid]]> <ep#> <groupname><br />
!file <[[ID:fid|fid]]><br />
!file <ed2k-link><br />
<br />
{{eyecatch|Note|You '''can't''' use the [[ID:gid|gid]] instead of the groupname here!}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|FILE:}} {{colour|#FF7F00|Higan - 1,}} {{colour|#7F0000|by JollyRoger (gid: 1796),}} {{colour|#0000FF|81.704.960 bytes (fid: 137816)}} {{colour|#7F7F7F|<nowiki>ed2k://|file|Higan_-_1_-_[JR](9cab4f55)(dub.sub_ja.en).avi|81704960|41bd3e7135b13ffc772ed2df285bd519|/</nowiki> <nowiki>http://anidb.net/f137816 </nowiki>}} {{colour|#7F0000|FILE STATUS:}} {{colour|#9C009C|NOT IN LIST}}</tt><br />
<br />
===!stitle===<br />
----<br />
This command lists all known short titles for an anime.<br />
<br />
'''Usage:'''<br />
!stitle <anime name><br />
!stitle <[[ID:aid|aid]]><br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF0000|STITLE:}} {{colour|#FF7F00|Mahoromatic: Motto Utsukushii Mono (201),}} {{colour|#0000FF|synonyms:}} {{colour|#7F7F7F|Mahoromatic S2, Mahoromatic TV 2,}} {{colour|#0000FF|short titles:}} {{colour|#7F7F7F|Mahoromatic 2, MM2}}</tt><br />
<br />
===!a4g===<br />
----<br />
This command displays the anime subbed by a specified group.<br />
<br />
{{eyecatch|Note|Only the 1st 5 anime in DB are displayed!<br>The number in () is the [[ID:aid|aid]].}}<br />
<br />
'''Usage:'''<br />
!a4g <group name><br />
!a4g <[[ID:gid|gid]]><br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#0000FF|A4G:}} {{colour|#FF7F00|Soldats (Soldats):}} {{colour|#7F7F7F|21 anime(s) subbed - Keroro Gunsou(1552), Monster(1539), D.C.: Da Capo(837), Tantei Gakuen Q(642), You're Under Arrest: Taiho Shichau zo(536)}}</tt><br />
<br />
===!g4a===<br />
----<br />
This commands lists the groups which subbed the specified anime.<br />
<br />
{{eyecatch|Note|Only the 1st 10 groups are listed.}}<br />
<br />
'''Usage:'''<br />
!g4a <anime title><br />
!g4a <[[ID:aid|aid]]><br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF0000|G4A:}} {{colour|#FF7F00|Chobits (12):}} {{colour|#7F7F7F|subbed by 61 groups - [ML] last/total: 26/26 (vote: 8.66), [Heijin] last/total: 26/26 (vote: 8.53), [B-A] last/total: 26/26 (vote: 7.93), [Anime-MX] last/total: 26/26 (vote: 7.59), [E-D] last/total: 26/26 (vote: 6.99), [A-Supreme] last/total: 26/26 (vote: 6.85), [AHQ] last/total: 26/26 (vote: 6.67), [a4e] last/total: 26/26 (vote: 6.54), [Laincat] last/total: 26/26 (vote: 5.69), [SOA] last/total: 26/26 (vote: 5.3)}}</tt><br />
<br />
<br />
==MyList - General==<br />
===!mylist===<br />
----<br />
This command displays your MyList information for a specific anime.<br />
<br />
'''Usage:'''<br />
!mylist <anime name><br />
!mylist <[[ID:aid|aid]]><br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF00FF|MYLIST:}} {{colour|#FF7F00|Seikai no Senki (4) - 13 eps:}} {{colour|#00007F|in MyList:}} {{colour|#7F7F7F|1-13}} {{colour|#9C009C|watched:}} {{colour|#7F7F7F|1-13}} {{colour|#0000FF|internal storage (hdd):}} {{colour|#7F7F7F|1-13}}</tt><br />
<br />
'''Usage:'''<br />
!mylist <anime name> ++groups<br />
!mylist <[[ID:aid|aid]]> ++groups<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF00FF|MYLIST:}} {{colour|#FF7F00|Seikai no Senki (4) - 13 eps:}} {{colour|#00007F|in MyList:}} {{colour|#7F7F7F|1-13}} {{colour|#9C009C|watched:}} {{colour|#7F7F7F|1-13}} {{colour|#0000FF|internal storage (hdd):}} {{colour|#7F7F7F|1-13}} {{colour|#00FFFF|groups:}} {{colour|#7F7F7F|(anime_fin) 1-13}}</tt><br />
<br />
===!mystats===<br />
----<br />
This commands displays your statistics.<br />
<br />
{{eyecatch|Note|This info is not generated in real time. Also see: [[Routine Maintenance]].}}<br />
<br />
'''Usage:'''<br />
!mystats<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF00FF|MYSTATS:}} {{colour|#FF7F00|******* (uid: *****) (7h old)}} {{colour|#7F7F7F|- 1833 anime, 25000 eps (7995 / 31.98% watched) and 33192 files in MyList (7680 GB, 26.9% of AniDB, 8.6% watched, taking 117 days, 17 hours and 37 minutes of your life).}} {{colour|#FF7F00|2 anime, 1633 eps, 2780 files, 8 groups, 6631 votes and 0 reviews added to DB.}} {{colour|#0000FF|Independence: 9%, avdumped files: 6309 (1.35%)}}</tt><br />
<br />
===!mylatest===<br />
----<br />
This command lists the latest files you added to the DB.<br />
<br />
'''Usage:'''<br />
!mylatest<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|MYLATEST:}} {{colour|#FF7F00|******** (uid: ******)}} {{colour|#00007F|2 files/0 GB (24h):}} {{colour|#7F7F7F|[MoNG] Perfect Blue 3.srt (145930), [MoNG] Perfect Blue 2.srt (145929), [a4e] Kidou Senshi Gundam: Dai 08 MS Shotai 2.mkv (144647), [FLF] Big O 2.avi (133174), [a4e] Inuyasha - Kagami no Naka no Mugenjou 1.mkv (133139), Sugoiyo!! Masaru-san S3.mkv (131742), [2xx] Kidou Senshi Zeta Gundam 45.ogm (81265), [2xx] Kidou Senshi Zeta Gundam 44.ogm (81281), [2xx] Kidou Senshi Zeta Gundam 43.ogm (81294)}}</tt><br />
<br />
===!randomanime===<br />
----<br />
This command can be used to get a random anime from the DB.<br />
<br />
'''Usage:'''<br />
!randomanime db ''(random anime from the DB)''''<br />
!randomanime watched ''(random watched episode from your [[MyList]])''<br />
!randomanime unwatched ''(random unwatched episode from your [[MyList]])''<br />
!randomanime mylist ''(random watched or unwatched episode from your [[MyList]])''<br />
!randomanime notlisted ''(random anime that is not in your [[MyList]])''<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF00FF|RANDOMANIME:}} {{colour|#FF7F00|Shinseiki Evangelion (22),}} {{colour|#0000FF|26 eps, Year: 1995-1996, }} {{colour|#7F7F7F|Genre: Action Drama SciFi Mecha Dementia,}} {{colour|#0000FF|Rating: 8.53 (2418 votes)}}</tt><br />
<br />
<br />
==MyList - adding/removing files/changing states==<br />
===!addfile===<br />
----<br />
This command can be used to add a file, which is already in the DB to your [[MyList]].<br />
<br />
{{eyecatch|Note|You '''CAN'T''' add new files with this command and there is no way to do that via IRC, you have to use the web interface for that.}}<br />
<br />
'''Usage:'''<br />
!addfile <anime> <epnumber> <group> <state><br />
!addfile <anime> <epnumber> <group> w <state><br />
!addfile <[[ID:fid|fid]]><br />
!addfile <ed2k link><br />
!addfile <ed2k link> f ''(adds files without an ed2k hash in the DB)''<br />
!addfile last<br />
<br />
{{eyecatch|Note|Note that you can add a "w" at the end of the command to add the files as watched to your MyList.<br>Files added with that command will be added as [[Filestates:unknown|unknown]] to your MyList. Either append "hdd", "cd" etc. at the end, after the w, or use [[IRC:Chii#!state|!state]] to change the state.<br>'''last''' is the last file shown with [[IRC:Chii#!file|!file]].}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|ADDFILE:}} {{colour|#FF7F00|Air - 1 - kaze -breeze-,}} {{colour|#00FFFF|by The Triad (gid: 102),}} {{colour|#0000FF|244.328.448 bytes (fid: 92915),}} {{colour|#7F0000|FILE STATUS:}} {{colour|#007F00|ADDED TO MYLIST AS UNWATCHED}}</tt><br />
<br />
===!remove===<br />
----<br />
This command can be used to remove files from your MyList.<br />
<br />
'''Usage:'''<br />
!remove <anime> <epnumber> <group><br />
!remove <[[ID:aid|aid]]> <epnumber> <group><br />
!remove <[[ID:fid|fid]]><br />
!remove <ed2k link><br />
!remove last<br />
<br />
{{eyecatch|Note|'''last''' is the last file shown with [[IRC:Chii#!file|!file]].}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|REMOVE:}} {{colour|#FF7F00|Air - 1 - kaze -breeze-,}} {{colour|#00FFFF|by The Triad (gid: 102),}} {{colour|#0000FF|244.328.448 bytes (fid: 92915),}} {{colour|#7F0000|FILE STATUS:}} {{colour|#007F00|REMOVED FROM MYLIST}}</tt><br />
<br />
===!state===<br />
----<br />
This command allows you to set a file to a different [[filestates|state]].<br />
<br />
'''Usage:'''<br />
!state <anime> <ep#> <state><br />
!state <anime> all <state><br />
!state <anime> upto <ep#> <state><br />
!state <[[ID:fid|fid]]> <state><br />
!state <ed2k link> <state><br />
!state last <state><br />
<br />
{{eyecatch|Note|You may also use <[[ID:aid|aid]]> instead of '''<anime>'''.<br> '''last''' is the last file shown by [[IRC:Chii#!file|!file]].<br>'''<state>''' is one of: [[Filestates:unknown|unknown]]/[[Filestates:hdd|hdd]]/[[Filestates:cd|cd]]/[[Filestates:deleted|deleted]].}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF00FF|STATE:}} {{colour|#FF7F00|Air - 1 - kaze -breeze-,}} {{colour|#7F7F7F| was set to cd}}</tt><br />
<br />
===!watched / !unwatched===<br />
----<br />
These commands can be used to mark one or more files in your MyList as watched or unwatched.<br />
<br />
'''Usage:'''<br />
:''Single episode:''<br />
!watched <anime> <epnumber><br />
!watched <[[ID:fid|fid]]><br />
!watched <ed2k link><br />
<br />
:''Multiple episodes:''<br />
!watched <anime> upto <epnumber><br />
!watched <anime> all<br />
!watched <anime> none<br />
<br />
!unwatched works in much the same way.<br />
<br />
'''Output example:'''<br><br />
:<tt><Chii[AR]> {{colour|#FF00FF|WATCHED:}} {{colour|#FF0000|marked all WATCHED:}} {{colour|#7F7F7F|Card Captor Sakura}}</tt><br />
<br />
==MyList - Votes==<br />
===!vote===<br />
----<br />
This command can be used to [[Votes:Anime|vote for an anime]]. If you have already voted it will show you your vote.<br><br />
If you haven't finished the series yet please use [[IRC:Chii#!votetmp|tempvotes]] instead of normal votes!<br />
<br />
{{eyecatch|Note|Please check our [[Votes|Anime voting guideline]] for further information on the voting levels.}}<br />
<br />
'''Usage:'''<br />
!vote <anime title> [1-10]<br />
!vote <[[ID:aid|aid]]> [1-10]<br />
<br />
{{eyecatch|Note|You can add '''r''' after the rating to revote.}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|VOTE:}} {{colour|#FF7F00|Card Captor Sakura,}} {{colour|#7F7F7F| voted: 10}}</tt><br />
<br />
===!votetmp===<br />
----<br />
This command can be used to [[Votes:Anime-Temporary|tempvote for an anime]]. If you have already voted it will show you your vote.<br />
<br />
{{eyecatch|Note|Please check our [[Votes|Anime voting guideline]] for further information on the voting levels.}}<br />
<br />
'''Usage:'''<br />
!votetmp <anime title> [1-10]<br />
!votetmp <[[ID:aid|aid]]> [1-10]<br />
<br />
{{eyecatch|Note|You can add '''r''' after the rating to revote.}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|VOTETMP:}} {{colour|#FF7F00|Tsubasa Chronicle,}} {{colour|#7F7F7F| voted: 6}}</tt><br />
<br />
===!voteep===<br />
----<br />
This command can be used to [[Votes:Episodes|vote for an episode]] of an anime. If you have already voted it will show you your vote.<br />
<br />
{{eyecatch|Note|Please check our [[Votes|Anime voting guideline]] for further information on the voting levels.}}<br />
<br />
'''Usage:'''<br />
!voteep <anime title> <ep#> [1-10]<br />
!voteep <[[ID:aid|aid]]> <ep#> [1-10]<br />
<br />
{{eyecatch|Note| You can add '''r''' after the rating to revote.<br>There is no .5 support for episodes.}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|VOTEEP:}} {{colour|#FF7F00|Air - 1 - kaze -breeze-,}} {{colour|#7F7F7F| voted: 8}}</tt><br />
<br />
===!voteg===<br />
----<br />
This command can be used to vote for a group. If you have already voted it will show you your vote.<br />
<br />
{{eyecatch|Note|Please check our [[Votes|Anime voting guideline]] for further information on the voting levels.}}<br />
<br />
'''Usage:'''<br />
!voteg <group> [1-10]<br />
!voteg <[[ID:gid|gid]]> [1-10]<br />
<br />
{{eyecatch|Note|You can add '''r''' after the rating to revote.<br>There is no .5 support for groups.}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|VOTEG:}} {{colour|#FF7F00|rawr:}} {{colour|#7F7F7F| voted: 10}}</tt><br />
<br />
===!voteag===<br />
----<br />
This command can be used to rate a group's release for a particular anime. If you have already voted it will show you your vote.<br />
<br />
{{eyecatch|Note|Please check our [[Votes|Anime voting guideline]] for further information on the voting levels.}}<br />
<br />
'''Usage:'''<br />
!voteag <anime title> <group> [1.00-10.00]<br />
!voteag <[[ID:aid|aid]]> <[[ID:gid|gid]]> [1.00-10.00]<br />
<br />
<br />
<br />
{{eyecatch|Note|You can add '''r''' after the rating to revote.}}<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|VOTEAG:}} {{colour|#FF7F00|Inuyasha Kanketsuhen}} {{colour|#FF0000| by TakaFansubs [Taka]:}} {{colour|#7F7F7F| voted: 8.5}}</tt><br />
<br />
===!voteac===<br />
----<br />
This command can be used to rate a character's appearance in a particular anime. If you have already voted it will show you your vote.<br />
<br />
{{eyecatch|Note|Please check our [[Votes|Anime voting guideline]] for further information on the voting levels.}}<br />
<br />
'''Usage:'''<br />
!voteac <charname|charid> <animename> [1.00-10.00] [r]<br />
!voteac <carid> [1.00-10.00] [r]<br />
!voteac <name|charid> <name> -- <username|uid><br />
<br />
<br />
{{eyecatch|Note|You can add '''r''' after the rating to revote.}}<br />
<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|VOTEAC:}} {{colour|#FF7F00|Saber}} {{colour|#FF0000| in Fate/Stay Night:}} {{colour|#7F7F7F| Your vote: 10 on 14.02.13 04:06}}</tt><br />
<br />
==Stats==<br />
===!latest===<br />
----<br />
This command lists the filenames of the last 10 files added to the AniDB.<br />
<br />
{{eyecatch|Note|The number in () is the [[ID:fid|fid]].}}<br />
<br />
'''Usage:'''<br />
!latest<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#007F00|LATEST:}} {{colour|#FF7F00|147 files/31 GB (24h):}} {{colour|#7F7F7F|[Hitsuji] Kono Minikuku mo Utsukushii Sekai 4.mkv (145767), [Hitsuji] Kono Minikuku mo Utsukushii Sekai 3.mkv (145766), [A-Classic] Rokushin Gattai GodMars 55.avi (145765), [X2&T3] Starship Operators 13.avi (145763), [Ani-Kraze] Tsubasa Chronicle 3.avi (145762), [SM_LoC] AA! Megami-sama 8.avi (145761), [Ani-Kraze] Tsubasa Chronicle 4.avi (145760), [WPP] Rockman.EXE Axess 21.avi (145759), [WPP] Sonic X 20.avi (145758)}}</tt><br />
<br />
===!stats===<br />
----<br />
This command displays various DB statistics.<br />
<br />
'''Usage:'''<br />
!stats<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF00FF|STATS:}} {{colour|#7F7F7F|2946 animes, 34604 eps, 140930 files (20796 GB), 2039 groups, 79614 users and 251 open change requests in DB (!creq for more).}}</tt><br />
<br />
===!top===<br />
----<br />
This command displays the Top10 AniDB stat entries.<br />
<br />
{{eyecatch|Note|If you don't want to get shown in those stats you can disable it in your [[profile]].}}<br />
<br />
'''Usage:'''<br />
!top<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#FF00FF|TOP:}} {{colour|#7F7F7F|Longest MyList: }}{{colour|#FF7F00|macross1}} {{colour|#0000FF|(22138)}}, Largest MyList: {{colour|#FF7F00|macross1}} {{colour|#0000FF|(4232 GB)}}, Most Lame Files: {{colour|#FF7F00|feles}} {{colour|#0000FF|(100%)}}, Most Indep. User: {{colour|#FF7F00|tupou}} {{colour|#0000FF|(267%)}}, Big. Leech0r: {{colour|#FF7F00|aceman87}} {{colour|#0000FF|(100%)}}, Most Anime Added: {{colour|#FF7F00|analogued}} {{colour|#0000FF|(564)}}, Most Eps Added: {{colour|#FF7F00|permidion}} {{colour|#0000FF|(4118)}}, Most Files Added: {{colour|#FF7F00|hipersoke}} {{colour|#0000FF|(3238)}}, Most Groups Added: {{colour|#FF7F00|tupou}} {{colour|#0000FF|(83)}}, Most Votes: {{colour|#FF7F00|coochan}} {{colour|#0000FF|(1995)}}, Most Reviews: {{colour|#FF7F00|gambit}} {{colour|#0000FF|(176)}}</tt><br />
<br />
===!uptime===<br />
----<br />
This command displays the uptime of the DB and Chii[AR].<br />
<br />
'''Usage:'''<br />
!uptime<br />
<br />
'''Output example:'''<br />
:<tt><Chii[AR]> {{colour|#00007F|UPTIME:}} {{colour|#FF7F00|BOT:}} {{colour|#7F7F7F|4d 5h 26m}} {{colour|#00007F|<nowiki>|</nowiki>}} {{colour|#FF7F00|SERVER:}} {{colour|#7F7F7F|41d 1h 40m}}</tt><br />
<br />
[[Category:Definitions]]<br />
[[Category:Features]]<br />
[[Category:IRC]]<br />
[[Category:API]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Files:Deprecated_files&diff=15277Files:Deprecated files2010-11-10T20:34:09Z<p>Permidion: </p>
<hr />
<div>{{TOCright}}<br />
<br />
[[Files:Deprecated files|Deprecated files]] are files, which for several reasons (listed below) are normally of no interest to users. If you have enabled the "Use ajax where available" option in your profile, those files will be listed with light red background in the file area in the [[Animeentries|anime entries]]. They can be completely hidden by setting the "Hide deprecated files on anime page" option in your {{ProfileLink}}.<br />
<br />
===Criteria for marking file deprecated===<br />
A file will be marked deprecated if it meets any of the following criteria: <br />
* the episode has 50 or more users (user# of all files for that episode) and this file has 3 or less and is not marked as [[Files:CRC-verified files|file with verified CRC]].<br />
* the file is marked as "invalid CRC".<br />
* the [[How to add/remove: Files#File Quality|quality of the file]] is set to low or worse.<br />
* another file by the same [[Groupentries|group]] with the same [[File version|version]] exists and is marked as [[Files:CRC-verified files|file with verified CRC]], while this file is not (this more or less implies that this file has a invalid CRC after all).<br />
* another file by the same [[Groupentries|group]] with a newer [[File version|version]] exists and is marked as [[Files:CRC-verified files|file with verified CRC]].<br />
There is one '''exception''':<br />
* files which are 48 or less hours old will not be marked deprecated.<br />
<br />
===Deprecated files that will not be hidden===<br />
Even if a file is marked as deprecated, it will not be hidden if it meets any of the following criteria:<br />
* the file is in your [[MyList]]<br />
* the file has more than 50 users<br />
* the file is 7 or less days old<br />
* hiding deprecated files would only leave one or no files for this episode<br />
<br />
[[Category:Definitions]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Files:Deprecated_files&diff=15276Files:Deprecated files2010-11-10T20:11:27Z<p>Permidion: </p>
<hr />
<div>{{TOCright}}<br />
<br />
[[Files:Deprecated files|Deprecated files]] are files, which for several reasons (listed below) are normally of no interest to users. Those files will be listed with light red background in the file area in the [[Animeentries|anime entries]]. They can be completely hidden by setting the "Hide deprecated files on anime page" option in your {{ProfileLink}}.<br />
<br />
===Criteria for marking file deprecated===<br />
A file will be marked deprecated if it meets any of the following criteria: <br />
* the episode has 50 or more users (user# of all files for that episode) and this file has 3 or less and is not marked as [[Files:CRC-verified files|file with verified CRC]].<br />
* the file is marked as "invalid CRC".<br />
* the [[How to add/remove: Files#File Quality|quality of the file]] is set to low or worse.<br />
* another file by the same [[Groupentries|group]] with the same [[File version|version]] exists and is marked as [[Files:CRC-verified files|file with verified CRC]], while this file is not (this more or less implies that this file has a invalid CRC after all).<br />
* another file by the same [[Groupentries|group]] with a newer [[File version|version]] exists and is marked as [[Files:CRC-verified files|file with verified CRC]].<br />
There is one '''exception''':<br />
* files which are 48 or less hours old will not be marked deprecated.<br />
<br />
===Deprecated files that will not be hidden===<br />
Even if a file is marked as deprecated, it will not be hidden if it meets any of the following criteria:<br />
* the file is in your [[MyList]]<br />
* the file has more than 50 users<br />
* the file is 7 or less days old<br />
* hiding deprecated files would only leave one or no files for this episode<br />
<br />
[[Category:Definitions]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=15097Avdump2010-06-06T14:53:47Z<p>Permidion: /* Auto-creqing */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bit rates, the length, identifies the number of used audio channels and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit AniDB's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide AniDB with a tool to standardize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support auto-creqing by itself. See [[Avdump/Autocreqing|Avdump/Auto-creqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
{{eyecatch|Note|Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.}}<br />
*'''Currently Avdump only supports lower-case letters in user name, if your AniDB user name has capital letters, lower case them only for Avdump usage (as in, it's not needed to change your AniDB user name). If your AniDB user name contains symbols such as an underscore _, then you will actually need to remove that from your AniDB user name for Avdump usage.'''<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump issues|More...]]<br />
<br />
==Download==<br />
Latest version (18th March 2008) is 0.34.<br />
Get your copy of Avdump [http://static.anidb.net/client/avdump.rar HERE]!<br />
<br />
md5sum rar=225f2058812f601876fd5960bed95b74, exe=ee85a21848db15dc8bee3dd4180be953<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 100%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Info<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|'''ext''':<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|'''log''':<file path/name>||Mirror the output to the specified file.||<tt>log:avdump.log</tt><br />
|-<br />
|'''exp''':<file path/name>||Export ed2k-links to the specified file. Very useful when mass adding files.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|'''ac''':<username>:<udp_api_key>||Enable automatic creqing. You should always use this option when dumping anime files!||<tt>-ac:tard:monkey</tt><br />
|-<br />
|'''port''':<port number>||Use the specified UDP port for communication with the AniDB server (api.anidb.net). Only needed when behind "strict" firewalls.||<tt>port:1337</tt><br />
|-<br />
|'''done''':<file path/name>||Save processed-file-paths to the specified file and exlude existing entries.||<tt>done:done.txt</tt><br />
|-<br />
|'''tout''':<timeout_in_seconds>:<number_of_retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|-<br />
|'''bsize''':<KB_per_block>:<number_of_blocks>||Set size per block (2048 is default) and number of blocks in the circular buffer for hashing. If ''number of blocks'' is less than 2 then a plain single-threaded hasher is used. Might be useful if you got trouble with the default hasher.||<tt>bsize:512:16</tt><br />
|}<br />
<br/><br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br/><br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when auto-creqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into sub-folders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with auto-creqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep command window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, i.e. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Windows Shortcut===<br />
#Extract Avdump to a folder of choice.<br />
#:Example: <tt>"C:\Program Files\avdump\"</tt><br />
#Right-click <tt>avdump.exe</tt>, select ''Create Shortcut''.<br />
#Right-click the shortcut, add options to the ''Shortcut - Target'' line.<br />
#:Example, normal usage: <tt>"C:\Program Files\avdump\avdump.exe" -p</tt><br />
#:Example, auto-creq usage: <tt>"C:\Program Files\avdump\avdump.exe" -o -ac:''myName'':''udp_api_key''</tt><br />
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
#::A commandline option to export ED2K links to a file is by adding -exp: <tt>''C:\Path\filename.txt''</tt>, etc.<br />
#::Note that you need to set an '''UDP API Key''' in your AniDB profile for auto-creqing.<br />
#:Optional: Change ''Run'' to ''Maximized''.<br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br />
====Send to====<br />
#Move shortcut to the SendTo folder.<br />
#:Example, under XP: <tt>"C:\Documents and Settings\''Username''\SendTo"</tt><br />
#:Example, under Vista: <tt>"C:\Users\''Username''\AppData\Roaming\Microsoft\Windows\SendTo"</tt><br />
#::Where ''Username'' is your Windows Login-Name.<br />
#:Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, go to "Send To", choose <tt>avdump.exe</tt><br />
#Get [[Creq|CReqing]]<br />
<br />
===MS-DOS Batch File===<br />
#Extract Avdump to a folder of choice.<br />
#Create a MS-DOS batch file with the 2 lines below, and save it as ''filename.bat''.<br />
#<tt>@ECHO OFF</tt><br />
#<tt>C:\AVDumpPath\avdump.exe %1 -exp:''C:\Path\filename.txt'' -ac:''myName'':''udp_api_key''</tt><br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br />
===Graphical user interface===<br />
* ''See:'' '''[[Avdump GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
Something like <tt>-bsize:256:1</tt> ''(default is 2048)''<br />
<br />
== Auto-creqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way auto-creqing with Avdump works]]<br />
<br />
Avdump is now part of a new [[auto-creqing]] system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account '''and you have to define the ''UDP API Key'' in your [[profile]]'''. All data sent to the server will be logged with IP and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make Avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the database. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important ATM.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The package never reached the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get auto-creqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.net/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in Avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in auto-creqing yet (mov/mpg/rm ATM).<br />
<br />
===What's the current status?===<br />
Look [[Avdump status|here]].<br />
<br />
==Development==<br />
The source can be found [http://dev.anidb.net/websvn/listing.php?repname=AniDB+CSS&path=%2Ftrunk%2Fudp_clients%2Favdump%2F&rev=0&sc=0 here]. Avdump has only been built on MS Windows systems.<br />
<br />
===Required libraries===<br />
* zlib 1.2.3 - http://www.zlib.net/ (used by several other libs)<br />
* libebml 0.7.7 - http://dl.matroska.org/downloads/libebml/ (used by MatroskaUtils)<br />
* libmatroska 0.8.1 - http://dl.matroska.org/downloads/libmatroska/ (used by MatroskaUtils)<br />
* libogg 1.1.3 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* libvorbis 1.1.2 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* ZenLib CVS (09.09.2007) - http://sourceforge.net/projects/zenlib/ (used by MediaInfoLib)<br />
* MediaInfoLib CVS (09.09.2007) - http://sourceforge.net/projects/mediainfo/ (avi, mp4, etc. parsing)<br />
* ogmtools SVN (13.08.2005) - http://svn.corecodec.org/ogmtools (ogm parsing)<br />
* MatroskaUtils SVN (26.07.2005) - http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ (mkv parsing)<br />
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)<br />
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)<br />
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (XML generation)<br />
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.34.00 : 080316 - no need to redump your collection<br />
*New switch 'N'; No data output. Does not affect error messages or progress.<br />
*Print average hashing speed on -u.<br />
*Fixed minor issue with avg and std fps for mkv files with first timecode != 0.<br />
*Executable self-check to prevent bad versions/hw from submitting data.<br />
<br />
0.33.00 : 080106 - importance: medium<br />
*Fix: support for SimpleBlock @ mkv (affects only a few files atm).<br />
*Fix: -done was broken.<br />
*Fix: fps was rounded in -s and default output.<br />
*New switch '-host:<host name>', default is 'api.anidb.net'.<br />
<br />
0.32.01 : 071212 - importance: low<br />
*New switch 'v': use \n instead of \r @ progress.<br />
*New switch 'w': supress progress completely.<br />
*New switch 'ms:<ms>': monitor sleep duration in micro seconds.<br />
*Fix: don't export ed2k link on error.<br />
*Fix: only enumerate writable files.<br />
<br />
0.32.00 : 071016 - importance: high<br />
*OstFile proto.<br />
*Fixed 1000000 fps for some mkv files.<br />
*Fixed bitrate for some avi files.<br />
*Fixed hashing for large files.<br />
*Fixed parsing of large mkv files.<br />
*Fixed .sub files identified as mpg.<br />
*Faster hashing.<br />
*Both ed2k hashing algorithms.<br />
*Latest MediaInfoLib.<br />
<br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurs into sub-folders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Auto-creq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new auto-creq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not Vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the XML mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in XML mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (i.e. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes XML output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomiser bug.<br />
*Updated AniDB codec identifiers.<br />
*Added jni.<br />
*Changes in XML and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.net/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added AniDB AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added AniDB channel id (only in XML).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added AniDB video flags (only in XML).<br />
0.11 : 060509<br />
*Added AniDB codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added XML output (-x).<br />
*Added AniDB codec id, and some checking on fourcc vs user data.<br />
*Added AniDB lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now Unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]]<br />
[[Category:AniDB Clients]]<br />
[[Category:Avdump]]<br />
[[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=15096Avdump2010-06-06T14:52:43Z<p>Permidion: /* MS-DOS Batch File */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bit rates, the length, identifies the number of used audio channels and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit AniDB's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide AniDB with a tool to standardize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support auto-creqing by itself. See [[Avdump/Autocreqing|Avdump/Auto-creqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
{{eyecatch|Note|Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.}}<br />
*'''Currently Avdump only supports lower-case letters in user name, if your AniDB user name has capital letters, lower case them only for Avdump usage (as in, it's not needed to change your AniDB user name). If your AniDB user name contains symbols such as an underscore _, then you will actually need to remove that from your AniDB user name for Avdump usage.'''<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump issues|More...]]<br />
<br />
==Download==<br />
Latest version (18th March 2008) is 0.34.<br />
Get your copy of Avdump [http://static.anidb.net/client/avdump.rar HERE]!<br />
<br />
md5sum rar=225f2058812f601876fd5960bed95b74, exe=ee85a21848db15dc8bee3dd4180be953<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 100%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Info<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|'''ext''':<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|'''log''':<file path/name>||Mirror the output to the specified file.||<tt>log:avdump.log</tt><br />
|-<br />
|'''exp''':<file path/name>||Export ed2k-links to the specified file. Very useful when mass adding files.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|'''ac''':<username>:<udp_api_key>||Enable automatic creqing. You should always use this option when dumping anime files!||<tt>-ac:tard:monkey</tt><br />
|-<br />
|'''port''':<port number>||Use the specified UDP port for communication with the AniDB server (api.anidb.net). Only needed when behind "strict" firewalls.||<tt>port:1337</tt><br />
|-<br />
|'''done''':<file path/name>||Save processed-file-paths to the specified file and exlude existing entries.||<tt>done:done.txt</tt><br />
|-<br />
|'''tout''':<timeout_in_seconds>:<number_of_retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|-<br />
|'''bsize''':<KB_per_block>:<number_of_blocks>||Set size per block (2048 is default) and number of blocks in the circular buffer for hashing. If ''number of blocks'' is less than 2 then a plain single-threaded hasher is used. Might be useful if you got trouble with the default hasher.||<tt>bsize:512:16</tt><br />
|}<br />
<br/><br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br/><br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when auto-creqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into sub-folders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with auto-creqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep command window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, i.e. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Windows Shortcut===<br />
#Extract Avdump to a folder of choice.<br />
#:Example: <tt>"C:\Program Files\avdump\"</tt><br />
#Right-click <tt>avdump.exe</tt>, select ''Create Shortcut''.<br />
#Right-click the shortcut, add options to the ''Shortcut - Target'' line.<br />
#:Example, normal usage: <tt>"C:\Program Files\avdump\avdump.exe" -p</tt><br />
#:Example, auto-creq usage: <tt>"C:\Program Files\avdump\avdump.exe" -o -ac:''myName'':''udp_api_key''</tt><br />
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
#::A commandline option to export ED2K links to a file is by adding -exp: <tt>''C:\Path\filename.txt''</tt>, etc.<br />
#::Note that you need to set an '''UDP API Key''' in your AniDB profile for auto-creqing.<br />
#:Optional: Change ''Run'' to ''Maximized''.<br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br />
====Send to====<br />
#Move shortcut to the SendTo folder.<br />
#:Example, under XP: <tt>"C:\Documents and Settings\''Username''\SendTo"</tt><br />
#:Example, under Vista: <tt>"C:\Users\''Username''\AppData\Roaming\Microsoft\Windows\SendTo"</tt><br />
#::Where ''Username'' is your Windows Login-Name.<br />
#:Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, go to "Send To", choose <tt>avdump.exe</tt><br />
#Get [[Creq|CReqing]]<br />
<br />
===MS-DOS Batch File===<br />
#Extract Avdump to a folder of choice.<br />
#Create a MS-DOS batch file with the 2 lines below, and save it as ''filename.bat''.<br />
#<tt>@ECHO OFF</tt><br />
#<tt>C:\AVDumpPath\avdump.exe %1 -exp:''C:\Path\filename.txt'' -ac:''myName'':''udp_api_key''</tt><br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br />
===Graphical user interface===<br />
* ''See:'' '''[[Avdump GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
Something like <tt>-bsize:256:1</tt> ''(default is 2048)''<br />
<br />
== Auto-creqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way auto-creqing with Avdump works]]<br />
<br />
Avdump is now part of a new [[auto-creqing]] system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account '''and you have to define the ''api key'' in your [[profile]]'''. All data sent to the server will be logged with IP and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make Avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the database. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important ATM.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The package never reached the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get auto-creqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.net/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in Avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in auto-creqing yet (mov/mpg/rm ATM).<br />
<br />
===What's the current status?===<br />
Look [[Avdump status|here]].<br />
<br />
==Development==<br />
The source can be found [http://dev.anidb.net/websvn/listing.php?repname=AniDB+CSS&path=%2Ftrunk%2Fudp_clients%2Favdump%2F&rev=0&sc=0 here]. Avdump has only been built on MS Windows systems.<br />
<br />
===Required libraries===<br />
* zlib 1.2.3 - http://www.zlib.net/ (used by several other libs)<br />
* libebml 0.7.7 - http://dl.matroska.org/downloads/libebml/ (used by MatroskaUtils)<br />
* libmatroska 0.8.1 - http://dl.matroska.org/downloads/libmatroska/ (used by MatroskaUtils)<br />
* libogg 1.1.3 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* libvorbis 1.1.2 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* ZenLib CVS (09.09.2007) - http://sourceforge.net/projects/zenlib/ (used by MediaInfoLib)<br />
* MediaInfoLib CVS (09.09.2007) - http://sourceforge.net/projects/mediainfo/ (avi, mp4, etc. parsing)<br />
* ogmtools SVN (13.08.2005) - http://svn.corecodec.org/ogmtools (ogm parsing)<br />
* MatroskaUtils SVN (26.07.2005) - http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ (mkv parsing)<br />
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)<br />
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)<br />
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (XML generation)<br />
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.34.00 : 080316 - no need to redump your collection<br />
*New switch 'N'; No data output. Does not affect error messages or progress.<br />
*Print average hashing speed on -u.<br />
*Fixed minor issue with avg and std fps for mkv files with first timecode != 0.<br />
*Executable self-check to prevent bad versions/hw from submitting data.<br />
<br />
0.33.00 : 080106 - importance: medium<br />
*Fix: support for SimpleBlock @ mkv (affects only a few files atm).<br />
*Fix: -done was broken.<br />
*Fix: fps was rounded in -s and default output.<br />
*New switch '-host:<host name>', default is 'api.anidb.net'.<br />
<br />
0.32.01 : 071212 - importance: low<br />
*New switch 'v': use \n instead of \r @ progress.<br />
*New switch 'w': supress progress completely.<br />
*New switch 'ms:<ms>': monitor sleep duration in micro seconds.<br />
*Fix: don't export ed2k link on error.<br />
*Fix: only enumerate writable files.<br />
<br />
0.32.00 : 071016 - importance: high<br />
*OstFile proto.<br />
*Fixed 1000000 fps for some mkv files.<br />
*Fixed bitrate for some avi files.<br />
*Fixed hashing for large files.<br />
*Fixed parsing of large mkv files.<br />
*Fixed .sub files identified as mpg.<br />
*Faster hashing.<br />
*Both ed2k hashing algorithms.<br />
*Latest MediaInfoLib.<br />
<br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurs into sub-folders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Auto-creq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new auto-creq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not Vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the XML mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in XML mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (i.e. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes XML output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomiser bug.<br />
*Updated AniDB codec identifiers.<br />
*Added jni.<br />
*Changes in XML and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.net/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added AniDB AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added AniDB channel id (only in XML).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added AniDB video flags (only in XML).<br />
0.11 : 060509<br />
*Added AniDB codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added XML output (-x).<br />
*Added AniDB codec id, and some checking on fourcc vs user data.<br />
*Added AniDB lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now Unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]]<br />
[[Category:AniDB Clients]]<br />
[[Category:Avdump]]<br />
[[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=15095Avdump2010-06-06T14:52:11Z<p>Permidion: /* Windows Shortcut */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bit rates, the length, identifies the number of used audio channels and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit AniDB's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide AniDB with a tool to standardize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support auto-creqing by itself. See [[Avdump/Autocreqing|Avdump/Auto-creqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
{{eyecatch|Note|Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.}}<br />
*'''Currently Avdump only supports lower-case letters in user name, if your AniDB user name has capital letters, lower case them only for Avdump usage (as in, it's not needed to change your AniDB user name). If your AniDB user name contains symbols such as an underscore _, then you will actually need to remove that from your AniDB user name for Avdump usage.'''<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump issues|More...]]<br />
<br />
==Download==<br />
Latest version (18th March 2008) is 0.34.<br />
Get your copy of Avdump [http://static.anidb.net/client/avdump.rar HERE]!<br />
<br />
md5sum rar=225f2058812f601876fd5960bed95b74, exe=ee85a21848db15dc8bee3dd4180be953<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 100%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Info<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|'''ext''':<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|'''log''':<file path/name>||Mirror the output to the specified file.||<tt>log:avdump.log</tt><br />
|-<br />
|'''exp''':<file path/name>||Export ed2k-links to the specified file. Very useful when mass adding files.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|'''ac''':<username>:<udp_api_key>||Enable automatic creqing. You should always use this option when dumping anime files!||<tt>-ac:tard:monkey</tt><br />
|-<br />
|'''port''':<port number>||Use the specified UDP port for communication with the AniDB server (api.anidb.net). Only needed when behind "strict" firewalls.||<tt>port:1337</tt><br />
|-<br />
|'''done''':<file path/name>||Save processed-file-paths to the specified file and exlude existing entries.||<tt>done:done.txt</tt><br />
|-<br />
|'''tout''':<timeout_in_seconds>:<number_of_retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|-<br />
|'''bsize''':<KB_per_block>:<number_of_blocks>||Set size per block (2048 is default) and number of blocks in the circular buffer for hashing. If ''number of blocks'' is less than 2 then a plain single-threaded hasher is used. Might be useful if you got trouble with the default hasher.||<tt>bsize:512:16</tt><br />
|}<br />
<br/><br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br/><br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when auto-creqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into sub-folders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with auto-creqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep command window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, i.e. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Windows Shortcut===<br />
#Extract Avdump to a folder of choice.<br />
#:Example: <tt>"C:\Program Files\avdump\"</tt><br />
#Right-click <tt>avdump.exe</tt>, select ''Create Shortcut''.<br />
#Right-click the shortcut, add options to the ''Shortcut - Target'' line.<br />
#:Example, normal usage: <tt>"C:\Program Files\avdump\avdump.exe" -p</tt><br />
#:Example, auto-creq usage: <tt>"C:\Program Files\avdump\avdump.exe" -o -ac:''myName'':''udp_api_key''</tt><br />
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
#::A commandline option to export ED2K links to a file is by adding -exp: <tt>''C:\Path\filename.txt''</tt>, etc.<br />
#::Note that you need to set an '''UDP API Key''' in your AniDB profile for auto-creqing.<br />
#:Optional: Change ''Run'' to ''Maximized''.<br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br />
====Send to====<br />
#Move shortcut to the SendTo folder.<br />
#:Example, under XP: <tt>"C:\Documents and Settings\''Username''\SendTo"</tt><br />
#:Example, under Vista: <tt>"C:\Users\''Username''\AppData\Roaming\Microsoft\Windows\SendTo"</tt><br />
#::Where ''Username'' is your Windows Login-Name.<br />
#:Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, go to "Send To", choose <tt>avdump.exe</tt><br />
#Get [[Creq|CReqing]]<br />
<br />
===MS-DOS Batch File===<br />
#Extract Avdump to a folder of choice.<br />
#Create a MS-DOS batch file with the 2 lines below, and save it as ''filename.bat''.<br />
#<tt>@ECHO OFF</tt><br />
#<tt>C:\AVDumpPath\avdump.exe %1 -exp:''C:\Path\filename.txt'' -ac:''myName'':''myApiPass''</tt><br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
===Graphical user interface===<br />
* ''See:'' '''[[Avdump GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
Something like <tt>-bsize:256:1</tt> ''(default is 2048)''<br />
<br />
== Auto-creqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way auto-creqing with Avdump works]]<br />
<br />
Avdump is now part of a new [[auto-creqing]] system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account '''and you have to define the ''api key'' in your [[profile]]'''. All data sent to the server will be logged with IP and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make Avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the database. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important ATM.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The package never reached the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get auto-creqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.net/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in Avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in auto-creqing yet (mov/mpg/rm ATM).<br />
<br />
===What's the current status?===<br />
Look [[Avdump status|here]].<br />
<br />
==Development==<br />
The source can be found [http://dev.anidb.net/websvn/listing.php?repname=AniDB+CSS&path=%2Ftrunk%2Fudp_clients%2Favdump%2F&rev=0&sc=0 here]. Avdump has only been built on MS Windows systems.<br />
<br />
===Required libraries===<br />
* zlib 1.2.3 - http://www.zlib.net/ (used by several other libs)<br />
* libebml 0.7.7 - http://dl.matroska.org/downloads/libebml/ (used by MatroskaUtils)<br />
* libmatroska 0.8.1 - http://dl.matroska.org/downloads/libmatroska/ (used by MatroskaUtils)<br />
* libogg 1.1.3 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* libvorbis 1.1.2 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* ZenLib CVS (09.09.2007) - http://sourceforge.net/projects/zenlib/ (used by MediaInfoLib)<br />
* MediaInfoLib CVS (09.09.2007) - http://sourceforge.net/projects/mediainfo/ (avi, mp4, etc. parsing)<br />
* ogmtools SVN (13.08.2005) - http://svn.corecodec.org/ogmtools (ogm parsing)<br />
* MatroskaUtils SVN (26.07.2005) - http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ (mkv parsing)<br />
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)<br />
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)<br />
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (XML generation)<br />
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.34.00 : 080316 - no need to redump your collection<br />
*New switch 'N'; No data output. Does not affect error messages or progress.<br />
*Print average hashing speed on -u.<br />
*Fixed minor issue with avg and std fps for mkv files with first timecode != 0.<br />
*Executable self-check to prevent bad versions/hw from submitting data.<br />
<br />
0.33.00 : 080106 - importance: medium<br />
*Fix: support for SimpleBlock @ mkv (affects only a few files atm).<br />
*Fix: -done was broken.<br />
*Fix: fps was rounded in -s and default output.<br />
*New switch '-host:<host name>', default is 'api.anidb.net'.<br />
<br />
0.32.01 : 071212 - importance: low<br />
*New switch 'v': use \n instead of \r @ progress.<br />
*New switch 'w': supress progress completely.<br />
*New switch 'ms:<ms>': monitor sleep duration in micro seconds.<br />
*Fix: don't export ed2k link on error.<br />
*Fix: only enumerate writable files.<br />
<br />
0.32.00 : 071016 - importance: high<br />
*OstFile proto.<br />
*Fixed 1000000 fps for some mkv files.<br />
*Fixed bitrate for some avi files.<br />
*Fixed hashing for large files.<br />
*Fixed parsing of large mkv files.<br />
*Fixed .sub files identified as mpg.<br />
*Faster hashing.<br />
*Both ed2k hashing algorithms.<br />
*Latest MediaInfoLib.<br />
<br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurs into sub-folders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Auto-creq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new auto-creq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not Vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the XML mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in XML mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (i.e. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes XML output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomiser bug.<br />
*Updated AniDB codec identifiers.<br />
*Added jni.<br />
*Changes in XML and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.net/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added AniDB AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added AniDB channel id (only in XML).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added AniDB video flags (only in XML).<br />
0.11 : 060509<br />
*Added AniDB codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added XML output (-x).<br />
*Added AniDB codec id, and some checking on fourcc vs user data.<br />
*Added AniDB lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now Unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]]<br />
[[Category:AniDB Clients]]<br />
[[Category:Avdump]]<br />
[[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=15094Avdump2010-06-06T14:51:07Z<p>Permidion: /* Windows Shortcut */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bit rates, the length, identifies the number of used audio channels and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit AniDB's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide AniDB with a tool to standardize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support auto-creqing by itself. See [[Avdump/Autocreqing|Avdump/Auto-creqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
{{eyecatch|Note|Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.}}<br />
*'''Currently Avdump only supports lower-case letters in user name, if your AniDB user name has capital letters, lower case them only for Avdump usage (as in, it's not needed to change your AniDB user name). If your AniDB user name contains symbols such as an underscore _, then you will actually need to remove that from your AniDB user name for Avdump usage.'''<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump issues|More...]]<br />
<br />
==Download==<br />
Latest version (18th March 2008) is 0.34.<br />
Get your copy of Avdump [http://static.anidb.net/client/avdump.rar HERE]!<br />
<br />
md5sum rar=225f2058812f601876fd5960bed95b74, exe=ee85a21848db15dc8bee3dd4180be953<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 100%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Info<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|'''ext''':<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|'''log''':<file path/name>||Mirror the output to the specified file.||<tt>log:avdump.log</tt><br />
|-<br />
|'''exp''':<file path/name>||Export ed2k-links to the specified file. Very useful when mass adding files.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|'''ac''':<username>:<udp_api_key>||Enable automatic creqing. You should always use this option when dumping anime files!||<tt>-ac:tard:monkey</tt><br />
|-<br />
|'''port''':<port number>||Use the specified UDP port for communication with the AniDB server (api.anidb.net). Only needed when behind "strict" firewalls.||<tt>port:1337</tt><br />
|-<br />
|'''done''':<file path/name>||Save processed-file-paths to the specified file and exlude existing entries.||<tt>done:done.txt</tt><br />
|-<br />
|'''tout''':<timeout_in_seconds>:<number_of_retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|-<br />
|'''bsize''':<KB_per_block>:<number_of_blocks>||Set size per block (2048 is default) and number of blocks in the circular buffer for hashing. If ''number of blocks'' is less than 2 then a plain single-threaded hasher is used. Might be useful if you got trouble with the default hasher.||<tt>bsize:512:16</tt><br />
|}<br />
<br/><br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br/><br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when auto-creqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into sub-folders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with auto-creqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep command window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, i.e. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Windows Shortcut===<br />
#Extract Avdump to a folder of choice.<br />
#:Example: <tt>"C:\Program Files\avdump\"</tt><br />
#Right-click <tt>avdump.exe</tt>, select ''Create Shortcut''.<br />
#Right-click the shortcut, add options to the ''Shortcut - Target'' line.<br />
#:Example, normal usage: <tt>"C:\Program Files\avdump\avdump.exe" -p</tt><br />
#:Example, auto-creq usage: <tt>"C:\Program Files\avdump\avdump.exe" -o -ac:''myName'':''udp_api_key''</tt><br />
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
#::A commandline option to export ED2K links to a file is by adding -exp: <tt>''C:\Path\filename.txt''</tt>, etc.<br />
#::Note that you need to set an API password in your AniDB profile for auto-creqing.<br />
#:Optional: Change ''Run'' to ''Maximized''.<br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br />
====Send to====<br />
#Move shortcut to the SendTo folder.<br />
#:Example, under XP: <tt>"C:\Documents and Settings\''Username''\SendTo"</tt><br />
#:Example, under Vista: <tt>"C:\Users\''Username''\AppData\Roaming\Microsoft\Windows\SendTo"</tt><br />
#::Where ''Username'' is your Windows Login-Name.<br />
#:Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, go to "Send To", choose <tt>avdump.exe</tt><br />
#Get [[Creq|CReqing]]<br />
<br />
===MS-DOS Batch File===<br />
#Extract Avdump to a folder of choice.<br />
#Create a MS-DOS batch file with the 2 lines below, and save it as ''filename.bat''.<br />
#<tt>@ECHO OFF</tt><br />
#<tt>C:\AVDumpPath\avdump.exe %1 -exp:''C:\Path\filename.txt'' -ac:''myName'':''myApiPass''</tt><br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
===Graphical user interface===<br />
* ''See:'' '''[[Avdump GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
Something like <tt>-bsize:256:1</tt> ''(default is 2048)''<br />
<br />
== Auto-creqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way auto-creqing with Avdump works]]<br />
<br />
Avdump is now part of a new [[auto-creqing]] system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account '''and you have to define the ''api key'' in your [[profile]]'''. All data sent to the server will be logged with IP and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make Avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the database. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important ATM.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The package never reached the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get auto-creqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.net/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in Avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in auto-creqing yet (mov/mpg/rm ATM).<br />
<br />
===What's the current status?===<br />
Look [[Avdump status|here]].<br />
<br />
==Development==<br />
The source can be found [http://dev.anidb.net/websvn/listing.php?repname=AniDB+CSS&path=%2Ftrunk%2Fudp_clients%2Favdump%2F&rev=0&sc=0 here]. Avdump has only been built on MS Windows systems.<br />
<br />
===Required libraries===<br />
* zlib 1.2.3 - http://www.zlib.net/ (used by several other libs)<br />
* libebml 0.7.7 - http://dl.matroska.org/downloads/libebml/ (used by MatroskaUtils)<br />
* libmatroska 0.8.1 - http://dl.matroska.org/downloads/libmatroska/ (used by MatroskaUtils)<br />
* libogg 1.1.3 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* libvorbis 1.1.2 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* ZenLib CVS (09.09.2007) - http://sourceforge.net/projects/zenlib/ (used by MediaInfoLib)<br />
* MediaInfoLib CVS (09.09.2007) - http://sourceforge.net/projects/mediainfo/ (avi, mp4, etc. parsing)<br />
* ogmtools SVN (13.08.2005) - http://svn.corecodec.org/ogmtools (ogm parsing)<br />
* MatroskaUtils SVN (26.07.2005) - http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ (mkv parsing)<br />
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)<br />
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)<br />
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (XML generation)<br />
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.34.00 : 080316 - no need to redump your collection<br />
*New switch 'N'; No data output. Does not affect error messages or progress.<br />
*Print average hashing speed on -u.<br />
*Fixed minor issue with avg and std fps for mkv files with first timecode != 0.<br />
*Executable self-check to prevent bad versions/hw from submitting data.<br />
<br />
0.33.00 : 080106 - importance: medium<br />
*Fix: support for SimpleBlock @ mkv (affects only a few files atm).<br />
*Fix: -done was broken.<br />
*Fix: fps was rounded in -s and default output.<br />
*New switch '-host:<host name>', default is 'api.anidb.net'.<br />
<br />
0.32.01 : 071212 - importance: low<br />
*New switch 'v': use \n instead of \r @ progress.<br />
*New switch 'w': supress progress completely.<br />
*New switch 'ms:<ms>': monitor sleep duration in micro seconds.<br />
*Fix: don't export ed2k link on error.<br />
*Fix: only enumerate writable files.<br />
<br />
0.32.00 : 071016 - importance: high<br />
*OstFile proto.<br />
*Fixed 1000000 fps for some mkv files.<br />
*Fixed bitrate for some avi files.<br />
*Fixed hashing for large files.<br />
*Fixed parsing of large mkv files.<br />
*Fixed .sub files identified as mpg.<br />
*Faster hashing.<br />
*Both ed2k hashing algorithms.<br />
*Latest MediaInfoLib.<br />
<br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurs into sub-folders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Auto-creq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new auto-creq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not Vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the XML mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in XML mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (i.e. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes XML output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomiser bug.<br />
*Updated AniDB codec identifiers.<br />
*Added jni.<br />
*Changes in XML and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.net/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added AniDB AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added AniDB channel id (only in XML).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added AniDB video flags (only in XML).<br />
0.11 : 060509<br />
*Added AniDB codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added XML output (-x).<br />
*Added AniDB codec id, and some checking on fourcc vs user data.<br />
*Added AniDB lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now Unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]]<br />
[[Category:AniDB Clients]]<br />
[[Category:Avdump]]<br />
[[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=15093Avdump2010-06-06T14:49:10Z<p>Permidion: /* Options */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bit rates, the length, identifies the number of used audio channels and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit AniDB's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide AniDB with a tool to standardize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support auto-creqing by itself. See [[Avdump/Autocreqing|Avdump/Auto-creqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
{{eyecatch|Note|Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.}}<br />
*'''Currently Avdump only supports lower-case letters in user name, if your AniDB user name has capital letters, lower case them only for Avdump usage (as in, it's not needed to change your AniDB user name). If your AniDB user name contains symbols such as an underscore _, then you will actually need to remove that from your AniDB user name for Avdump usage.'''<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump issues|More...]]<br />
<br />
==Download==<br />
Latest version (18th March 2008) is 0.34.<br />
Get your copy of Avdump [http://static.anidb.net/client/avdump.rar HERE]!<br />
<br />
md5sum rar=225f2058812f601876fd5960bed95b74, exe=ee85a21848db15dc8bee3dd4180be953<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 100%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Info<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|'''ext''':<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|'''log''':<file path/name>||Mirror the output to the specified file.||<tt>log:avdump.log</tt><br />
|-<br />
|'''exp''':<file path/name>||Export ed2k-links to the specified file. Very useful when mass adding files.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|'''ac''':<username>:<udp_api_key>||Enable automatic creqing. You should always use this option when dumping anime files!||<tt>-ac:tard:monkey</tt><br />
|-<br />
|'''port''':<port number>||Use the specified UDP port for communication with the AniDB server (api.anidb.net). Only needed when behind "strict" firewalls.||<tt>port:1337</tt><br />
|-<br />
|'''done''':<file path/name>||Save processed-file-paths to the specified file and exlude existing entries.||<tt>done:done.txt</tt><br />
|-<br />
|'''tout''':<timeout_in_seconds>:<number_of_retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|-<br />
|'''bsize''':<KB_per_block>:<number_of_blocks>||Set size per block (2048 is default) and number of blocks in the circular buffer for hashing. If ''number of blocks'' is less than 2 then a plain single-threaded hasher is used. Might be useful if you got trouble with the default hasher.||<tt>bsize:512:16</tt><br />
|}<br />
<br/><br />
{{eyecatch|Note|'''The ''udp_api_key'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br/><br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when auto-creqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into sub-folders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with auto-creqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep command window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, i.e. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Windows Shortcut===<br />
#Extract Avdump to a folder of choice.<br />
#:Example: <tt>"C:\Program Files\avdump\"</tt><br />
#Right-click <tt>avdump.exe</tt>, select ''Create Shortcut''.<br />
#Right-click the shortcut, add options to the ''Shortcut - Target'' line.<br />
#:Example, normal usage: <tt>"C:\Program Files\avdump\avdump.exe" -p</tt><br />
#:Example, auto-creq usage: <tt>"C:\Program Files\avdump\avdump.exe" -o -ac:''myName'':''myApiPass''</tt><br />
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
#::A commandline option to export ED2K links to a file is by adding -exp: <tt>''C:\Path\filename.txt''</tt>, etc.<br />
#::Note that you need to set an API password in your AniDB profile for auto-creqing.<br />
#:Optional: Change ''Run'' to ''Maximized''.<br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
====Send to====<br />
#Move shortcut to the SendTo folder.<br />
#:Example, under XP: <tt>"C:\Documents and Settings\''Username''\SendTo"</tt><br />
#:Example, under Vista: <tt>"C:\Users\''Username''\AppData\Roaming\Microsoft\Windows\SendTo"</tt><br />
#::Where ''Username'' is your Windows Login-Name.<br />
#:Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, go to "Send To", choose <tt>avdump.exe</tt><br />
#Get [[Creq|CReqing]]<br />
<br />
===MS-DOS Batch File===<br />
#Extract Avdump to a folder of choice.<br />
#Create a MS-DOS batch file with the 2 lines below, and save it as ''filename.bat''.<br />
#<tt>@ECHO OFF</tt><br />
#<tt>C:\AVDumpPath\avdump.exe %1 -exp:''C:\Path\filename.txt'' -ac:''myName'':''myApiPass''</tt><br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
===Graphical user interface===<br />
* ''See:'' '''[[Avdump GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
Something like <tt>-bsize:256:1</tt> ''(default is 2048)''<br />
<br />
== Auto-creqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way auto-creqing with Avdump works]]<br />
<br />
Avdump is now part of a new [[auto-creqing]] system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account '''and you have to define the ''api key'' in your [[profile]]'''. All data sent to the server will be logged with IP and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make Avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the database. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important ATM.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The package never reached the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get auto-creqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.net/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in Avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in auto-creqing yet (mov/mpg/rm ATM).<br />
<br />
===What's the current status?===<br />
Look [[Avdump status|here]].<br />
<br />
==Development==<br />
The source can be found [http://dev.anidb.net/websvn/listing.php?repname=AniDB+CSS&path=%2Ftrunk%2Fudp_clients%2Favdump%2F&rev=0&sc=0 here]. Avdump has only been built on MS Windows systems.<br />
<br />
===Required libraries===<br />
* zlib 1.2.3 - http://www.zlib.net/ (used by several other libs)<br />
* libebml 0.7.7 - http://dl.matroska.org/downloads/libebml/ (used by MatroskaUtils)<br />
* libmatroska 0.8.1 - http://dl.matroska.org/downloads/libmatroska/ (used by MatroskaUtils)<br />
* libogg 1.1.3 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* libvorbis 1.1.2 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* ZenLib CVS (09.09.2007) - http://sourceforge.net/projects/zenlib/ (used by MediaInfoLib)<br />
* MediaInfoLib CVS (09.09.2007) - http://sourceforge.net/projects/mediainfo/ (avi, mp4, etc. parsing)<br />
* ogmtools SVN (13.08.2005) - http://svn.corecodec.org/ogmtools (ogm parsing)<br />
* MatroskaUtils SVN (26.07.2005) - http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ (mkv parsing)<br />
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)<br />
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)<br />
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (XML generation)<br />
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.34.00 : 080316 - no need to redump your collection<br />
*New switch 'N'; No data output. Does not affect error messages or progress.<br />
*Print average hashing speed on -u.<br />
*Fixed minor issue with avg and std fps for mkv files with first timecode != 0.<br />
*Executable self-check to prevent bad versions/hw from submitting data.<br />
<br />
0.33.00 : 080106 - importance: medium<br />
*Fix: support for SimpleBlock @ mkv (affects only a few files atm).<br />
*Fix: -done was broken.<br />
*Fix: fps was rounded in -s and default output.<br />
*New switch '-host:<host name>', default is 'api.anidb.net'.<br />
<br />
0.32.01 : 071212 - importance: low<br />
*New switch 'v': use \n instead of \r @ progress.<br />
*New switch 'w': supress progress completely.<br />
*New switch 'ms:<ms>': monitor sleep duration in micro seconds.<br />
*Fix: don't export ed2k link on error.<br />
*Fix: only enumerate writable files.<br />
<br />
0.32.00 : 071016 - importance: high<br />
*OstFile proto.<br />
*Fixed 1000000 fps for some mkv files.<br />
*Fixed bitrate for some avi files.<br />
*Fixed hashing for large files.<br />
*Fixed parsing of large mkv files.<br />
*Fixed .sub files identified as mpg.<br />
*Faster hashing.<br />
*Both ed2k hashing algorithms.<br />
*Latest MediaInfoLib.<br />
<br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurs into sub-folders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Auto-creq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new auto-creq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not Vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the XML mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in XML mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (i.e. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes XML output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomiser bug.<br />
*Updated AniDB codec identifiers.<br />
*Added jni.<br />
*Changes in XML and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.net/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added AniDB AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added AniDB channel id (only in XML).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added AniDB video flags (only in XML).<br />
0.11 : 060509<br />
*Added AniDB codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added XML output (-x).<br />
*Added AniDB codec id, and some checking on fourcc vs user data.<br />
*Added AniDB lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now Unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]]<br />
[[Category:AniDB Clients]]<br />
[[Category:Avdump]]<br />
[[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=15092Avdump2010-06-06T14:46:30Z<p>Permidion: /* Options */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bit rates, the length, identifies the number of used audio channels and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit AniDB's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide AniDB with a tool to standardize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support auto-creqing by itself. See [[Avdump/Autocreqing|Avdump/Auto-creqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
{{eyecatch|Note|Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.}}<br />
*'''Currently Avdump only supports lower-case letters in user name, if your AniDB user name has capital letters, lower case them only for Avdump usage (as in, it's not needed to change your AniDB user name). If your AniDB user name contains symbols such as an underscore _, then you will actually need to remove that from your AniDB user name for Avdump usage.'''<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump issues|More...]]<br />
<br />
==Download==<br />
Latest version (18th March 2008) is 0.34.<br />
Get your copy of Avdump [http://static.anidb.net/client/avdump.rar HERE]!<br />
<br />
md5sum rar=225f2058812f601876fd5960bed95b74, exe=ee85a21848db15dc8bee3dd4180be953<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 100%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Info<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|'''ext''':<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|'''log''':<file path/name>||Mirror the output to the specified file.||<tt>log:avdump.log</tt><br />
|-<br />
|'''exp''':<file path/name>||Export ed2k-links to the specified file. Very useful when mass adding files.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|'''ac''':<username>:<api_password>||Enable automatic creqing. You should always use this option when dumping anime files!||<tt>-ac:tard:monkey</tt><br />
|-<br />
|'''port''':<port number>||Use the specified UDP port for communication with the AniDB server (api.anidb.net). Only needed when behind "strict" firewalls.||<tt>port:1337</tt><br />
|-<br />
|'''done''':<file path/name>||Save processed-file-paths to the specified file and exlude existing entries.||<tt>done:done.txt</tt><br />
|-<br />
|'''tout''':<timeout_in_seconds>:<number_of_retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|-<br />
|'''bsize''':<KB_per_block>:<number_of_blocks>||Set size per block (2048 is default) and number of blocks in the circular buffer for hashing. If ''number of blocks'' is less than 2 then a plain single-threaded hasher is used. Might be useful if you got trouble with the default hasher.||<tt>bsize:512:16</tt><br />
|}<br />
<br/><br />
{{eyecatch|Note|'''The ''api_password'' is not your user password!!! see [[Avdump#Auto-creqing|Auto-creqing]] .}}<br />
<br/><br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when auto-creqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into sub-folders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with auto-creqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep command window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, i.e. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Windows Shortcut===<br />
#Extract Avdump to a folder of choice.<br />
#:Example: <tt>"C:\Program Files\avdump\"</tt><br />
#Right-click <tt>avdump.exe</tt>, select ''Create Shortcut''.<br />
#Right-click the shortcut, add options to the ''Shortcut - Target'' line.<br />
#:Example, normal usage: <tt>"C:\Program Files\avdump\avdump.exe" -p</tt><br />
#:Example, auto-creq usage: <tt>"C:\Program Files\avdump\avdump.exe" -o -ac:''myName'':''myApiPass''</tt><br />
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
#::A commandline option to export ED2K links to a file is by adding -exp: <tt>''C:\Path\filename.txt''</tt>, etc.<br />
#::Note that you need to set an API password in your AniDB profile for auto-creqing.<br />
#:Optional: Change ''Run'' to ''Maximized''.<br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
====Send to====<br />
#Move shortcut to the SendTo folder.<br />
#:Example, under XP: <tt>"C:\Documents and Settings\''Username''\SendTo"</tt><br />
#:Example, under Vista: <tt>"C:\Users\''Username''\AppData\Roaming\Microsoft\Windows\SendTo"</tt><br />
#::Where ''Username'' is your Windows Login-Name.<br />
#:Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, go to "Send To", choose <tt>avdump.exe</tt><br />
#Get [[Creq|CReqing]]<br />
<br />
===MS-DOS Batch File===<br />
#Extract Avdump to a folder of choice.<br />
#Create a MS-DOS batch file with the 2 lines below, and save it as ''filename.bat''.<br />
#<tt>@ECHO OFF</tt><br />
#<tt>C:\AVDumpPath\avdump.exe %1 -exp:''C:\Path\filename.txt'' -ac:''myName'':''myApiPass''</tt><br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
===Graphical user interface===<br />
* ''See:'' '''[[Avdump GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
Something like <tt>-bsize:256:1</tt> ''(default is 2048)''<br />
<br />
== Auto-creqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way auto-creqing with Avdump works]]<br />
<br />
Avdump is now part of a new [[auto-creqing]] system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account '''and you have to define the ''api key'' in your [[profile]]'''. All data sent to the server will be logged with IP and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make Avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the database. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important ATM.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The package never reached the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get auto-creqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.net/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in Avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in auto-creqing yet (mov/mpg/rm ATM).<br />
<br />
===What's the current status?===<br />
Look [[Avdump status|here]].<br />
<br />
==Development==<br />
The source can be found [http://dev.anidb.net/websvn/listing.php?repname=AniDB+CSS&path=%2Ftrunk%2Fudp_clients%2Favdump%2F&rev=0&sc=0 here]. Avdump has only been built on MS Windows systems.<br />
<br />
===Required libraries===<br />
* zlib 1.2.3 - http://www.zlib.net/ (used by several other libs)<br />
* libebml 0.7.7 - http://dl.matroska.org/downloads/libebml/ (used by MatroskaUtils)<br />
* libmatroska 0.8.1 - http://dl.matroska.org/downloads/libmatroska/ (used by MatroskaUtils)<br />
* libogg 1.1.3 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* libvorbis 1.1.2 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* ZenLib CVS (09.09.2007) - http://sourceforge.net/projects/zenlib/ (used by MediaInfoLib)<br />
* MediaInfoLib CVS (09.09.2007) - http://sourceforge.net/projects/mediainfo/ (avi, mp4, etc. parsing)<br />
* ogmtools SVN (13.08.2005) - http://svn.corecodec.org/ogmtools (ogm parsing)<br />
* MatroskaUtils SVN (26.07.2005) - http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ (mkv parsing)<br />
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)<br />
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)<br />
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (XML generation)<br />
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.34.00 : 080316 - no need to redump your collection<br />
*New switch 'N'; No data output. Does not affect error messages or progress.<br />
*Print average hashing speed on -u.<br />
*Fixed minor issue with avg and std fps for mkv files with first timecode != 0.<br />
*Executable self-check to prevent bad versions/hw from submitting data.<br />
<br />
0.33.00 : 080106 - importance: medium<br />
*Fix: support for SimpleBlock @ mkv (affects only a few files atm).<br />
*Fix: -done was broken.<br />
*Fix: fps was rounded in -s and default output.<br />
*New switch '-host:<host name>', default is 'api.anidb.net'.<br />
<br />
0.32.01 : 071212 - importance: low<br />
*New switch 'v': use \n instead of \r @ progress.<br />
*New switch 'w': supress progress completely.<br />
*New switch 'ms:<ms>': monitor sleep duration in micro seconds.<br />
*Fix: don't export ed2k link on error.<br />
*Fix: only enumerate writable files.<br />
<br />
0.32.00 : 071016 - importance: high<br />
*OstFile proto.<br />
*Fixed 1000000 fps for some mkv files.<br />
*Fixed bitrate for some avi files.<br />
*Fixed hashing for large files.<br />
*Fixed parsing of large mkv files.<br />
*Fixed .sub files identified as mpg.<br />
*Faster hashing.<br />
*Both ed2k hashing algorithms.<br />
*Latest MediaInfoLib.<br />
<br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurs into sub-folders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Auto-creq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new auto-creq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not Vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the XML mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in XML mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (i.e. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes XML output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomiser bug.<br />
*Updated AniDB codec identifiers.<br />
*Added jni.<br />
*Changes in XML and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.net/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added AniDB AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added AniDB channel id (only in XML).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added AniDB video flags (only in XML).<br />
0.11 : 060509<br />
*Added AniDB codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added XML output (-x).<br />
*Added AniDB codec id, and some checking on fourcc vs user data.<br />
*Added AniDB lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now Unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]]<br />
[[Category:AniDB Clients]]<br />
[[Category:Avdump]]<br />
[[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=15090Avdump2010-06-06T14:29:58Z<p>Permidion: /* Auto-creqing */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bit rates, the length, identifies the number of used audio channels and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit AniDB's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide AniDB with a tool to standardize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support auto-creqing by itself. See [[Avdump/Autocreqing|Avdump/Auto-creqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
{{eyecatch|Note|Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.}}<br />
*'''Currently Avdump only supports lower-case letters in user name, if your AniDB user name has capital letters, lower case them only for Avdump usage (as in, it's not needed to change your AniDB user name). If your AniDB user name contains symbols such as an underscore _, then you will actually need to remove that from your AniDB user name for Avdump usage.'''<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump issues|More...]]<br />
<br />
==Download==<br />
Latest version (18th March 2008) is 0.34.<br />
Get your copy of Avdump [http://static.anidb.net/client/avdump.rar HERE]!<br />
<br />
md5sum rar=225f2058812f601876fd5960bed95b74, exe=ee85a21848db15dc8bee3dd4180be953<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [[Wikipedia:Command line interface|command line]] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 100%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Info<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|'''ext''':<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|'''log''':<file path/name>||Mirror the output to the specified file.||<tt>log:avdump.log</tt><br />
|-<br />
|'''exp''':<file path/name>||Export ed2k-links to the specified file. Very useful when mass adding files.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|'''ac''':<username>:<api_password>||Enable automatic creqing. You should always use this option when dumping anime files!||<tt>-ac:tard:monkey</tt><br />
|-<br />
|'''port''':<port number>||Use the specified UDP port for communication with the AniDB server (api.anidb.net). Only needed when behind "strict" firewalls.||<tt>port:1337</tt><br />
|-<br />
|'''done''':<file path/name>||Save processed-file-paths to the specified file and exlude existing entries.||<tt>done:done.txt</tt><br />
|-<br />
|'''tout''':<timeout_in_seconds>:<number_of_retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|-<br />
|'''bsize''':<KB_per_block>:<number_of_blocks>||Set size per block (2048 is default) and number of blocks in the circular buffer for hashing. If ''number of blocks'' is less than 2 then a plain single-threaded hasher is used. Might be useful if you got trouble with the default hasher.||<tt>bsize:512:16</tt><br />
|}<br />
<br />
<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when auto-creqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into sub-folders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with auto-creqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep command window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, i.e. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Windows Shortcut===<br />
#Extract Avdump to a folder of choice.<br />
#:Example: <tt>"C:\Program Files\avdump\"</tt><br />
#Right-click <tt>avdump.exe</tt>, select ''Create Shortcut''.<br />
#Right-click the shortcut, add options to the ''Shortcut - Target'' line.<br />
#:Example, normal usage: <tt>"C:\Program Files\avdump\avdump.exe" -p</tt><br />
#:Example, auto-creq usage: <tt>"C:\Program Files\avdump\avdump.exe" -o -ac:''myName'':''myApiPass''</tt><br />
#::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
#::A commandline option to export ED2K links to a file is by adding -exp: <tt>''C:\Path\filename.txt''</tt>, etc.<br />
#::Note that you need to set an API password in your AniDB profile for auto-creqing.<br />
#:Optional: Change ''Run'' to ''Maximized''.<br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
====Send to====<br />
#Move shortcut to the SendTo folder.<br />
#:Example, under XP: <tt>"C:\Documents and Settings\''Username''\SendTo"</tt><br />
#:Example, under Vista: <tt>"C:\Users\''Username''\AppData\Roaming\Microsoft\Windows\SendTo"</tt><br />
#::Where ''Username'' is your Windows Login-Name.<br />
#:Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, go to "Send To", choose <tt>avdump.exe</tt><br />
#Get [[Creq|CReqing]]<br />
<br />
===MS-DOS Batch File===<br />
#Extract Avdump to a folder of choice.<br />
#Create a MS-DOS batch file with the 2 lines below, and save it as ''filename.bat''.<br />
#<tt>@ECHO OFF</tt><br />
#<tt>C:\AVDumpPath\avdump.exe %1 -exp:''C:\Path\filename.txt'' -ac:''myName'':''myApiPass''</tt><br />
#Drag and drop any media-file onto the shortcut.<br />
<br />
===Graphical user interface===<br />
* ''See:'' '''[[Avdump GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
Something like <tt>-bsize:256:1</tt> ''(default is 2048)''<br />
<br />
== Auto-creqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way auto-creqing with Avdump works]]<br />
<br />
Avdump is now part of a new [[auto-creqing]] system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account '''and you have to define the ''api key'' in your [[profile]]'''. All data sent to the server will be logged with IP and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make Avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the database. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important ATM.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The package never reached the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get auto-creqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.net/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in Avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in auto-creqing yet (mov/mpg/rm ATM).<br />
<br />
===What's the current status?===<br />
Look [[Avdump status|here]].<br />
<br />
==Development==<br />
The source can be found [http://dev.anidb.net/websvn/listing.php?repname=AniDB+CSS&path=%2Ftrunk%2Fudp_clients%2Favdump%2F&rev=0&sc=0 here]. Avdump has only been built on MS Windows systems.<br />
<br />
===Required libraries===<br />
* zlib 1.2.3 - http://www.zlib.net/ (used by several other libs)<br />
* libebml 0.7.7 - http://dl.matroska.org/downloads/libebml/ (used by MatroskaUtils)<br />
* libmatroska 0.8.1 - http://dl.matroska.org/downloads/libmatroska/ (used by MatroskaUtils)<br />
* libogg 1.1.3 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* libvorbis 1.1.2 - http://www.xiph.org/downloads/ (used by ogmtools)<br />
* ZenLib CVS (09.09.2007) - http://sourceforge.net/projects/zenlib/ (used by MediaInfoLib)<br />
* MediaInfoLib CVS (09.09.2007) - http://sourceforge.net/projects/mediainfo/ (avi, mp4, etc. parsing)<br />
* ogmtools SVN (13.08.2005) - http://svn.corecodec.org/ogmtools (ogm parsing)<br />
* MatroskaUtils SVN (26.07.2005) - http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ (mkv parsing)<br />
* libFooID 1.0 - http://foosic.org/libfooid.php (fooid fingerprint)<br />
* mpg123-0.65 - http://www.mpg123.de/ (mp3 decoding)<br />
* tinyxml 1.0.1 - http://www.grinninglizard.com/tinyxml/ (XML generation)<br />
* wxWidgets-2.8.7 - http://www.wxwidgets.org/ (used by MediaInfoLib and avdump.exe)<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.34.00 : 080316 - no need to redump your collection<br />
*New switch 'N'; No data output. Does not affect error messages or progress.<br />
*Print average hashing speed on -u.<br />
*Fixed minor issue with avg and std fps for mkv files with first timecode != 0.<br />
*Executable self-check to prevent bad versions/hw from submitting data.<br />
<br />
0.33.00 : 080106 - importance: medium<br />
*Fix: support for SimpleBlock @ mkv (affects only a few files atm).<br />
*Fix: -done was broken.<br />
*Fix: fps was rounded in -s and default output.<br />
*New switch '-host:<host name>', default is 'api.anidb.net'.<br />
<br />
0.32.01 : 071212 - importance: low<br />
*New switch 'v': use \n instead of \r @ progress.<br />
*New switch 'w': supress progress completely.<br />
*New switch 'ms:<ms>': monitor sleep duration in micro seconds.<br />
*Fix: don't export ed2k link on error.<br />
*Fix: only enumerate writable files.<br />
<br />
0.32.00 : 071016 - importance: high<br />
*OstFile proto.<br />
*Fixed 1000000 fps for some mkv files.<br />
*Fixed bitrate for some avi files.<br />
*Fixed hashing for large files.<br />
*Fixed parsing of large mkv files.<br />
*Fixed .sub files identified as mpg.<br />
*Faster hashing.<br />
*Both ed2k hashing algorithms.<br />
*Latest MediaInfoLib.<br />
<br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurs into sub-folders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Auto-creq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new auto-creq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not Vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the XML mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in XML mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (i.e. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes XML output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomiser bug.<br />
*Updated AniDB codec identifiers.<br />
*Added jni.<br />
*Changes in XML and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.net/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added AniDB AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added AniDB channel id (only in XML).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added AniDB video flags (only in XML).<br />
0.11 : 060509<br />
*Added AniDB codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added XML output (-x).<br />
*Added AniDB codec id, and some checking on fourcc vs user data.<br />
*Added AniDB lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now Unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]]<br />
[[Category:AniDB Clients]]<br />
[[Category:Avdump]]<br />
[[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=8249Avdump2007-10-01T15:33:57Z<p>Permidion: /* Processing DVD's */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bitrates, the length, identifies the number of used audiochannel and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit anidb's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide anidb with a tool to standarize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support autocreqing by itself. See [[Avdump/Autocreqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
'''Note:''' Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump/Issues|More...]]<br />
<br />
==Download==<br />
Get your copy of avdump [http://static.anidb.net/client/avdump.rar HERE]! Old versions are [http://folk.ntnu.no/jovetlea/avdump-hist/ here].<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [http://en.wikipedia.org/wiki/Command_line_interface command line] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Operation<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|ext:<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|log:<file path/name>||Write output to to specified log file.||<tt>log:avdump.log</tt><br />
|-<br />
|exp:<file path/name>||Export ed2k-links to specified file.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|ac:<username>:<api password>||Enable autocreq.||<tt>-ac:tard:monkey</tt><br />
|-<br />
|port:<port number>||Use specified udp port when autocreqing.||<tt>port:1337</tt><br />
|-<br />
|done:<file path/name>||Save processed-file-paths to specified file and exlude existing.||<tt>done:done.txt</tt><br />
|-<br />
|bsize:<size in KB>:<number of buffers>||Set buffer size for hashing in KB (2048 is default)||<tt>bsize:512:1</tt><br />
|-<br />
|tout:<timeout in sec>:<number of retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|}<br />
<br />
<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when autocreqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into subfolders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with autocreqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep commando window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, ie. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Send to===<br />
#Extract to a folder of choice.<br />
#Right-click avdump.exe, select ''Create Shortcut''.<br />
#Right-click the shortcut, add <tt>-p</tt> to the ''Shortcut - Target'' line.<br />
::Example: <tt>"C:\program files\Codecs\avdump\avdump.exe" -p</tt><br />
:::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
::Optional: Change ''Run'' to ''Maximized''.<br />
#Move shortcut to C:\Documents and Settings\[Username]\SendTo<br />
::Where ''Username'' is your WinXP LogIn-Name.<br />
::Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, goto "Send To", choose avdump (or whatever you called the shortcut)<br />
#Be happy :D<br />
#Get [[Creq|CReqing]]<br />
::<i>(thanks to taxit for this tip)</i><br />
<br />
===Graphical user interface===<br />
''See:'' '''[[Avdump/GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
something like<br />
<pre><br />
-bsize:256:1<br />
</pre><br />
<i>(default is 2048)</i><br />
<br />
== Autocreqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way autocreqing with avdump works]]<br />
<br />
Avdump is now part of a new autocreqing system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account and you have to define the ''api password'' in your [[profile]]. All data sent to the server will be logged with ip and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the db. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important atm.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The file in AniDB '''was''' registed with wrong size and/or ED2K hash at some point (including lame files).<br />
* The package did never reach the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
The only way for regular users to check whether a file is dumped or not is to use the mylist report ''Files with no dump'' [http://anidb.info/perl-bin/animedb.pl?show=mylistreport&report.type=filenodump&do.report=Generate+Report] or ask [[User:epoximator|epoximator]].<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get autocreqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.info/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in autocreqing yet (mov/mpg/rm atm).<br />
<br />
Ask [[User:epoximator|epoximator]] if you wonder why a certain file is not verified even if it is dumped.<br />
<br />
===What's the current status?===<br />
Look [[Avdump/Status|here]].<br />
<br />
==Source==<br />
Ask [[User:Epoximator|Epoximator]] for the source if interested.<br />
===Based on===<br />
*MKV : [http://dl.matroska.org/downloads/libebml/ libebml], [http://dl.matroska.org/downloads/libmatroska/ libmatroska], modified [http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ MatroskaUtils]<br />
*OGM : [http://www.xiph.org/downloads/ libogg], [http://www.xiph.org/downloads/ libvorbis], modified [http://svn.corecodec.org/ogmtools ogmtools]<br />
*MP4 : [http://mediainfo.cvs.sourceforge.net/mediainfo/ mediainfo]<br />
*AVI : [http://mediainfo.cvs.sourceforge.net/mediainfo/ mediainfo] + additional parsing code<br />
*Everything else : [http://mediainfo.cvs.sourceforge.net/mediainfo/ mediainfo]<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurse into subfolders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Autocreq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new autocreq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the xml mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in xml mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (ie. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes xml output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomizor bug.<br />
*Updated anidb codec identifiers.<br />
*Added jni.<br />
*Changes in xml and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.info/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added anidb AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added anidb channel id (only in xml).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added anidb video flags (only in xml).<br />
0.11 : 060509<br />
*Added anidb codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added xml output (-x).<br />
*Added anidb codec id, and some checking on fourcc vs user data.<br />
*Added anidb lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]][[Category:Anidb Clients]][[Category:Avdump]][[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Avdump&diff=8248Avdump2007-10-01T15:33:38Z<p>Permidion: /* Options */</p>
<hr />
<div>{{TOCright}}<br />
<br />
==What is it==<br />
'''Avdump''' is a video codec identification utility - identifies which video codec and audio compression method is used on video files. Furthermore it calculates the used bitrates, the length, identifies the number of used audiochannel and more.<br><br />
It is mainly based on [http://mediainfo.sourceforge.net/en mediainfo], but got enhanced and changed to fit anidb's needs by [[User:Epoximator|epoximator]].<br><br />
'''Avdump''' was created with the intention to provide anidb with a tool to standarize the input for files and be a part of the upcoming [[AniDB O'Matic|AOM 0.6]]. It does however already support autocreqing by itself. See [[Avdump/Autocreqing]].<br />
<br />
===Supported formats===<br />
* avi, mkv, ogm, mp4, asf/wmv, mpg, rm, mov<br />
<br />
===Known issues===<br />
'''Note:''' Avdump is under development. Don't take the validity of its output for granted. Please report errors/issues.<br />
*Audio channel detection is very simple:<br />
**Number of channels might be wrong. (5.1 vs 6.1, 6.1 vs 7.1)<br />
**No check of actual data in channels. (dummy channels)<br />
*No detection of fps for asf/wmv files.<br />
*No detection of video anamorphism in mp4.<br />
*Only full parsing of avi, mkv and ogm container formats.<br />
*Avdump is only for Windows at the moment. It works via Wine though.<br />
*[[Avdump/Issues|More...]]<br />
<br />
==Download==<br />
Get your copy of avdump [http://static.anidb.net/client/avdump.rar HERE]! Old versions are [http://folk.ntnu.no/jovetlea/avdump-hist/ here].<br />
<br />
==Usage==<br />
'''Avdump''' is a simple [http://en.wikipedia.org/wiki/Command_line_interface command line] client:<br />
:<tt>avdump [-<options> ...] <media file/folder> [<media file/folder> ...]</tt><br />
<br />
===Options===<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Operation<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Example<br />
|-<br />
|ext:<comma separated list>||Only process files with the specified extensions.||<tt>ext:mkv,avi</tt><br />
|-<br />
|log:<file path/name>||Write output to to specified log file.||<tt>log:avdump.log</tt><br />
|-<br />
|exp:<file path/name>||Export ed2k-links to specified file.||<tt>exp:ed2k-links.txt</tt><br />
|-<br />
|ac:<username>:<api password>||Enable autocreq.||<tt>-ac:tard:monkey</tt><br />
|-<br />
|port:<port number>||Use specified udp port when autocreqing.||<tt>port:1337</tt><br />
|-<br />
|done:<file path/name>||Save processed-file-paths to specified file and exlude existing.||<tt>done:done.txt</tt><br />
|-<br />
|bsize:<size in KB>:<number of buffers>||Set buffer size for hashing in KB (2048 is default)||<tt>bsize:512:1</tt><br />
|-<br />
|tout:<timeout in sec>:<number of retries>||Set timeout options.||<tt>tout:15:6</tt><br />
|}<br />
<br />
<br />
{|align="center" style="border: 1px solid #aaaaaa; border-collapse: collapse; background: #f9f9f9; line-height: 1.0; font-size: smaller; width: 80%"<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Switch<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Type<br />
! style="border: 1px solid #aaaaaa; font-size: 120%; background: #f2f2f2;" | Description<br />
|-<br />
|s||Formatting||Use '''s'''hort/simple format.<br />
|-<br />
|l||Formatting||'''L'''ist codecs.<br />
|-<br />
|x||Formatting||Old '''X'''ML format (intended for AOM).<br />
|-<br />
|y||Formatting||New XML format (used when autocreqing).<br />
|-<br />
|c||Control||Do not re'''c'''urse into subfolders, only handle files in current folder.<br />
|-<br />
|i||Control||Sk'''i'''p full parsing (only for testing, not compatible with autocreqing).<br />
|-<br />
|m||Control||'''M'''onitor folder(s). Check for new files every now and then.<br />
|-<br />
|n||Control||Add an extra '''n'''ewline after each file file has been processed.<br />
|-<br />
|p||Control||'''P'''ause when done, keep commando window open.<br />
|-<br />
|q||Control||Pause after each file.<br />
|-<br />
|r||Control||Randomize the file order.<br />
|-<br />
|t||Control||Print '''t'''ime used per file.<br />
|-<br />
|z||Control||Delete files after parsing.<br />
|-<br />
|o||Control||Wait for resp'''o'''nse when sending dumps and resend if needed.<br />
|-<br />
|0||Hash||crc32<br />
|-<br />
|1||Hash||ed2k<br />
|-<br />
|2||Hash||md5<br />
|-<br />
|3||Hash||sha1<br />
|-<br />
|5||Hash||tth<br />
|-<br />
|6||Hash||aich<br />
|-<br />
|9||Hash||Mode for hashing music files. Should be used together with <tt>-ac</tt>.<br />
|-<br />
|a||Hash||Include '''a'''ll hash algorithms.<br />
|-<br />
|h||Hash||'''H'''ash only mode, ie. no metadata parsing.<br />
|-<br />
|e||Hash||Print '''e'''d2k link<br />
|-<br />
|d||Hash||Print Ani'''D'''B link<br />
|-<br />
|g||Hash||Print AniDB link and open it with the default browser.<br />
|-<br />
|u||Hash||Print the time '''u'''sed for hashing per file.<br />
|}<br />
<br />
===Send to===<br />
#Extract to a folder of choice.<br />
#Right-click avdump.exe, select ''Create Shortcut''.<br />
#Right-click the shortcut, add <tt>-p</tt> to the ''Shortcut - Target'' line.<br />
::Example: <tt>"C:\program files\Codecs\avdump\avdump.exe" -p</tt><br />
:::You can also set other options like ''s'', ''x'' or ''t'' if you wish to do so.<br />
::Optional: Change ''Run'' to ''Maximized''.<br />
#Move shortcut to C:\Documents and Settings\[Username]\SendTo<br />
::Where ''Username'' is your WinXP LogIn-Name.<br />
::Note that ''SendTo'' is a hidden folder.<br />
#Right-click any media-file, goto "Send To", choose avdump (or whatever you called the shortcut)<br />
#Be happy :D<br />
#Get [[Creq|CReqing]]<br />
::<i>(thanks to taxit for this tip)</i><br />
<br />
===Graphical user interface===<br />
''See:'' '''[[Avdump/GUI]]'''<br />
<br />
===Processing DVD's===<br />
For processing DVD's it's best to set a small blocksize. Helps to improve performance.<br />
<br />
something like<br />
<pre><br />
-bsize:256<br />
</pre><br />
<i>(default is 2048)</i><br />
<br />
== Autocreqing ==<br />
[[Image:Autocreq.gif|thumb|Simple diagram of the way autocreqing with avdump works]]<br />
<br />
Avdump is now part of a new autocreqing system. Some more or less important notes:<br />
* To be able to use this feature you’ll need an AniDB account and you have to define the ''api password'' in your [[profile]]. All data sent to the server will be logged with ip and uid.<br />
* Communication between client and server is ''one-way'' (except session init/refresh); the client does not receive any confirmation for sent data. This means that there is no guaranty that all the dumps you send will arrive at the server and stored in the database, and there is no way to check this. ''From version 0.31 it's possible to make avdump wait for confirmation from the server by using the -o switch.''<br />
* 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.<br />
* There is no direct connection between data sent to AniDB and creqs generated. The data received will just be stored for later processing. There is no way to check the current status for a dump. Usually, it should take ''at least 24 hours'' from the moment you dump a file till the data actually changes. If any irregularities occur, or when there is too much data pending, it will take more time.<br />
* The creqs generated will report the user who sent the data first (for a specific file) as the creqer.<br />
* You may dump files currently not in the db. The data is still stored and will be used later if/after the file has been registered.<br />
* Files creqed by the new system will be locked, meaning some fields will not be possible to change. Notify a moderator if you are '''sure''' that some of the data locked for a specific file is wrong.<br />
* Not all dumps are sent to the server; Only mkv, ogm, avi, mp4, mov, rm and mpeg dumps from non corrupted files are sent:<br />
** The asf parser does not detect fps.<br />
** Audio files are too few and not considered important atm.<br />
** Nothing useful can be extracted from archives and subtitles (that I can think of).<br />
<br />
===Why didn't this file get dumped?===<br />
* It's not avi/mkv/ogm/mp4/mov/mpg/rm.<br />
* The file in AniDB is registered with wrong size and/or ED2K hash.<br />
* The file in AniDB '''was''' registed with wrong size and/or ED2K hash at some point (including lame files).<br />
* The package did never reach the server.<br />
* The decryption or decompression failed at server side (rare).<br />
* The dump is not valid XML (rare).<br />
<br />
The only way for regular users to check whether a file is dumped or not is to use the mylist report ''Files with no dump'' [http://anidb.info/perl-bin/animedb.pl?show=mylistreport&report.type=filenodump&do.report=Generate+Report] or ask [[User:epoximator|epoximator]].<br />
<br />
===Why isn't this file verified?===<br />
Even if the file is dumped it doesn't mean it will get autocreqed (and verified). Here are the reasons:<br />
* The file is corrupt/invalid ([http://anidb.info/perl-bin/animedb.pl?show=avmf&do=xml&avid=76226 example]).<br />
* The provided data is considered "incoherent". (Indicates a bug in avdump.)<br />
* The dump was marked unfit for file verification by an AniDB Moderator.<br />
* The file type is not included in autocreqing yet (mov/mpg/rm atm).<br />
<br />
Ask [[User:epoximator|epoximator]] if you wonder why a certain file is not verified even if it is dumped.<br />
<br />
===What's the current status?===<br />
Look [[Avdump/Status|here]].<br />
<br />
==Source==<br />
Ask [[User:Epoximator|Epoximator]] for the source if interested.<br />
===Based on===<br />
*MKV : [http://dl.matroska.org/downloads/libebml/ libebml], [http://dl.matroska.org/downloads/libmatroska/ libmatroska], modified [http://svn.matroska.org/viewsvn/trunk/MatroskaUtils/ MatroskaUtils]<br />
*OGM : [http://www.xiph.org/downloads/ libogg], [http://www.xiph.org/downloads/ libvorbis], modified [http://svn.corecodec.org/ogmtools ogmtools]<br />
*MP4 : [http://mediainfo.cvs.sourceforge.net/mediainfo/ mediainfo]<br />
*AVI : [http://mediainfo.cvs.sourceforge.net/mediainfo/ mediainfo] + additional parsing code<br />
*Everything else : [http://mediainfo.cvs.sourceforge.net/mediainfo/ mediainfo]<br />
<br />
==Changelog==<br />
<div style="height: 280px; overflow: auto; padding: 3px; border:1px solid #AAAAAA; font-size: smaller"><br />
0.31 : 070225 - importance: low<br />
*Fixed batch abort when parser fails to recognize a file.<br />
*Fixed <lib> for some mpg files (95446).<br />
*Fixed <lib> for one avi file (199976).<br />
*Added mp3-ignore-metadata hash (test).<br />
*Updated avmf dump protocol.<br />
0.30 : 070123 - importance: high<br />
*Added option '-done:' for keeping track of already processed files.<br />
*Added speed calculation for hashing.<br />
*Added timeout (30 sec) and retry (6 times) for session refresh (-tout).<br />
*Added option for hashing buffer size.<br />
*Added monitor (-m) option. Re-check folder(s) every minute.<br />
*Added delete (-z) option.<br />
*Added timestamp to -t switch.<br />
*Added option to not recurse into subfolders (-c).<br />
*Fixed crash on 222427, 29542, 14303.<br />
*Fixed 'stream not found' for some avi files.<br />
*Fixed tth crash for 0 byte files.<br />
*Fixed skipping of files with names starting with dot.<br />
0.29 : 070113 - importance: high<br />
*Autocreq<br />
*Ed2k export to file (-exp:<file>).<br />
*Various forgotten fixes and changes.<br />
0.28 : 061123 - importance: test version<br />
*Fixed broken duration for vorbis in ogm (was 0).<br />
*Fixed broken language detection.<br />
*Fixed/removed default track flag in ogm.<br />
*Changes in the switches: y = XML2+autocreq, c = autocreq.<br />
*Added SBR detection for AAC in mp4.<br />
*Added x264 settings string to XML2 for mkv.<br />
*New mediainfo.<br />
0.27 : 060927 - importance: low<br />
*WARNING:<br />
:* This is an experimental version for a new autocreq system.<br />
:* Due major internal changes it's likely to be borked.<br />
:* Only upgrade if you want to help testing; use -c.<br />
:* No actual creq will be filed, but data are gathered.<br />
*Improved/fixed ogm and avi track size calculation.<br />
:*Error was less than ~30 KB for a normal file.<br />
*Fixed samplerate=0 when audio not vorbis and added PCM recognition in ogm parser.<br />
*Fixed wrong AR printed when > 1.70.<br />
*Fixed missing zeros at beginning in crc32 checksums.<br />
0.26 : 060912 - importance: low<br />
*Changes in the xml mode; formatted time and exact channels value.<br />
*Added option to skip parsing altogether (hash only mode).<br />
*Added switch '-ext:{comma separated file extension list}'.<br />
*Changes in the arguments. See usage.<br />
0.25 : 060907<br />
*Added md5 hash.<br />
*Added ed2k link output.<br />
*Changes in the arguments. See usage.<br />
*Fixed extension check (case).<br />
0.24 : 060902<br />
*Added 5.1 audio bitrate test; if under 100 kbps then print warning.<br />
*Added Matroska attachment support; used when checking overhead.<br />
*Added hashing; crc, ed2k, sha1, tth and aich.<br />
0.23 : 060817<br />
*Changed: log file is now utf8.<br />
*Fixed video vs audio duration issue with non mkv/ogm files. (fid: 252353)<br />
0.22 : 060806<br />
*Fixed unicode-in-file-name issue.<br />
*Added VFR test for mp4 files.<br />
*Added switch 'c': pause after each file.<br />
*Changes in AR rages and removed 'Wrong AR'.<br />
*Minor fixes and changes.<br />
0.21 : 060726<br />
*Fixed codec detection in private frame (user data).<br />
*Added switches 'a' (avi), 'm' (mkv), 'o' (ogm), and 'f' (mp4): Only parse these types.<br />
*Added switch 'l': list mode ({file path/name}\t{track #1 codec}\t...\t{track #n codec}).<br />
*Added switch 'i': skip full parsing (mkv/ogm/avi). Only for testing. Do _not_ use when creqing.<br />
0.20 : 060717<br />
*Added return code in xml mode and more warnings in the other modes.<br />
*Fixed mp4 parser; audio track sizes.<br />
*Fixed mkv crash on corrupt files (fid: 216911).<br />
*Fixed wrong track duration on mkv files where the first timecode is not 0 (fid: 234960).<br />
0.19 : 060711<br />
*Fixed rm parser.<br />
*Fixed mpeg parser, video bitrate.<br />
*Minor stuff.<br />
*Short format does _now_ print video duration.<br />
*Improved the mp3 vbr test. (fid: 240676)<br />
0.18 : 060624<br />
*MP4 fixes: sub tracks, track lang, missing chan/srate.<br />
*Updated MediaInfoLib (latest cvs).<br />
*Minor changes in normal output format (duration and size).<br />
*Short format does now print video duration (ie. not header value).<br />
0.17 : 060602<br />
*Added extension check.<br />
*Changes xml output.<br />
*Fixed memory leak when parsing mp4.<br />
0.16 : 060529<br />
*Fixed some RIFF bugs.<br />
*Fixed randomizor bug.<br />
*Updated anidb codec identifiers.<br />
*Added jni.<br />
*Changes in xml and short mode.<br />
0.15 : 060518<br />
*Updated libebml, libogg, libvorbis.<br />
*Added switch 'r': random file order.<br />
*Added switch 'n': extra newline per file.<br />
*Changes in 'short' output mode.<br />
*Track numbering starts on 1 now.<br />
*Changes in ar detection, see: http://wiki.anidb.info/w/Avdump/AR<br />
*Fixed: Track sizes might be slightly wrong for OpenDML files.<br />
*Packed exe and dll (UPX 2.00w).<br />
0.14 : 060514<br />
*Added anidb AR, flags and chan str to normal output.<br />
*Added new output mode: short (-s).<br />
*Added switch -t: show proc time (per file).<br />
*Fixed high mem usage bug on some file formats.<br />
*Fixed access violation on files with very many tracks.<br />
*Added track names (mkv only).<br />
*Added version in output.<br />
*Some tweaking of output format.<br />
0.13 : 060511<br />
*Fixed wrong track durations for some mkv files.<br />
*Added anidb channel id (only in xml).<br />
0.12 : 060510<br />
*Improved VFR check.<br />
*Added anidb video flags (only in xml).<br />
0.11 : 060509<br />
*Added anidb codec id for ogm (and fixed a minor issue for some mkv files).<br />
*Added simple VFR check for mkv files.<br />
0.10 : 060501<br />
*Added MP3 VBR check on avi and mkv files (variable frame size check).<br />
*Added xml output (-x).<br />
*Added anidb codec id, and some checking on fourcc vs user data.<br />
*Added anidb lang and ar id (only printed in xml mode).<br />
*Fixed some issues with mp4, rm and mpg files.<br />
0.09 : 060401<br />
*Fixed track size for all non mkv/ogm/avi/mp4.<br />
*Changes in the output format.<br />
0.08 : 060330<br />
*Exe is now unicode.<br />
*Fixed wrong output for avi files with multiple audio tracks.<br />
*Added better track size calc for avi files. (first try)<br />
*Added track duration.<br />
0.07 : 060314<br />
*Fixed broken ogm parsing (language).<br />
0.06 : 060305<br />
*Fixed wrong duration for some mkv files.<br />
*Fixed wrong track size for some mkv files.<br />
0.05 : 060221<br />
*Improved USER data check.<br />
*Killed some memory leaks.<br />
0.04 : 060217<br />
*Fixed 'AAC in OGM' crash.<br />
*Added check for USER data in mkvs and ogms.<br />
*Cleaned codec output for mkvs.<br />
*Added some filecomment output.<br />
</div><br />
<br />
[[Category:Features]][[Category:Anidb Clients]][[Category:Avdump]][[Category:Development]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Shadow_Files&diff=8205Shadow Files2007-09-10T20:29:21Z<p>Permidion: </p>
<hr />
<div><div style="font-size: 110%; text-align: center; background: #ffaaaa; margin: .5em 10%; padding: 0.2em 1em; border: #aaaaaa 1px solid;">Note: This page is for a so far only partially implemented feature of AniDB.<br>It is only meant to provide information for those who have never heard of it before.</div><br />
{{TOCright}}<br />
==Why==<br />
AniDB is built around files, and the basic structure of anidb assumes that each file will contain one episode. This is often not true, in two variations: split-episode files, and multi-episode files. Also there is the case of separate subtitle files.<br />
<br />
==How==<br />
Basically, what shadow-files would do is create an extra layer over the files - the episodes would point to shadow-files, and the shadow-files would then point to the actual files, be it just one single file, or more than one. Also, the shadow-file can belong to more than one single episode.<br />
<br />
==When==<br />
Because it would change the underlying structure of AniDB this would require a total rewrite of the database. Therefore, it will not be done in the current version. When (and if) AniDB gets a complete rewrite, it will most likely be included from the start.<br />
<br />
==More details==<br />
===Split episodes===<br />
The most common occurence of this are movies: almost every movie added the anidb will have several different versions released by different groups, some will only be one single file released, but some will be released as part 1 and 2 of 2, or even part 1, 2 and 3 of 3. With shadow-files all the files would be under the same "Complete Movie" entry, and when you select to get a version that is split into multiple files, you would see that it has more than one file, and be able to get each of the files you needed.<br />
<br />
===Multiple episodes===<br />
This happens alot when series air 2 episodes at the same time; there is normally not a separate opening/ending, and the episodes flow seamlessly into eachother. If you add one of these files, when shadow-files are implemented, all episodes that are contained in the file will get added to your mylist even though you only have 1 actual file. Also, for animes that end in these kind of special episodes, the groups' status will change to '''completed''' instead of ''stalled'' as they are now.<br><small>''[[Groupentries:Status|further information]]''</small><br />
<br />
===Separate subtitles===<br />
Very often movies will first be released as RAWs without subtitles, then afterwards, subtitles may be provided; but you can't be sure which RAW the subtitles are made for. The wrong raw for the wrong subtitles will most likely make the subtitles out of sync. With shadow-files you would be able to add the raws and the subtitle files to the correct shadow-file(s) in order to group them together in a logical way.<br />
<br />
===Illustrations===<br />
Here I have made some (crap) illustrations to further illuminate how it works, and what the differences are:<br />
<center><br />
{| cellspacing=0 width=85%<br />
|colspan=2 style="border-bottom: 1px solid;"| <br />
|-<br />
!Current (without shadow-files)<br />
!style="border-left:1px solid;" width=50%|With shadow-files<br />
|-<br />
!colspan=2 style="border-top: 1px solid; border-bottom: 1px solid;"|Normal files<br />
|-<br />
|valign=bottom style="padding-right: 5px;"|[[Image:Current-normal.png|frame|none]]<br />
|valign=bottom style="border-left:1px solid; padding-left: 5px;"|[[Image:Shadow-normal.png|frame|none]]<br />
|-<br />
|valign=top style="padding-right: 5px;"|Currently it works like this for normal files and episodes.<br />
|valign=top style="border-left:1px solid; padding-left: 5px;"|With shadow-files, the episode would link to the shadow-file and the shadow-file would link to the real file. Note that the shadow-files are transparent here - you will not notice a difference.<br />
|-<br />
!colspan=2 style="border-top: 1px solid; border-bottom: 1px solid;"|Multi-episode files<br />
|-<br />
|valign=bottom style="padding-right: 5px;"|[[Image:Current-multi.png|frame|none]]<br />
|valign=bottom style="border-left:1px solid; padding-left: 5px;"|[[Image:Shadow-multi.png|frame|none]]<br />
|-<br />
|valign=top style="padding-right: 5px;"|Currently if the file you have has multiple episodes in it, you need to add a generic file for the other episodes if you want to keep your mylist correct.<br />
|valign=top style="border-left:1px solid; padding-left: 5px;"|With shadow-files, you would only add the file you have, and both episodes would be added to your mylist.<br />
|-<br />
!colspan=2 style="border-top: 1px solid; border-bottom: 1px solid;"|Split-episode files<br />
|-<br />
|valign=bottom style="padding-right: 5px;"|[[Image:Current-split.png|frame|none]]<br />
|valign=bottom style="border-left:1px solid; padding-left: 5px;"|[[Image:Shadow-split.png|frame|none]]<br />
|-<br />
|valign=top style="padding-right: 5px;"|Currently if an episode or movie is released in many files, you would haveto add each of those files to your mylist, and if they are not part of the regular episodes (i.e., listed as "<tt>O1 Episode 1 (Part 1 of 2)</tt>" and "<tt>O2 Episode 1 (Part 2 of 2)</tt>"), you would also need to add a generic file separately if you want your mylist to look like it should.<br />
|valign=top style="border-left:1px solid; padding-left: 5px;"|With shadow-files all files would be associated with the correct episode.<br />
|-<br />
!colspan=2 style="border-top: 1px solid; border-bottom: 1px solid;"|Separate subtitles for one episode<br />
|-<br />
|valign=bottom style="padding-right: 5px;"|[[Image:Current-subs-normal.png|frame|none]]<br />
|valign=bottom style="border-left:1px solid; padding-left: 5px;"|[[Image:Shadow-subs-normal.png|frame|none]]<br />
|-<br />
|valign=top style="padding-right: 5px;"|Right now, subs and RAWs are added separately to each episode, and you need to specify in a comment in the subfile which RAW it belongs to.<br />
|valign=top style="border-left:1px solid; padding-left: 5px;"|With shadow-files you would add the subs and the RAWs to the same shadow-file, and they would be grouped together that way.<br />
|-<br />
!colspan=2 style="border-top: 1px solid; border-bottom: 1px solid;"|Separate subtitles for many episodes<br />
|-<br />
|valign=bottom style="padding-right: 5px;"|[[Image:Current-subs-manysubsinone.png|frame|none]]<br />
|valign=bottom style="border-left:1px solid; padding-left: 5px;"|[[Image:Shadow-subs-manysubsinone.png|frame|none]]<br />
|-<br />
|valign=top style="padding-right: 5px;"|Currently, if you have a file with many subtitles in it, say a rar archive with subs for more than one episode, you need to add that to a Special "Other" episode "<tt>O1 Subtitles for episodes 1-2</tt>".<br />
|valign=top style="border-left:1px solid; padding-left: 5px;"|With shadow-files, you would add those subs to each shadow-file associated with the correct RAW for each episode.<br />
|-<br />
|colspan=2 style="border-top: 1px solid;"| <br />
|}<br />
</center><br />
<br />
==Current Workarounds==<br />
;Split episodes:Currently for things like movies, when split files are released, they will get added to episode 2 and 3 (or 4, 5 and 6 in case of 3-file-splits).<br>However, if it is an OVA, this is sometimes not feasible, and it may get added to a special "Other" episode instead.<br><small>''[[Files:Split-episode_files|further information]]''</small><br />
;Multiple episodes:The current workaround for split episodes is to add the file to the first episode that it contains, and add [[generic files]] to your mylist for the remaining episodes in the file instead.<br>For some OVAs though, there will be special "Other" episodes added named something like "O1 Episode 1-3" or something like that.<br><small>''[[Files:Multi-episode_files|further information]]''</small><br />
;Separate subtitles:There are a few different cases of these:<br>'''1.''' One subtitle file for one episode: the file will most likely be added to the episode with a comment telling which RAW(s) it belongs to.<br>'''2.''' Several subtitlefiles in an archive of some sort: The file will be added to a special "Other" listed as something like "O1 Subtitles for episodes 1-5".<br><small>''[[Content:Subtitles|further information]]''</small><br />
<br />
'''Note''': Though not completely implementing Shadow Files, [[Content:File_relations#File.3C-.3EEp_Relations|file<->ep]] and [[Content:File_relations#File.3C-.3EFile_Relations|file<->file]] relations take care of some of the situations above, read the respective documentation for more information.<br />
<br />
==Other resources==<br />
*http://tracker.anidb.info/view.php?id=113 - tracker entry<br />
*http://www.anidb.net/forum/viewtopic.php?t=621 - the original thread<br />
*http://www.anidb.net/forum/viewtopic.php?t=1538 - further discussion<br />
*http://www.anidb.net/forum/viewtopic.php?t=3063 - more detail about multi-episode-files problem</div>Permidionhttps://wiki.anidb.net/index.php?title=Content:Files&diff=5323Content:Files2006-04-01T23:26:15Z<p>Permidion: /* CRC status */</p>
<hr />
<div>{{TOCright}}<br />
First of all, you should clearly understand how AniDB works in respect to files.<br><br />
AniDB is kind of split into two parts: The public side where you add the files visible for everyone and the private side (your [[mylist]]) where you can keep track of the files you have. If you want to [[How_to_add_files_to_your_mylist|add a file to your mylist]], you have to publicly add it to AniDB first.<br><br />
The reason for this is easy: The next person who has the same file and wants to add it to his/her list doesn't have to input all the info again, but simply selects the existing entry.<br><br />
That's why we ask you to include as much info as possible when adding a new file, it's for all users' benefit.<br />
<br />
{{eyecatch|Note:|You need to understand that "files" in anidb are actually just containers with textinfo added (bitrate, codec, hashes and so on) meaning those "files" are '''NOT''' located on the anidb server.}}<br />
<br />
== Where can I add files?! ==<br />
[[image:Add-edit file.png|thumb|add file dialog]]<br />
Go to the [[animeentries|anime's page]] and locate the [[animeentries#episodeentries|episode]] the file belongs to. Click on the [[Image:anidb_file_add.gif]] icon on the right (in the "Action" column). Then, you're on the "Add file" page for that episode, where you can input a lot of information.<br><br />
Not all of this is needed, but if you have a minute to spare please add them all.<br />
<br />
== Basic info you should include when adding a file ==<br />
=== [[AniDB:Ed2k-hash|Ed2k-link]] ===<br />
An [[AniDB:Ed2k-hash|ed2k-link]] consists of the filename, the file's size and a so-called [http://en.wikipedia.org/wiki/Hash_function hash], basically a fingerprint of the file.<br><br />
This assures that no duplicates are added (since they'd have the same hash) and that the size-value is correctly entered. Also important functions in AniDB itself and in [[AOM]] rely on the [[AniDB:Ed2k-hash|ed2k-link]] being present.<br><br />
Also see [[AniDB:Ed2k-hash#Which software can be used to generate them?!|How to generate ed2k-links]].<br />
<br />
=== Released by ===<br />
Normally, the files are "tagged", meaning that the filename contains a string like "[AonE]" which you can look for in the according shortname dropdown-menu. Please note that not all groups on AniDB are listed under the tag they actually use as AniDB can only have one distinctive tag for each group, <u>so make sure the group's full name matches as well</u>.<br />
<br />
When you add a new file from group that have already some files added for this anime, you can save yourself from browsing entire list again and againg by using '''by relation''' list, that contains only groups that already have at least one file added for this anime.<br><br />
You can also just enter the groupname into the searchfield and click '''Search'''. After doing that a dropdown menu will appear and list groups whose name match your search.<br />
<br />
However, some people remove the group-tags from filenames. If you have such a file, please check the file, if the group-name is being displayed somewhere in it.<br><br />
If the group isn't listed, you have to add it first.<br />
{{eyecatch|Note:|If a file is a joint release, meaning it was released by two or more groups (e.g. by "ANBU-AonE") that these usually have their own group entry in the dropdown-menu - AniDB treats those files like they are done by a separate group.}}<br />
<br />
{{eyecatch|Note:|If the file is a RAW, you should check [[which RAW groups to credit]].}}<br />
<br />
=== CRC ===<br />
A CRC is an 8-digit [http://en.wikipedia.org/wiki/Checksum checksum(/hash/fingerprint)] like this one: "F017C5A4". Use a program like [http://www.slavasoft.com/hashcalc/ hashcalc] or [[AOM]] to calculate the checksum of your file and put it in the according field.<br />
<br />
=== CRC status ===<br />
Groups often release files with the checksum of the correct file being published somewhere, for example in the IRC-channel's topic or directly in the filename. Now, only if the CRC you calculated from the file you have matches the CRC of the correct file, set the "CRC status" on AniDB to "crc matches official source".<br />
For older releases, especially for files you didn't directly get from the group, check pages like [http://www.envirosphere.com/ Envirosphere] or [http://baka-updates.com/ Baka Updates].<br />
<br />
{{eyecatch|Note:|If the file is a RAW, UNLESS YOU HAVE A HASH LISTING FROM THE GROUP THAT RELEASED THE FILE, DO NOT ADD CRC-CORRECT STATUS.}}<br />
<br />
=== File type ===<br />
In case you pasted a full ed2k link (including the filename) to the "ed2k-link" field, the filetype will be set automatically. Otherwise you have to manually choose the correct one from the dropdown menu.<br />
<br />
=== File version ===<br />
Sometimes, the group makes mistakes and wants to correct them by releasing a second (third, fourth...) version, usually called "v2" ("v3", "v4", ...). If there is no such tag in the filename, it's normally "version 1".<br />
<br />
=== Audio language ("Lang" field) ===<br />
The default ("Japanese") should do it most of the time. The "Dual (X/Y)"-entries are meant to be used with files that contain multiple audio-tracks. If there's a third audio-language (which is currently not supported by AniDB), please add that info as a comment to the file.<br />
<br />
If the right language isn't listed, please request the language to be added in the [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Request-forum].<br />
<br />
=== Subtitle language ("Sub Lang" field)===<br />
Again, the default ("English") is right most of the time, but remember to choose the right one when adding a file with a different subtitle-language. If there are multiple subtitle-languages, please add that info to the file-comment. A request to add a missing language can be filed in the [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Request-forum].<br />
<br />
=== File Comment ("Descr" field) ===<br />
Here you can put important (public) info on that particular file, like additional audio or subtitle languages. Please use the [[Content:Filecomments|stadarized forms for comments]] about languages, subtitles and joints.<br />
<br />
== Optional Info ==<br />
We'd like you to add this info sooner or later to the file since some other users will benefit from your work.<br />
<br />
===Release Date===<br />
The date the group published the file. Have a look at the group's homepage or other release info pages like [http://www.envirosphere.com/ Envirosphere] or [http://baka-updates.com/ Baka Updates].<br />
<br />
===MD5 and SHA-1===<br />
Two more hashes. You can use programs like [http://www.slavasoft.com/hashcalc/ hashcalc] or [[AniDB O'Matic]] to easily get these hashes in one step.<br />
<br />
'''Hint:''' When you hash the file with [[AniDB O'Matic]], these hashes will automatically be added to the file-entry within 24 hours. (The file needs to be in AniDB already for [[AniDB O'Matic|AOM]] to create an [[Creq:Auto-creq|auto-creq]]!)<br />
<br />
===File Quality===<br />
:* unknown - You haven't watched the file yet or can't tell by your impression of previous files. Be sure to add the quality-rating once you've watched it!<br />
:* very high - No encoding artifacts, very good sound-quality, perfect timing, no grammar or translation-errors in the subs.<br />
:* high - The file is good, but there are minor issues with it, like a not-so-good source with few visible or audible encoding artifacts - maybe just in one particular scene - or slight translation/editing-misses.<br />
:* medium - One can clearly spot encoding issues in video or sound, or the translation is off sometimes.<br />
:* low - There's a permanent annoyance in video, audio or translation.<br />
:* very low - This is not quite what one would want to watch. The video, sound or translation are just disturbingly bad.<br />
:* corrupted - Used for files with clearly visible corruptions over a longer period in the file.<br />
:* eyecancer - Even recompressed to .rm, this couldn't look worse.<br />
<br />
The quality rating should not be influenced by differences in the actual drawing or contents (like a cut TV-version or a censored hentai). Please also don't rate a file lower just because you don't like the fonts used.<br />
<br />
===Source===<br />
Here you can tell the raw (unsubbed) source of the anime. If you don't know the source, leave it "unknown". If you find a tag like "(S)VHS" or "DVD" in the filename, choose the according option from the dropdown-menu.<br />
Sometimes, it's ok to make an educated guess: For animes that are released fansubbed shortly (within days/weeks) after they aired in Japan, you can safely assume "DTV" (Digital TV) as source. Another case for educated guessing is "HKDVD" (Hongkong-DVD) - the video-quality may be ok for them, but the translation is usually horrible, which is how you can spot them.<br />
<br />
===Video and audio information===<br />
Use [[AOM]] to easily determine the codecs and bitrates used in avi-files. For mkv/ogm-files, you can use [http://mediainfo.sourceforge.net/ MediaInfo] or the [http://matroska.org/downloads/shellextension/index.html Matroska Shell Extension]. Another possible program, which we consider trustworthy is [http://virtualdubmod.sourceforge.net/ Virtualdubmod] (Gspot is easy to use, but not very accurate so it's '''NOT''' recommended.)<br />
<br />
'''Note:''' Many XviD-encodes have a "DIVX" or "DX50" 4cc (for compatibility) and are thus often wrongly recognized as DivX4 or DivX5. In GSpot, you may find an additional signature displayed near the DivX one, for example "DIVX/xvid" or "DX50/xvid". In such cases, please always set the codec on AniDB to XviD.<br />
Also read: [[Codec Identification]]<br />
<br />
==Your version is corrupted...==<br />
[[Animeentries:Fileentries|Fileentries]] on AniDB are supposed to be useful for a larger group of users: One of them adds the entry and many others can use it (by adding it to their list).<br />
<br />
===Adding wide-spread corrupted files===<br />
An entry for a corrupted file may still be useful for others as long as it's likely that more people have the exact same corrupted file as you have. (For example if one source sent the corrupted version to many people.)<br />
<br />
If - and only if - this is the case, you can add the file normally to AniDB, marking it as "CRC invalid" and/or "Quality: Corrupted" if there are visible/audible errors in the file.<br />
<br />
===Adding "personal" corrupted files===<br />
<br />
If your specific (corrupted) version of the file isn't listed on AniDB, for example because of some hard- or software-problem on your side or because you manually edited the files, in most cases you should not add them to AniDB, because they serve no purpose for other users.<br />
<br />
Don't worry - you can still list such files properly in your mylist. For example: You have a corrupted version of group X's release. Navigate to the corresponding episode where the regular, uncorrupted of group X's release is listed and click on the "add file ()" icon. On the next page, you can select the "Type: corrupted version/invalid crc" so that your mylist-entries properly indicate which version you have.<br />
<br />
If there's no crc-valid version of group X added for the release you have, consider adding the episodes' [[generic files]] to your list instead.<br />
<br />
==Removing bad entries==<br />
If you added a bad entry yourself you can remove it as long as no one put that file to his [[mylist]]. In that case you don't have the neccessary rights to remove it. Please post the entry which should get removed here: [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Requests]<br />
<br />
[[Category:Animeentries]][[Category: Guidelines]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Content:Files&diff=5322Content:Files2006-04-01T23:23:07Z<p>Permidion: /* CRC status */</p>
<hr />
<div>{{TOCright}}<br />
First of all, you should clearly understand how AniDB works in respect to files.<br><br />
AniDB is kind of split into two parts: The public side where you add the files visible for everyone and the private side (your [[mylist]]) where you can keep track of the files you have. If you want to [[How_to_add_files_to_your_mylist|add a file to your mylist]], you have to publicly add it to AniDB first.<br><br />
The reason for this is easy: The next person who has the same file and wants to add it to his/her list doesn't have to input all the info again, but simply selects the existing entry.<br><br />
That's why we ask you to include as much info as possible when adding a new file, it's for all users' benefit.<br />
<br />
{{eyecatch|Note:|You need to understand that "files" in anidb are actually just containers with textinfo added (bitrate, codec, hashes and so on) meaning those "files" are '''NOT''' located on the anidb server.}}<br />
<br />
== Where can I add files?! ==<br />
[[image:Add-edit file.png|thumb|add file dialog]]<br />
Go to the [[animeentries|anime's page]] and locate the [[animeentries#episodeentries|episode]] the file belongs to. Click on the [[Image:anidb_file_add.gif]] icon on the right (in the "Action" column). Then, you're on the "Add file" page for that episode, where you can input a lot of information.<br><br />
Not all of this is needed, but if you have a minute to spare please add them all.<br />
<br />
== Basic info you should include when adding a file ==<br />
=== [[AniDB:Ed2k-hash|Ed2k-link]] ===<br />
An [[AniDB:Ed2k-hash|ed2k-link]] consists of the filename, the file's size and a so-called [http://en.wikipedia.org/wiki/Hash_function hash], basically a fingerprint of the file.<br><br />
This assures that no duplicates are added (since they'd have the same hash) and that the size-value is correctly entered. Also important functions in AniDB itself and in [[AOM]] rely on the [[AniDB:Ed2k-hash|ed2k-link]] being present.<br><br />
Also see [[AniDB:Ed2k-hash#Which software can be used to generate them?!|How to generate ed2k-links]].<br />
<br />
=== Released by ===<br />
Normally, the files are "tagged", meaning that the filename contains a string like "[AonE]" which you can look for in the according shortname dropdown-menu. Please note that not all groups on AniDB are listed under the tag they actually use as AniDB can only have one distinctive tag for each group, <u>so make sure the group's full name matches as well</u>.<br />
<br />
When you add a new file from group that have already some files added for this anime, you can save yourself from browsing entire list again and againg by using '''by relation''' list, that contains only groups that already have at least one file added for this anime.<br><br />
You can also just enter the groupname into the searchfield and click '''Search'''. After doing that a dropdown menu will appear and list groups whose name match your search.<br />
<br />
However, some people remove the group-tags from filenames. If you have such a file, please check the file, if the group-name is being displayed somewhere in it.<br><br />
If the group isn't listed, you have to add it first.<br />
{{eyecatch|Note:|If a file is a joint release, meaning it was released by two or more groups (e.g. by "ANBU-AonE") that these usually have their own group entry in the dropdown-menu - AniDB treats those files like they are done by a separate group.}}<br />
<br />
{{eyecatch|Note:|If the file is a RAW, you should check [[which RAW groups to credit]].}}<br />
<br />
=== CRC ===<br />
A CRC is an 8-digit [http://en.wikipedia.org/wiki/Checksum checksum(/hash/fingerprint)] like this one: "F017C5A4". Use a program like [http://www.slavasoft.com/hashcalc/ hashcalc] or [[AOM]] to calculate the checksum of your file and put it in the according field.<br />
<br />
=== CRC status ===<br />
Groups often release files with the checksum of the correct file being published somewhere, for example in the IRC-channel's topic or directly in the filename. Now, only if the CRC you calculated from the file you have matches the CRC of the correct file, set the "CRC status" on AniDB to "crc matches official source".<br />
For older releases, especially for files you didn't directly get from the group, check pages like [http://www.envirosphere.com/ Envirosphere] or [http://baka-updates.com/ Baka Updates].<br />
<br />
{eyecatch|Note:|If the file is a RAW, UNLESS YOU HAVE A HASH LISTING FROM THE GROUP THAT RELEASED THE FILE, DO NOT ADD CRC-CORRECT STATUS.}<br />
<br />
=== File type ===<br />
In case you pasted a full ed2k link (including the filename) to the "ed2k-link" field, the filetype will be set automatically. Otherwise you have to manually choose the correct one from the dropdown menu.<br />
<br />
=== File version ===<br />
Sometimes, the group makes mistakes and wants to correct them by releasing a second (third, fourth...) version, usually called "v2" ("v3", "v4", ...). If there is no such tag in the filename, it's normally "version 1".<br />
<br />
=== Audio language ("Lang" field) ===<br />
The default ("Japanese") should do it most of the time. The "Dual (X/Y)"-entries are meant to be used with files that contain multiple audio-tracks. If there's a third audio-language (which is currently not supported by AniDB), please add that info as a comment to the file.<br />
<br />
If the right language isn't listed, please request the language to be added in the [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Request-forum].<br />
<br />
=== Subtitle language ("Sub Lang" field)===<br />
Again, the default ("English") is right most of the time, but remember to choose the right one when adding a file with a different subtitle-language. If there are multiple subtitle-languages, please add that info to the file-comment. A request to add a missing language can be filed in the [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Request-forum].<br />
<br />
=== File Comment ("Descr" field) ===<br />
Here you can put important (public) info on that particular file, like additional audio or subtitle languages. Please use the [[Content:Filecomments|stadarized forms for comments]] about languages, subtitles and joints.<br />
<br />
== Optional Info ==<br />
We'd like you to add this info sooner or later to the file since some other users will benefit from your work.<br />
<br />
===Release Date===<br />
The date the group published the file. Have a look at the group's homepage or other release info pages like [http://www.envirosphere.com/ Envirosphere] or [http://baka-updates.com/ Baka Updates].<br />
<br />
===MD5 and SHA-1===<br />
Two more hashes. You can use programs like [http://www.slavasoft.com/hashcalc/ hashcalc] or [[AniDB O'Matic]] to easily get these hashes in one step.<br />
<br />
'''Hint:''' When you hash the file with [[AniDB O'Matic]], these hashes will automatically be added to the file-entry within 24 hours. (The file needs to be in AniDB already for [[AniDB O'Matic|AOM]] to create an [[Creq:Auto-creq|auto-creq]]!)<br />
<br />
===File Quality===<br />
:* unknown - You haven't watched the file yet or can't tell by your impression of previous files. Be sure to add the quality-rating once you've watched it!<br />
:* very high - No encoding artifacts, very good sound-quality, perfect timing, no grammar or translation-errors in the subs.<br />
:* high - The file is good, but there are minor issues with it, like a not-so-good source with few visible or audible encoding artifacts - maybe just in one particular scene - or slight translation/editing-misses.<br />
:* medium - One can clearly spot encoding issues in video or sound, or the translation is off sometimes.<br />
:* low - There's a permanent annoyance in video, audio or translation.<br />
:* very low - This is not quite what one would want to watch. The video, sound or translation are just disturbingly bad.<br />
:* corrupted - Used for files with clearly visible corruptions over a longer period in the file.<br />
:* eyecancer - Even recompressed to .rm, this couldn't look worse.<br />
<br />
The quality rating should not be influenced by differences in the actual drawing or contents (like a cut TV-version or a censored hentai). Please also don't rate a file lower just because you don't like the fonts used.<br />
<br />
===Source===<br />
Here you can tell the raw (unsubbed) source of the anime. If you don't know the source, leave it "unknown". If you find a tag like "(S)VHS" or "DVD" in the filename, choose the according option from the dropdown-menu.<br />
Sometimes, it's ok to make an educated guess: For animes that are released fansubbed shortly (within days/weeks) after they aired in Japan, you can safely assume "DTV" (Digital TV) as source. Another case for educated guessing is "HKDVD" (Hongkong-DVD) - the video-quality may be ok for them, but the translation is usually horrible, which is how you can spot them.<br />
<br />
===Video and audio information===<br />
Use [[AOM]] to easily determine the codecs and bitrates used in avi-files. For mkv/ogm-files, you can use [http://mediainfo.sourceforge.net/ MediaInfo] or the [http://matroska.org/downloads/shellextension/index.html Matroska Shell Extension]. Another possible program, which we consider trustworthy is [http://virtualdubmod.sourceforge.net/ Virtualdubmod] (Gspot is easy to use, but not very accurate so it's '''NOT''' recommended.)<br />
<br />
'''Note:''' Many XviD-encodes have a "DIVX" or "DX50" 4cc (for compatibility) and are thus often wrongly recognized as DivX4 or DivX5. In GSpot, you may find an additional signature displayed near the DivX one, for example "DIVX/xvid" or "DX50/xvid". In such cases, please always set the codec on AniDB to XviD.<br />
Also read: [[Codec Identification]]<br />
<br />
==Your version is corrupted...==<br />
[[Animeentries:Fileentries|Fileentries]] on AniDB are supposed to be useful for a larger group of users: One of them adds the entry and many others can use it (by adding it to their list).<br />
<br />
===Adding wide-spread corrupted files===<br />
An entry for a corrupted file may still be useful for others as long as it's likely that more people have the exact same corrupted file as you have. (For example if one source sent the corrupted version to many people.)<br />
<br />
If - and only if - this is the case, you can add the file normally to AniDB, marking it as "CRC invalid" and/or "Quality: Corrupted" if there are visible/audible errors in the file.<br />
<br />
===Adding "personal" corrupted files===<br />
<br />
If your specific (corrupted) version of the file isn't listed on AniDB, for example because of some hard- or software-problem on your side or because you manually edited the files, in most cases you should not add them to AniDB, because they serve no purpose for other users.<br />
<br />
Don't worry - you can still list such files properly in your mylist. For example: You have a corrupted version of group X's release. Navigate to the corresponding episode where the regular, uncorrupted of group X's release is listed and click on the "add file ()" icon. On the next page, you can select the "Type: corrupted version/invalid crc" so that your mylist-entries properly indicate which version you have.<br />
<br />
If there's no crc-valid version of group X added for the release you have, consider adding the episodes' [[generic files]] to your list instead.<br />
<br />
==Removing bad entries==<br />
If you added a bad entry yourself you can remove it as long as no one put that file to his [[mylist]]. In that case you don't have the neccessary rights to remove it. Please post the entry which should get removed here: [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Requests]<br />
<br />
[[Category:Animeentries]][[Category: Guidelines]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Content:Files&diff=5321Content:Files2006-04-01T23:22:37Z<p>Permidion: /* CRC status */</p>
<hr />
<div>{{TOCright}}<br />
First of all, you should clearly understand how AniDB works in respect to files.<br><br />
AniDB is kind of split into two parts: The public side where you add the files visible for everyone and the private side (your [[mylist]]) where you can keep track of the files you have. If you want to [[How_to_add_files_to_your_mylist|add a file to your mylist]], you have to publicly add it to AniDB first.<br><br />
The reason for this is easy: The next person who has the same file and wants to add it to his/her list doesn't have to input all the info again, but simply selects the existing entry.<br><br />
That's why we ask you to include as much info as possible when adding a new file, it's for all users' benefit.<br />
<br />
{{eyecatch|Note:|You need to understand that "files" in anidb are actually just containers with textinfo added (bitrate, codec, hashes and so on) meaning those "files" are '''NOT''' located on the anidb server.}}<br />
<br />
== Where can I add files?! ==<br />
[[image:Add-edit file.png|thumb|add file dialog]]<br />
Go to the [[animeentries|anime's page]] and locate the [[animeentries#episodeentries|episode]] the file belongs to. Click on the [[Image:anidb_file_add.gif]] icon on the right (in the "Action" column). Then, you're on the "Add file" page for that episode, where you can input a lot of information.<br><br />
Not all of this is needed, but if you have a minute to spare please add them all.<br />
<br />
== Basic info you should include when adding a file ==<br />
=== [[AniDB:Ed2k-hash|Ed2k-link]] ===<br />
An [[AniDB:Ed2k-hash|ed2k-link]] consists of the filename, the file's size and a so-called [http://en.wikipedia.org/wiki/Hash_function hash], basically a fingerprint of the file.<br><br />
This assures that no duplicates are added (since they'd have the same hash) and that the size-value is correctly entered. Also important functions in AniDB itself and in [[AOM]] rely on the [[AniDB:Ed2k-hash|ed2k-link]] being present.<br><br />
Also see [[AniDB:Ed2k-hash#Which software can be used to generate them?!|How to generate ed2k-links]].<br />
<br />
=== Released by ===<br />
Normally, the files are "tagged", meaning that the filename contains a string like "[AonE]" which you can look for in the according shortname dropdown-menu. Please note that not all groups on AniDB are listed under the tag they actually use as AniDB can only have one distinctive tag for each group, <u>so make sure the group's full name matches as well</u>.<br />
<br />
When you add a new file from group that have already some files added for this anime, you can save yourself from browsing entire list again and againg by using '''by relation''' list, that contains only groups that already have at least one file added for this anime.<br><br />
You can also just enter the groupname into the searchfield and click '''Search'''. After doing that a dropdown menu will appear and list groups whose name match your search.<br />
<br />
However, some people remove the group-tags from filenames. If you have such a file, please check the file, if the group-name is being displayed somewhere in it.<br><br />
If the group isn't listed, you have to add it first.<br />
{{eyecatch|Note:|If a file is a joint release, meaning it was released by two or more groups (e.g. by "ANBU-AonE") that these usually have their own group entry in the dropdown-menu - AniDB treats those files like they are done by a separate group.}}<br />
<br />
{{eyecatch|Note:|If the file is a RAW, you should check [[which RAW groups to credit]].}}<br />
<br />
=== CRC ===<br />
A CRC is an 8-digit [http://en.wikipedia.org/wiki/Checksum checksum(/hash/fingerprint)] like this one: "F017C5A4". Use a program like [http://www.slavasoft.com/hashcalc/ hashcalc] or [[AOM]] to calculate the checksum of your file and put it in the according field.<br />
<br />
=== CRC status ===<br />
Groups often release files with the checksum of the correct file being published somewhere, for example in the IRC-channel's topic or directly in the filename. Now, only if the CRC you calculated from the file you have matches the CRC of the correct file, set the "CRC status" on AniDB to "crc matches official source".<br />
For older releases, especially for files you didn't directly get from the group, check pages like [http://www.envirosphere.com/ Envirosphere] or [http://baka-updates.com/ Baka Updates].<br />
<br />
{eyecatch|Note:|If the file is a RAW, UNLESS YOU HAVE A HASH LISTING FROM THE GROUP THAT RELEASED THE FILE, DO NOT ADD CRC-CORRECT STATUS.}}<br />
<br />
=== File type ===<br />
In case you pasted a full ed2k link (including the filename) to the "ed2k-link" field, the filetype will be set automatically. Otherwise you have to manually choose the correct one from the dropdown menu.<br />
<br />
=== File version ===<br />
Sometimes, the group makes mistakes and wants to correct them by releasing a second (third, fourth...) version, usually called "v2" ("v3", "v4", ...). If there is no such tag in the filename, it's normally "version 1".<br />
<br />
=== Audio language ("Lang" field) ===<br />
The default ("Japanese") should do it most of the time. The "Dual (X/Y)"-entries are meant to be used with files that contain multiple audio-tracks. If there's a third audio-language (which is currently not supported by AniDB), please add that info as a comment to the file.<br />
<br />
If the right language isn't listed, please request the language to be added in the [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Request-forum].<br />
<br />
=== Subtitle language ("Sub Lang" field)===<br />
Again, the default ("English") is right most of the time, but remember to choose the right one when adding a file with a different subtitle-language. If there are multiple subtitle-languages, please add that info to the file-comment. A request to add a missing language can be filed in the [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Request-forum].<br />
<br />
=== File Comment ("Descr" field) ===<br />
Here you can put important (public) info on that particular file, like additional audio or subtitle languages. Please use the [[Content:Filecomments|stadarized forms for comments]] about languages, subtitles and joints.<br />
<br />
== Optional Info ==<br />
We'd like you to add this info sooner or later to the file since some other users will benefit from your work.<br />
<br />
===Release Date===<br />
The date the group published the file. Have a look at the group's homepage or other release info pages like [http://www.envirosphere.com/ Envirosphere] or [http://baka-updates.com/ Baka Updates].<br />
<br />
===MD5 and SHA-1===<br />
Two more hashes. You can use programs like [http://www.slavasoft.com/hashcalc/ hashcalc] or [[AniDB O'Matic]] to easily get these hashes in one step.<br />
<br />
'''Hint:''' When you hash the file with [[AniDB O'Matic]], these hashes will automatically be added to the file-entry within 24 hours. (The file needs to be in AniDB already for [[AniDB O'Matic|AOM]] to create an [[Creq:Auto-creq|auto-creq]]!)<br />
<br />
===File Quality===<br />
:* unknown - You haven't watched the file yet or can't tell by your impression of previous files. Be sure to add the quality-rating once you've watched it!<br />
:* very high - No encoding artifacts, very good sound-quality, perfect timing, no grammar or translation-errors in the subs.<br />
:* high - The file is good, but there are minor issues with it, like a not-so-good source with few visible or audible encoding artifacts - maybe just in one particular scene - or slight translation/editing-misses.<br />
:* medium - One can clearly spot encoding issues in video or sound, or the translation is off sometimes.<br />
:* low - There's a permanent annoyance in video, audio or translation.<br />
:* very low - This is not quite what one would want to watch. The video, sound or translation are just disturbingly bad.<br />
:* corrupted - Used for files with clearly visible corruptions over a longer period in the file.<br />
:* eyecancer - Even recompressed to .rm, this couldn't look worse.<br />
<br />
The quality rating should not be influenced by differences in the actual drawing or contents (like a cut TV-version or a censored hentai). Please also don't rate a file lower just because you don't like the fonts used.<br />
<br />
===Source===<br />
Here you can tell the raw (unsubbed) source of the anime. If you don't know the source, leave it "unknown". If you find a tag like "(S)VHS" or "DVD" in the filename, choose the according option from the dropdown-menu.<br />
Sometimes, it's ok to make an educated guess: For animes that are released fansubbed shortly (within days/weeks) after they aired in Japan, you can safely assume "DTV" (Digital TV) as source. Another case for educated guessing is "HKDVD" (Hongkong-DVD) - the video-quality may be ok for them, but the translation is usually horrible, which is how you can spot them.<br />
<br />
===Video and audio information===<br />
Use [[AOM]] to easily determine the codecs and bitrates used in avi-files. For mkv/ogm-files, you can use [http://mediainfo.sourceforge.net/ MediaInfo] or the [http://matroska.org/downloads/shellextension/index.html Matroska Shell Extension]. Another possible program, which we consider trustworthy is [http://virtualdubmod.sourceforge.net/ Virtualdubmod] (Gspot is easy to use, but not very accurate so it's '''NOT''' recommended.)<br />
<br />
'''Note:''' Many XviD-encodes have a "DIVX" or "DX50" 4cc (for compatibility) and are thus often wrongly recognized as DivX4 or DivX5. In GSpot, you may find an additional signature displayed near the DivX one, for example "DIVX/xvid" or "DX50/xvid". In such cases, please always set the codec on AniDB to XviD.<br />
Also read: [[Codec Identification]]<br />
<br />
==Your version is corrupted...==<br />
[[Animeentries:Fileentries|Fileentries]] on AniDB are supposed to be useful for a larger group of users: One of them adds the entry and many others can use it (by adding it to their list).<br />
<br />
===Adding wide-spread corrupted files===<br />
An entry for a corrupted file may still be useful for others as long as it's likely that more people have the exact same corrupted file as you have. (For example if one source sent the corrupted version to many people.)<br />
<br />
If - and only if - this is the case, you can add the file normally to AniDB, marking it as "CRC invalid" and/or "Quality: Corrupted" if there are visible/audible errors in the file.<br />
<br />
===Adding "personal" corrupted files===<br />
<br />
If your specific (corrupted) version of the file isn't listed on AniDB, for example because of some hard- or software-problem on your side or because you manually edited the files, in most cases you should not add them to AniDB, because they serve no purpose for other users.<br />
<br />
Don't worry - you can still list such files properly in your mylist. For example: You have a corrupted version of group X's release. Navigate to the corresponding episode where the regular, uncorrupted of group X's release is listed and click on the "add file ()" icon. On the next page, you can select the "Type: corrupted version/invalid crc" so that your mylist-entries properly indicate which version you have.<br />
<br />
If there's no crc-valid version of group X added for the release you have, consider adding the episodes' [[generic files]] to your list instead.<br />
<br />
==Removing bad entries==<br />
If you added a bad entry yourself you can remove it as long as no one put that file to his [[mylist]]. In that case you don't have the neccessary rights to remove it. Please post the entry which should get removed here: [http://www.anidb.net/forum/viewforum.php?f=3 DB Change Requests]<br />
<br />
[[Category:Animeentries]][[Category: Guidelines]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Search&diff=4650Search2005-12-27T16:14:24Z<p>Permidion: </p>
<hr />
<div>The search engin of anidb automatically convert _ to space. So typing/pasting "Card_Captor_Sakura" will give you the same results than for "Card Captor Sakura"<br />
<br />
[[Category:Interface]]</div>Permidionhttps://wiki.anidb.net/index.php?title=Search&diff=4649Search2005-12-27T16:09:40Z<p>Permidion: </p>
<hr />
<div>The search engin of anidb automatically convert _ to space. So typing/pasting "Card_Captor_Sakura" will give you the same results than for "Card Captor Sakura"</div>Permidionhttps://wiki.anidb.net/index.php?title=Routine_maintenance&diff=3272Routine maintenance2005-05-15T22:59:55Z<p>Permidion: missing a verb there</p>
<hr />
<div>There are some aspects of the database that are maintained by scripts that run 3 times per week. Generally if there are problems with two conflicting pieces of information (for instance the group status still shows stalled/ongoing and a new file has been added that should change the status), these are generally maintained or corrected by the Routine Maintenance. '''Most data discrepancies will correct themselves if you wait 48 hours.'''<br><br />
<br />
Some of the items affected by the Routine Maintenance:<br />
:* [[Group Info]]<br />
:* [[Mylist]] Seen Values<br />
:* [[Mystats]]<br />
:* [[Top 10]]<br />
:* [[IRC/CGI Stats are broken/out of date?|IRC/CGI Stats]]<br />
<br />
[[Category:Definitions]][[Category:Problems]]</div>Permidion