VideoHelp Forum




Results 1 to 6 of 6
  1. Member
    Join Date
    Feb 2008
    Location
    Germany
    Search Comp PM
    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:

    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
    What I get is a vob-file that has has no video and just one audio when played in VLC.

    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?

  2. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    you can't have h264 video in a vob. that denotes a dvd file and it has to be mpeg-2.
    --
    "a lot of people are better dead" - prisoner KSC2-303

  3. Member G Rom's Avatar
    Join Date
    Aug 2005
    Location
    Montpellier, France
    Search Comp PM
    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)

  4. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by olik
    Does anyone know the command line mkv2vob uses?
    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
    What am I doing wrong?
    Try
    Code:
    ffmpeg -i Video.264 -i Audio_eng.ac3 -i Audio_ger.ac3 -vcodec copy -acodec copy -f vob Output.vob -acodec copy -newaudio
    1. This will give you a VOB with 3 streams (video+audio+audio).
    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.

    Originally Posted by olik
    Btw, is it possible to mark the audio tracks "Eng" and "Ger" when played in PS3?
    I pretty sure neither VOB nor AC3 support language setting metadata. For regular DVDs, that information is stored in the IFO.

  5. Member
    Join Date
    Feb 2008
    Location
    Germany
    Search Comp PM
    Originally Posted by G Rom
    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
    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.
    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

  6. Member G Rom's Avatar
    Join Date
    Aug 2005
    Location
    Montpellier, France
    Search Comp PM
    Right olik. Sorry

    Originally Posted by Case
    Originally Posted by olik
    Does anyone know the command line mkv2vob uses?
    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
    What am I doing wrong?
    Try
    Code:
    ffmpeg -i Video.264 -i Audio_eng.ac3 -i Audio_ger.ac3 -vcodec copy -acodec copy -f vob Output.vob -acodec copy -newaudio
    1. This will give you a VOB with 3 streams (video+audio+audio).
    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.

    Originally Posted by olik
    Btw, is it possible to mark the audio tracks "Eng" and "Ger" when played in PS3?
    I pretty sure neither VOB nor AC3 support language setting metadata. For regular DVDs, that information is stored in the IFO.
    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)
    More informations :
    http://forum.doom9.org/showthread.php?t=123392




Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!