Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th December 2001, 09:56   #1  |  Link
dvdpunk81
Registered User
 
Join Date: Dec 2001
Posts: 13
Codec for Anime?

Which codec do most of you people find best for encoding anime? I tried encoding Akira w/ GKnot and divx 4.11 and the results were disappointing. Usually GKnot produces movies within 3% of the desired file size, but Akira ended up being over 25% bigger than the file size I picked. In addition, the quality wasn't that great.

Should I try windows media, real, or what?

Thanks.
__________________
my DVD collection --> http://www.dvdprofiler.com/mycollection.asp?alias=Zentraedi
home entertainment system --> http://home.attbi.com/~zentraedi/DSCN0462.jpg

dvdpunk81 is offline   Reply With Quote
Old 18th December 2001, 14:04   #2  |  Link
M-M-C
Registered User
 
Join Date: Dec 2001
Posts: 7

i got the same problem with encoding akira... it's 10% bigger than the desired filesize
isnt there a way to fix it?
btw, i used 2-pass
M-M-C is offline   Reply With Quote
Old 18th December 2001, 20:45   #3  |  Link
Peters
Registered User
 
Peters's Avatar
 
Join Date: Oct 2001
Location: France
Posts: 138

Make a try with VP3 codec (free) at http://www.vp3.com

I find this codec much better for anime than Divx
Peters is offline   Reply With Quote
Old 19th December 2001, 00:28   #4  |  Link
MxxCon
Registered User
 
Join Date: Oct 2001
Posts: 161

go with divx 3.11
__________________
[Sig removed by administrator: Signature can not exceed 20GB]
MxxCon is offline   Reply With Quote
Old 19th December 2001, 13:02   #5  |  Link
bb
Moderator
 
bb's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 2,665

I think something like a GIF-based codec would be appropriate for anime. Probably it could be coded similar to Huffyuv, but with GIF's compression algorithm. I think so far it would be great for capturing anime.

One step further you could have some keyframe / delta frame mechanism similar to MPEG.

Does anybody know of such a codec, or is anybody willing to implement it?

bb
bb is offline   Reply With Quote
Old 19th December 2001, 15:04   #6  |  Link
slavickas
I'm Shpongled
 
slavickas's Avatar
 
Join Date: Nov 2001
Location: Lithuania
Posts: 303
Re:

Quote:
Originally posted by bb
I think something like a GIF-based codec would be appropriate for anime. Probably it could be coded similar to Huffyuv, but with GIF's compression algorithm. I think so far it would be great for capturing anime.
bb
gif's compression (lzw) is VERY outdated better try vp3
slavickas is offline   Reply With Quote
Old 20th December 2001, 09:47   #7  |  Link
bb
Moderator
 
bb's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 2,665
Re: Re:

Quote:
Originally posted by slavickas


gif's compression (lzw) is VERY outdated better try vp3
Well, it uses a palette of 256 colors only, but it can compress lossless except the colors. And I can imagine it's really good for compressing anime with large unicolor regions. It wouldn't mess up the sharp edges found everywhere in animes.

And my post was just a suggestion for coders who want to give it a try, because as far as I know such a codec doesn't exist yet. Especially with motion search algo included.

VP3 is an MPEG4 codec, and MPEG codecs need a lot of bits for coding sharp edges. You'll have to deal with artefacts that are much more visible in anime than in other films. And I don't think MPEG exploits the compressibility of animes very well (as I said: large regions with uniform colors, but sharp edges).

Please don't misunderstand me: IMHO VP3 is a very good codec, although it lacks two-pass encoding. I'd prefer it for low bitrate encoding like 500 kbps.

bb
bb is offline   Reply With Quote
Old 20th December 2001, 10:34   #8  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303

> Well, it uses a palette of 256 colors only, but it can compress lossless except the colors. And I can imagine it's really good for compressing anime with large unicolor regions. It wouldn't mess up the sharp edges found everywhere in animes.

