Hi,
I want to mux a H264 (720p movie) with two AC3 (German/English audio tracks) to a PS3-playable VOB. The tool mkv2vob does the same with one AC3 and it works perfectly , but I do not know the command line it uses, so I tried for myself:
What I get is a vob-file that has has no video and just one audio when played in VLC.Code:ffmpeg -r 23.976 -f h264 -i video.h264 -f ac3 -i audio1.ac3 -f ac3 -i audio2.ac3 -vcodec copy -acodec copy -f vob output.vob
Does anyone know the command line mkv2vob uses? What am I doing wrong?
Thanks!
Btw, is it possible to mark the audio tracks "Eng" and "Ger" when played in PS3?
Results 1 to 6 of 6
-
-
This is actually the trick aedipuss. The PS3 recognizes the file as a MPG stream but can decode the H.264 and the AC3 muxed in it... Don't ask why !
olik, about the video, it's maybe a frame rate issue... Your original MKV may not run at 23.976 fps.
And about the audio, I thought mkv2vob could only handles the first audio stream...
And btw, I don't think this is the right forum to ask for help about mkv2vob
I wish ffmpegX could remux MKV files so easily 8)
-
I'm not convinced mkv2vob usus ffmpeg for muxing elementary streams. It seems to use tsmuxer, if my analyses is right.Originally Posted by olik
TryOriginally Posted by olik1. This will give you a VOB with 3 streams (video+audio+audio).Code:ffmpeg -i Video.264 -i Audio_eng.ac3 -i Audio_ger.ac3 -vcodec copy -acodec copy -f vob Output.vob -acodec copy -newaudio
2. VLC will only play the audio (perhaps over MPEG-2/H.264 confusion). Just try it on a PS3.
3. I think the H.264 video should be level 4.1 for the PS3, so make sure it is set right before putting it through ffmpeg.
I pretty sure neither VOB nor AC3 support language setting metadata. For regular DVDs, that information is stored in the IFO.Originally Posted by olik
-
Yes, that's right. I want to do exactly the same as mkv2vob, but with two audio streams. That's why I ask what the command line that mkv2vob uses is so that I can modify it with two audio streams.Originally Posted by G Rom
So this is not a question concerning mkv2vob, but concerning how to mux h264+ac3+ac3->vob using ffmpeg, that's why I ask here.
@Case: Thanks, I will try this in a few minutes.
Oli
-
Right olik. Sorry

Does anybody know an utility to change the H.264 video level under Mac OS X, like h264info does... (the file isn't reencoded, only the header is altered)Originally Posted by Case
More informations :
http://forum.doom9.org/showthread.php?t=123392
Similar Threads
-
MP4Box problems with AC3 using command line
By mrloofer in forum Video ConversionReplies: 7Last Post: 22nd Apr 2015, 21:58 -
ffmpeg / H264 (need help to build an optimized command line)
By iwiiiiiiiiii in forum Video ConversionReplies: 13Last Post: 22nd Oct 2011, 10:41 -
Linux command line tools for Converting AVI to H264/AAC mkv
By Psykro in forum LinuxReplies: 9Last Post: 6th Oct 2011, 21:21 -
MPEG4-AVC (H264) + AC3 -> Divx + AC3?
By thomas_fogh in forum Video ConversionReplies: 12Last Post: 1st Nov 2008, 20:25 -
H264: Are there other h264 (AVCHD/VC-1) encoding command-line/CLI tools ??
By vhelp in forum Newbie / General discussionsReplies: 12Last Post: 16th Feb 2008, 01:20


