View Full Version : Mux VC-1, H.264 & MPEG-2 + DTS Into AVI Container
Joniii
24th January 2008, 19:34
I've been experimenting with different containers past couple of days. So far I've managed to do mux VC-1 & H.264 with DTS sound into AVI and it does perform alot better than mkv and TS on Core 2 Duo 6400. Only problem I have is with MPEG-2 Blu-ray discs. Is there any program out there that muxes MPEG-2 into AVI, like VC12AVI does?
Jalavera
25th January 2008, 09:34
Try AVIDEMUX or ffmpeg (or mencoder) for mpeg2 to avi transcode (no reeencode). mpeg2-in-avi is rare. To play it you can use ffdshow (with activated mpeg-in-avi checked) and mplayer/SMplayer/MPUI
For h264 (AVC) to AVI you also can use AVC2AVI Mod (SouceForge project)
Joniii
25th January 2008, 11:12
Thx, Avidemux does a great job with MPEG-2 except AR seems to be wrong. Top and bottom black bars take about 50% of the screen.
Jalavera
25th January 2008, 11:42
AVI doesn't have AR - however some video codecs used in AVI do. All AVI players (hard or soft) use this info. 1:1 PAR is the only safe way to do AVI.
Joniii
26th January 2008, 09:54
Dunno what the problem with it is then. Also I just noticed that h264->avi with avc2avi doesn't seem to create timeframe flags, so seek doesn't work. Anyone know of a program that could fix that? VirtualDub(mod) crashes if i try ty redo those flags with it.
Edit:
Nm, using "-s 2000" splits output file into 2GB parts, everything works fine then.
Joniii
27th January 2008, 19:57
One thing still puzles me, maybe someone who understands these things better could help.
When I do Blu-ray H.264 -> avi with AVC2AVI Mod using this command:
avc2avi -i video.avc -o video.avi -f 23.976 -s 2000
That should create 23.976 file, but when I open it with Virtualdub it says framerate is 23.975. Avimuxgui says this on the file information:
framerate (strh): 23.975 fps
framerate (avih): 23.9762 fps
The framerate value has appearently been written by a broken program!
Anyone have any idea whats wrong with this? Could this be fixed somehow by just editing the framerate value on that avi?
[)370|\|470!2
29th January 2008, 16:37
Yes, AVC2AVI's unable to handle 23.976 fps stream properly. There's more glitches, like improper keyframes. I'd avoid using it at all.
Joniii
30th January 2008, 06:48
Yes, AVC2AVI's unable to handle 23.976 fps stream properly. There's more glitches, like improper keyframes. I'd avoid using it at all.
Ok, thx for the info :).
[)370|\|470!2
30th January 2008, 23:19
Joniii,
You may wish giving a try to avc2avi_mod, using it with [-f 23.976024] parameter. Didn't try it myself, but it could work.
Correction: just tried myself and it works. Used it on 4.36G 1280x528 x264 file with 640kbps ac3, using -f 23.976024 -s 2000. Muxed it with avimuxgui 1.16.11. Resulting .avi has 23.976fps and plays fine with everything in sync.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.