View Full Version : Megui output to avi?
enchant1
19th January 2010, 16:40
I'm fairly new to encoding. I have a "recipe" to encode 1280x720 in mp4 format. My files are an avs file, a 1280x720 avi video, and a .ass file with subtitles. Using Virtualdub, I generate a .wav file, and Megui gives me a nice .mp4 output file.
However, I'd like to take a 704x396 .avi and with the associated .ass subtitles file, and create a 704x396 .avi output. I can't figure out what needs to be configured in megui to output to .avi. The only available containers are .mp4 and .mkv.
Sorry if this is a stupid question. Like I said... I'm pretty new at this.
Thanks for any help.
nurbs
19th January 2010, 16:45
You didn't say what codec you are using. With Xvid you can select avi as the output format. That's not supported with x264.
LoRd_MuldeR
19th January 2010, 16:51
With x264 you can output a "raw" H.264 stream and later mux it into AVI via avc2avi (http://sourceforge.net/projects/avc2avi/files/), if you really need to have H.264 in AVI.
But the more important question: Why do you want H.264 in AVI? Why not use a "standard" container like MP4 or MKV to store your H.264 streams ???
enchant1
19th January 2010, 16:56
But the more important question: Why do you want H.264 in AVI? Why not use a "standard" container like MP4 or MKV to store your H.264 streams ???
My subbing group lost its SD encoder, and I don't want them to have to change output formats in mid-stream, so to speak.
However, let me look into avc2avi. Thanks!
Since megui doesn't offer me a .avi container, does that indicate I'm missing a codec?
nurbs
19th January 2010, 17:00
x264 itself doesn't support output to avi and megui doesn't provide a tool that can do it, because there's no point in muxing H.264 in avi. There is no hardware that supports H.264 in avi but not either mkv or mp4 and with software it doesn't matter anyway.
enchant1
19th January 2010, 17:01
So are you saying that Megui simply cannot encode to .avi?
LoRd_MuldeR
19th January 2010, 17:02
Since megui doesn't offer me a .avi container, does that indicate I'm missing a codec?
Nurbs already explained that MeGUI uses the x264 encoder for H.264 encoding and that x264 does not support AVI output.
That's because AVI is not a suitable container for H.264 streams!
Well, H.264 in AVI works fairly well with most software players, but hardware players that support H.264 from AVI container are pretty much nonexistent.
(The main reason why people used to create H.264 in AVI is because they used the discontinued and deprecated x264 VFW encoder in VirtualDub)
So are you saying that Megui simply cannot encode to .avi?
You can't "encode" to AVI, because AVI is a container! You can encode to H.264 and then "mux" the H.264 stream into an AVI container.
But this is NOT recommended! H.264 streams should be muxed into a more suitable container, such as MP4 or Matroska (MKV).
Also MeGUI is nothing but a GUI front-end, so MeGUI itself doesn't encode or mux anything!
As said before (two times already!), MeGUI uses the x264 encoder for H.264 encoding and x264 does NOT support AVI output - for a good reason ;)
Consequently no x264 GUI will ever offer direct AVI output. Not MeGUI and nothing else! Remuxing is possible though...
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.