First you'd have to find an anime with large unicolor regions (aka pre-filtered, DCTs introduce artifacts that gif would choke on). The animated gif format already caters for a rudimentary form of motion compensation, but i think the compression ratio would be much less than you'd expect. Just do a google search for 'avi2gif' and you'll find some tools capable of the conversion.

-h
-h is offline   Reply With Quote
Old 20th December 2001, 12:09   #9  |  Link
ProfDrMorph
fresh brains!
 
ProfDrMorph's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 195

Hmmm many more modern animes use computer generated graphics. Others use high detailed backgrounds. So I don't think that 256 colors aren't enough for every frame. The codec should at least a variable color palette to get closer to the original image. But even with a variable palette you'll get problems.
ProfDrMorph is offline   Reply With Quote
Old 21st December 2001, 16:02   #10  |  Link
DrFrag
Registered User
 
Join Date: Dec 2001
Location: South Australia
Posts: 1

Forget about using 256 colour compression (if you can even find it). On an obsolete 256 colour display, you either get extreme dithering or a lot of flicker (because it has to change the colour palette every frame). On a 16 or 24 bit colour display, you're better off using 16/24 bit colour anyway. Look how much smaller JPG files are than GIF - same applies to video compression.

As for a codec, I have found that the Divx 3.11 Fast Motion Codec gets the best results, due to the amount of change in each frame in anime. Compared to the other 3.11 Codec (slow? smooth? I can't remember), if you aim for the same file size you get much better quality using the Fast Motion Codec.

BUT the maximum quality of the Fast Motion Codec is inferior to the other one, so it depends on what quality you want to put up with.

For a 320x240 anime, encoded at 6000kps Fast Codec, 1 key frame per second, it works out to around 100MB per 20 minues (give or take 40% depending on the anime style). This is slightly lower than TV quality.
If you want higher quality, you'll have to go for the newer divx codecs. I've only just downloaded v4.12 so I haven't had a chance to test it yet. For full movie encoding, you can probably use the higher quality and fit it on one CD, since anime movies are generally shorter than regular movies.
DrFrag is offline   Reply With Quote
Old 30th December 2001, 05:18   #11  |  Link
Gin_Quaker
Registered User
 
Join Date: Oct 2001
Posts: 14

i had the same problem with akira, although i was using virtual dub and VFAPI. I was getting a rather larger file size with very bad quality. I then decided to make it a 2 CD rip and it came out fine. So far this is the only movie i have ever had to do a 2 cd rip with.

Hmm, i also have come across a posting in this board about a sbc divx 4.12 editor. http://divx4log.narod.ru/

thats all i have to say
Gin_Quaker is offline   Reply With Quote
Old 30th December 2001, 09:53   #12  |  Link
yangus
Guest
 
Posts: n/a
i encoded akira onto 2 cds and the estimate came out a little above than what the bitcalc said. so i had to cut off the intro
from experience, i found that it's always good to take off 10 or 20 bits of what the calc says. this way, my movies always comes to be just the right size or smaller. i encode a lot of anime and i find that it's always better to do 2 episodes per cd than trying to cram 4 episodes. this applies for most animated anime (ie lain, princess monoke) however i discover others, such as kenshine (tv series), where the anime quality isn't so great to begin, it's possible to put 4 episodes per cd without degration from the orignial. just my 2 cents...
btw i use divx4
  Reply With Quote
Old 6th January 2002, 19:56   #13  |  Link
ThePanda
Registered User
 
Join Date: Oct 2001
Location: Connecticut
Posts: 117
for anime i believe you can greatly improve the compression ratio by filtering the video before compression (I use temporal smoother before resizing and smart smoother after, maybe this new "2D Cleaner (Optimized)" is better though, I haven't tried it yet). The only thing I don't like is that I can often see a lot of blocks on black screens; is there any way to get rid of this? I use divx4 btw
ThePanda is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:49.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.