User User name Password  
   
Monday 29.9.2025 / 18:18
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > divx / xvid > h.264 converting
Show topics
 
Forums
Forums
H.264 Converting
  Jump to:
 
Posted Message
tygunx
Newbie
_
2. February 2006 @ 11:57 _ Link to this message    Send private message to this user   
I want to start my own anime distributing group, but I need to now how to get and use the new H.264 codec to convert(Mainly mpeg2 converting). I'd prefer free but if I have to pay, I'll pay. Thanks.
Advertisement
_
__
celtic_d
AfterDawn Addict
_
2. February 2006 @ 18:39 _ Link to this message    Send private message to this user   
h.264 is a standard. Fortunatly the only free encoder is also the best and that is x264. It is not a codec though, just an encoder. FFDShow includes x264 for encoding and libavcodec for decoding, so I guess that qualifies it as a codec. CoreAVC is a much faster decoder though.

For encoding with x264 I would suggest that you stick with the command line encoder.

With anime, there is a fair chance that your source is VFR, so I'd go with mkv for a container. The x264 cli encoder can output mp4 or mkv. You can then just remux with your time codes, audio, subs, etc.

What ever you do, don't use the x264 VfW encoder and don't use AVI as a container.

For my latest x264 build try:
http://ffdshow.faireal.net/mirror/x264/
Otherwise:
http://www.x264.nl/
tygunx
Newbie
_
10. February 2006 @ 17:47 _ Link to this message    Send private message to this user   
thanks, and if it's not too much trouble, can you tell me what settings I should have in VirtualDubMod
celtic_d
AfterDawn Addict
_
10. February 2006 @ 18:06 _ Link to this message    Send private message to this user   
None. As I said. Don't use it.
zorrander
Newbie
_
12. February 2006 @ 16:37 _ Link to this message    Send private message to this user   
Is there a reason you wouldn't use AVI for h264 content? I've been making h264 encoded AVI files with mencoder for a while and have had no problems with them.
celtic_d
AfterDawn Addict
_
12. February 2006 @ 17:47 _ Link to this message    Send private message to this user   
Is there any reason why you would want AVC in AVI? At least with mencoder you avoid VfW though.

The only thing AVI has going for it is compatibility and with AVC you loose that.

Plenty of standalone players that support XviD/DivX in an AVI container. Not so many that support mp4 and I think still none that support mkv.

There are no players that support AVC in AVI so it is basically just as incompatibile as mp4 or mkv. mkv/mp4 on the other hand support AVC natively (no FourCC's, properly handles bvops and other out of order frames) and have numerous other advantages over AVI.

So why bother with AVI? For XviD, etc. we are pretty much stuck with it, but with AVC we can make a clean break.
zorrander
Newbie
_
12. February 2006 @ 18:33 _ Link to this message    Send private message to this user   
I don't really know a lot about the specifics of how each container works. All I know is the AVI files I make with h264 have never been a problem. I don't need subtitles so I never messed with mkv files. I've been using SimpleDivx which is just a GUI interface to start mencoder and can make mkv files if I wanted... just never saw a need. I've also used Nero Recode to make a few mp4 files but never saw much difference in video quality. Mencoder runs about 10.2 fps on my A64 3200 where as Recode runs around 5fps.

I've had a few people tell me to stay away from AVI's when encoding with h264 but never give a good reason except that mp4 or mkv is better. None of them so far can explain why though. :)

I play these avi files with Media Player Classic and ffdshow and have had good results.

This message has been edited since posting. Last time this message was edited on 12. February 2006 @ 18:34

celtic_d
AfterDawn Addict
_
13. February 2006 @ 00:50 _ Link to this message    Send private message to this user   
Well the main point is that you loose some frames. Like I said, why do you want to use avi though? If there is no reason then why use it?

VfW is much worse than avi though, but the two do kinda go together. VfW is a simple 1 frame in 1 frame out setup. AVC just doesn't work that way. Even when encoding via mencoder you still loose some frames. avi just isn't designed for storing frames out of order.

With recode any differences are to do with the different encoders, not the container. Containers don't really effect quality, although if one container has lower overhead than another, then you can use a higher bitrate with it and still hit the same target size. Also mkv/mp4 handle aac audio better (supported by pretty much all tools, not just AVIMuxGUI) so you can save some bitrate on the audio.

mkv/mp4 also support chapters which can be usefull.

edit: Maybe mencoder can actually output an avi without missing frames. But what I originally said is don't encode via VfW which is what most people mean why they say don't use AVC in avi, since as I said the two are somewhat linked.

This message has been edited since posting. Last time this message was edited on 13. February 2006 @ 01:12

Advertisement
_
__
 
_
zorrander
Newbie
_
13. February 2006 @ 04:07 _ Link to this message    Send private message to this user   
That seems reasonable to me. I can start encoding them into mkv's from now on just to avoid the situation you are referring to. Sorry for being dense, I'm just not very knowledgable about such things... I'm one of those people that will keep doing something if it works even if it's not the best way to do it. :)
afterdawn.com > forums > archived forums > divx / xvid > h.264 converting
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork