Log in

View Full Version : Have expirence with AVI, never encoded in MP4 before


Cyber Akuma
6th July 2009, 03:06
Ive been encoding DIVX/Xvid AVI videos for a while now, and made a few h264 AVI videos.

But everything seems to support mostly MP4 now, and some of my meda players, though they can play AVI and h264 MP4 files.... cannot play AVi files encoded in h264.

So I figured now would be the time to move on to MP4.

I assume I can still use VirtualDub to encode the video stream into a H264 AVI to use later in the MP4 right?

So then, what audio format should I encode the audio in? What encoding app should I use?

And once I have encoded and audio and video, what app should I use to mux them together into a MP4 file?

Thanks

Inspector.Gadget
6th July 2009, 04:09
Don't use VFW for H.264 or MP4. Use MeGUI, Staxrip, RipBot264, or something else modern as a front-end to the CLI version of x264.

Cyber Akuma
6th July 2009, 12:10
Don't use VFW for H.264 or MP4. Use MeGUI, Staxrip, RipBot264, or something else modern as a front-end to the CLI version of x264.

VFW? Video For Windows? Isn't that just a wrapper/decoder?

And that dosen't really answer my question, I already have 32 and 64 bit x264 codecs, I just need to know what autio odec/app to use and what app to use to mux the video and audio streams together.

stax76
6th July 2009, 12:39
You should either better try to listen what more experienced people suggest or develop better strategies to learn things yourself, use google, wikipedia etc., search for 'tutorial x264 mp4' or 'guide x264 mp4'.

Sharktooth
6th July 2009, 13:16
VFW is a multimedia framework. it was born in 1992 with windows 3.x (not sure if it was 3.0, 3.1 or 3.11).
it's so old it doesnt support new encoders features, so even xvid and divx contain hacks to work with VFW.
with h.264 is even worse...
VFW is also responsible of the lack of variable frame rate encoding in all avisynth based encoding softwares...

Cyber Akuma
7th July 2009, 01:21
VFW is a multimedia framework. it was born in 1992 with windows 3.x (not sure if it was 3.0, 3.1 or 3.11).
it's so old it doesnt support new encoders features, so even xvid and divx contain hacks to work with VFW.
with h.264 is even worse...
VFW is also responsible of the lack of variable frame rate encoding in all avisynth based encoding softwares...

I see.

But I want to create a video that would be compatible across most of my hardware players. Would I still be able to do that if I used a non-VFW version of the codec?

smok3
7th July 2009, 01:24
check http://www.networkedmediatank.com/wiki/index.php/Encoding_Guide_for_DVD_to_H264

RunningSkittle
7th July 2009, 01:24
I see.

But I want to create a video that would be compatible across most of my hardware players. Would I still be able to do that if I used a non-VFW version of the codec?

Yes...

BigDid
7th July 2009, 22:36
But I want to create a video that would be compatible across most of my hardware players. Would I still be able to do that if I used a non-VFW version of the codec?
Hi,

I suppose your hardware players are some sort of media-box accepting AVC/H264. If yes, you will need to find a preset compatible with all of them (or use same model) like Main or High profile, Level 3.1 -4.0 or 4.1...

See
http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC

Did

Cyber Akuma
2nd August 2009, 04:12
Ok, so I got megui and have been looking around on it, I will lookup a guide on properly choosing the correct settings to use later (and how to calculate the end result filesize, since with xvid I could set the filesize I wanted).

Any other advice?

I was told to use megui to encode the video, NeroAAC to encode the audio, and Yamb to mux them (Yamb is VERY VERY crashy though)...

nurbs
2nd August 2009, 09:22
Why don't you use MeGUi to mux everything?

m3mbran3
2nd August 2009, 10:02
megui can mux using mkvmerge. NeroAAC is the best encoder for AAC audio, although it's support, especially HE-AAC can be limited on some hardware. If you want good hardware compatibility I suggest you stick with the megui dxva profiles but you might have to run some tests to see if your audio files are supported. AAC LC should be fine though.

Cyber Akuma
2nd August 2009, 21:12
Why don't you use MeGUi to mux everything?

Wasn't aware it could, I can mux MP4 files using megui?

PALace
2nd August 2009, 21:36
Hi Cyber Akuma, just to let you know; MeGUI doesn't encode video, its sort of like GordianKnot. However, with MeGUI instead of using the Xvid encoder (and you can use MeGUI to encode with Xvid) you can use x264. You should browse the MeGUI thread for info on settings etc. If you have already encoded stuff using Xvid, it shouldn't be too difficult. berrinam has a good sticky here http://forum.doom9.org/showthread.php?t=112496

Cyber Akuma
3rd August 2009, 02:57
Yes, im aware, megui is just a gui frontend for the commandline version of the x264 codec right?

m3mbran3
3rd August 2009, 03:02
yes, and plenty of other tools too.

slipknot!
13th August 2009, 18:02
yes and it also contains the mp4 muxer (gui), which you were looking for.