PDA

View Full Version : Muxing avi-x264 with ac3 in mkv


damrod
10th June 2005, 12:26
I encode a video with x264@500kbits_3passes_maxquality
and i want to mux it with the ac3 audio track into mkv file...

get fps=70 !!! when playing instead of 25 :-(

ut if i mux it with virtualdubmod into an avi file...works fine

does someone know why?

if i want correct output file it means i must use x264vfw and not cli version since cli output an mp4 file and vdubmod don't handle mp4 file

bond
10th June 2005, 12:35
moved to where it belongs

first of all:
if you want to place avc in mkv as it best would be (native mode) you HAVE to use .mp4 and than remux the .mp4 to .mkv in mkvmerge

i dunno if virtualdubmod handles avc to .mkv muxing at all, maybe it does because of the avi/vfw mode but i am not sure if it does it correctly

so all-in-all: if you want to be on your save side, dont use vdm for muxing avc, but mkvmerge (mkvmerge will not write avc in native mode when you remux from .avi)

stephanV
10th June 2005, 12:37
on the contrary, you should not use VDM to make h264 mkvs. or any mkv for that matter.

Use the mp4 output from the x264cli and then use mkvtoolnix to mux audio and video together.

someone was faster :)

using ac3 and x264 in vfw mode kinda defeats the purpose of mkv... you might as well use avi then ;)

damrod
10th June 2005, 12:51
formally i encode in avi because i use the vfw codec ;-)

but i have made a small gui for using cli version and the output is mp4 of course so i can use mkv... (http://vasaldo.free.fr/itseasy/soft.php#avcgui)

mp4 doesn't support ac3 audio track?

i must convert ac3 to aac 5.1 i think...

the main goal : next generation of dvd-divx homeplayer will support h264 i think but with avi or mp4 extension i think, not mkv :(

so i wonder which is best

i wonder if a 2.4 celeron4 can play h264 normally

my a64 3200+ has no problem of course ;-)

stephanV
10th June 2005, 13:01
formally i encode in avi because i use the vfw codec ;-)
Like I said, if you go that way, you have no incentive to use MKV. Besides perhaps 1 or 2 MBs of overhead there is no gain it.

mp4 doesn't support ac3 audio track?
Theoretically yes, practically no.

i must convert ac3 to aac 5.1 i think...
Yup, that would be the most logical thing to do if you want to use MP4.

the main goal : next generation of dvd-divx homeplayer will support h264 i think but with avi or mp4 extension i think, not mkv :(
If there ever will be such a thing, then you can count on it that the container most likely used is MP4.

so i wonder which is best
The forum rules man, the forum rules!!!! :D :D :D :P :P :P

I'd say MP4 would be the safest choice for standalones... you can always go from MP4--> MKV and from MP4 --> AVI is possible too i believe. You will lose the AC3 sound though.

i wonder if a 2.4 celeron4 can play h264 normally
Try it out, I'm pretty sure it can do DVD resolution stuff.

bond
10th June 2005, 13:39
i think its too early to encode avc video streams aiming at hardware

i think there is no doubt that avc will be played on hardware pretty soon (well still over one year) simply because hd-dvd will push it
still we dont know what features the chips will handle, and when we look at how things went with asp i assume that the first chips will be crap (not handling cabac, loop aso...). than companies, like nero, will define their profiles matching those crap chips. than all following chip manufacturers will look at those private profiles and will produce their chips also with supporting few features -> to make it short: lots of mess will come up

the other possibility is that hd-dvd (which includes high profile) will push the format so heavily, that the chip manufacturers will support high profile right away and you will be able to play as good as any stream

well we will see :D

damrod
10th June 2005, 14:39
i see

i have a problem to create 5.1aac from my ac3...with besweet gui nothing append...
and nero recode doesn't support ac3->5.1aac....only vob to mp4 with aac 5.1 :-(

have you any idea?

I'm currently trying to put on a single dvdr the 3 LOTR extended edition..that's why i use mpeg4 avc ;-)

i don't like to change dvd when watching the movies (especially during the movie itself, not only between the 3 movies)

with xvid@700kbits it was a crap :-(

DarkJester
10th June 2005, 15:26
i have a problem to create 5.1aac from my ac3...with besweet gui nothing append...
and nero recode doesn't support ac3->5.1aac....only vob to mp4 with aac 5.1 :-(

have you any idea?


Try BeLight, it's the easiest way to create 5.1aac from ac3.

damrod
10th June 2005, 15:39
i use it to convert the 448 5.1 ac3 to a 256 5.1 ac3 :)
work great

but for 5.1 aac it wants besweet.dll and aacenc.dll :-(

i have only the exe last evening...will try again this evening

with foobar and with nero dll :-)

DarkJester
10th June 2005, 16:20
but for 5.1 aac it wants besweet.dll and aacenc.dll :-(

afaik you only need to put the nero dlls Aacenc32.dll and aac.dll in the same folder as BeSweet.
I'm sure there's some threads about it in the 'Audio encoding' forum.

damrod
12th June 2005, 18:43
ok

i will try that...
for the moment i reencode ac3 448 to ac3 256kbits...in aac5.1 which bitrate is best...192 is not suffisant no?

Backflip
17th July 2005, 13:56
How'd you get along with this project? 6CH HE-AAC @ normal setting (192) would give a good file size. Extreme setting @ 256 gives not that much of a smaller file size than the original AC3.

I haven't seen any 6CH AAC tests though. Would be pretty difficult to test for sure.

All I can say is MP3 at standard is percievably the same as MP3 at extreme setting for the LAME encoder -- 2CH. Maybe it's the same with AAC. For a matter, I think AAC @ 128Kbps is considered like a high quality setting, but maybe all you need in the instance of encoding 6CH is about 192Kbps.

MeteorRain
18th July 2005, 20:26
BTW, IMHO, HE-AAC should be better than LC-AAC in mid and low bitrate field.