VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13

Thread: MKV to MP4

Thread
  1. Hi all,

    I have an MKV with a 4.1H264 stream and DTS stream. I have extracted the streams using MKVExtract and now want to put them in an MP4 container to play on my PS3. Yamb says DTS is not supported so I converted it to AC3 using eac3to but then Yamb crashed when writing the MP4 file (after the import process). Is there any alternative process/tools? Thanks in advance.
    Quote Quote  
  2. Member bat999's Avatar
    Join Date: Feb 2008
    Location: United Kingdom
    Search Comp PM
    Originally Posted by monster66 View Post
    Is there any alternative process/tools?
    How about using FFmpeg.
    From here ---> http://ffmpeg.zeranoe.com/builds/

    Try this command for your first attempt:-
    Code:
    ffmpeg -i filename.mkv -c:v copy -c:a ac3 filename.mp4
    Quote Quote  
  3. Originally Posted by bat999 View Post
    Originally Posted by monster66 View Post
    Is there any alternative process/tools?
    How about using FFmpeg.
    From here ---> http://ffmpeg.zeranoe.com/builds/

    Try this command for your first attempt:-
    Code:
    ffmpeg -i filename.mkv -c:v copy -c:a ac3 filename.mp4

    I just tried ffmpeg, seemed to work good but the audio is slightly out of sync, also what audio bitrate does this produce?
    Quote Quote  
  4. Member bat999's Avatar
    Join Date: Feb 2008
    Location: United Kingdom
    Search Comp PM
    For your second attempt add a bitrate parameter to your command.
    Something like this:-
    Code:
    ffmpeg -i filename.mkv -c:v copy -c:a ac3 -b:a 384k filename.mp4
    Quote Quote  
  5. If you prefer a Gui TEncoder is one alternative. It works especially well in batch mode.
    http://www.FavesSoft.com

    "I don't want to belong to any club that would have me as a member."
    - Groucho Marx
    Quote Quote  
  6. Thanks, the audio seems to be ok, but it is still out of sync, I think the MKV had a delay of 51ms.
    Quote Quote  
  7. Here's how I would do it with Hybrid
    1. Start Hybrid (current is 2012.04.11.1)
    2. Load source by pressing Main->Input File
    3. select Main->Video handling->passthrough
    4. select Main->Audio handling->Custom
    5. activate Audio->Main->Reencode audio stream
    6. select Audio->Main->Audio Encoding Options->Encoding->Audio format->ac3
    7. select the bit-rate you want for the ac3 Audio->Main->Audio Encoding Options->Encoding->Bitrate (kbit/s)
    8. add Audio selection to AudioQueue by pressing Audio->Main->'+'
    9. set output: Main->Output File (set a file name)
    10. add setting to job queue: Main->Add to Queue
    11. start job queue processing: Main->Start Queue

    Hybrid should handle delay&stuff.

    Cu Selur
    Quote Quote  
  8. VH Wanderer Ai Haibara's Avatar
    Join Date: Jan 2006
    Location: Somewhere on VideoHelp...
    Search Comp PM
    Would MkvToMp4 work? I haven't tried it...
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  9. I'm pretty sure ffcoder is another encoder GUI which will let you copy the video and convert the audio etc. Or....

    rebox.NET
    mkv/avi to mp4
    XenonMKV
    Quote Quote  
    1. Use the indexer with Megui. (Tools -> File Indexer)
    2. Start the queue.
    3. Save.
    4. Select desired audio format. Queue the Audio only.
    5. Start the queue.
    6. Demux the video stream using MKVExtractGUI-2
    7. Remux with Megui. (tools -> mp4 muxer) by adding the h264 stream + converted audio
    Megui will automatically adjust the audio stream to a delay of 0 seconds when converting it.
    This will save having to adjust the audio delay when muxing.
    Quote Quote  
  10. Originally Posted by Ai Haibara View Post
    Would MkvToMp4 work? I haven't tried it...
    I've used it a few times. Not super fast. But it's pretty much run it, go watch TV and forget about it. Defaults seem to do it. Automatically detects clipping and does a second audio pass if needed. Does normalizaton by default. I haven't noticed any need to adjust volume going from one format to another. The default setting seems to do it fine.

    One thing I've found is it insists on using a Temp subfolder as the work folder. I have external drives that are faster than my system drive. Since it's portable I just copied the whole folder structure to the external drive and run it from there. I have a shortcut to the exe on each drive in case the external drive doesn't happen to be in the dock.
    http://www.FavesSoft.com

    "I don't want to belong to any club that would have me as a member."
    - Groucho Marx
    Quote Quote  
  11. Speaking of TEncoder, it's just been updated to 1.8. I haven't tried the new version yet.
    http://www.FavesSoft.com

    "I don't want to belong to any club that would have me as a member."
    - Groucho Marx
    Quote Quote  
  12. Thanks a lot for your suggestions.
    Quote Quote  



Similar Threads