Converting h.264 MKV to static format help

Discussion in 'Other video questions' started by Ryutso, May 5, 2009.

  1. Ryutso

    Ryutso Member

    Joined:
    Apr 20, 2008
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    16
    I know MKV is versatile and all, able to use multiple audio streams and multiple subtitle streams is good. Unfortunately my DVD player can only play the static formats that only allow one video, one audio and one subtitle stream.

    I've been trying to convert this one h.264 encoded MKV file into an AVI, but to no avail, since the sound is VBR OGG encoded.

    Demuxed it, and have tried multiple ways to remux it back so it all functions as an AVI.

    -avc2avi
    -VDubMod
    -Avidemux

    And many others. I'll post the MediaInfo and see if anyone can tell me the best static format to convert to, whether it be AVI or MP4 or even MPEG.

    MediaInfo of the current video:
    Code:
    General
    Format                           : Matroska
    File size                        : 250 MiB
    Duration                         : 29mn 5s
    Overall bit rate                 : 1 199 Kbps
    Encoded date                     : UTC 2007-04-24 17:26:57
    Writing application              : mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55
    Writing library                  : libebml v0.7.7 + libmatroska v0.8.1
    Cover                            : Yes / Yes
    
    Video
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L5.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 2 frames
    Muxing mode                      : Container profile=Unknown@5.1
    Codec ID                         : V_MPEG4/ISO/AVC
    Duration                         : 29mn 4s
    Nominal bit rate                 : 1 364 Kbps
    Width                            : 640 pixels
    Height                           : 480 pixels
    Display aspect ratio             : 4/3
    Frame rate                       : 29.970 fps
    Resolution                       : 24 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.148
    Writing library                  : x264 core 46 svn-504
    Encoding settings                : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=5 / brdo=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / chroma_qp_offset=0 / slices=1 / nr=0 / decimate=1 / bframes=2 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=2 / wpredb=1 / bime=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=1364 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
    Language                         : Japanese
    
    Audio
    Format                           : Vorbis
    Codec ID                         : A_VORBIS
    Duration                         : 29mn 5s
    Bit rate mode                    : Variable
    Channel(s)                       : 2 channels
    Sampling rate                    : 48.0 KHz
    Language                         : Japanese
    
    Text
    Format                           : ASS
    Codec ID                         : S_TEXT/ASS
    Codec ID/Info                    : Advanced Sub Station Alpha
    Title                            : ass
    Language                         : English
    
     
  2. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    You have a DVD player that plays MKV? Sounds good - which model?

    Why don't you Demux the ogg and change it to something else.
    Ac-3 or perhaps even mp3.
    Then create a new MKV with the new audio, video and subs.

     
  3. Ryutso

    Ryutso Member

    Joined:
    Apr 20, 2008
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    16
    No I don't have a DVD player that can play MKV. That's why I need this converted.

    Also, when I encoded the ogg audio and created a new MKV, the audio was out of sync.
     
  4. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Create a new MKV with just the Video.
    Install the Haali media splitter and Avisynth.
    Create a simple script and frameserve the mkv containing the video
    to Virtualdub using a simple one-line script - something like this:

    directshowsource("c:\mymovie.mkv",fps=23.976,convertfps=true)
    (Make sure the fps reflects the actual frame rate)

    Create this file in Notepad, call it something like "myfile.avs",
    then drag it to virtualdub. Set video to "fast compress", and choose
    video/compression - select xvid or Divx/configure/ restore defaults/
    Set 1 pass quality mode Q=4. OK out and File/save as avi.

    For the rest, convert the ogg to mp3.
    Convert the subs to IDX/SUB format, or SRT.
    These elements can be merged with the video when it's finished
    by using Divx Mux GUI. http://labs.divx.com/DivXMuxGUI
     
  5. Ryutso

    Ryutso Member

    Joined:
    Apr 20, 2008
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    16
    Can't do Avisynth. No Vista x64 edition yet.

    Any other hints?
     
  6. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Create the video only MKV.
    Does Dr. Divx work in your OS? Give that a try.
     
  7. Ryutso

    Ryutso Member

    Joined:
    Apr 20, 2008
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    16
    Dr. Divx works yes. I recently had it before. W@hat do I do with it?
     
  8. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Aren't you trying to create an avi from your MKV?

    encode the MKV in Dr. Divx .

    When it's done, mux in the audio and subs with
    divx mux gui (I mentioned this bit in a previous post).
     
  9. Ryutso

    Ryutso Member

    Joined:
    Apr 20, 2008
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    16
    Can't get DivxMuxGui to install. It keeps saying I need the .NET Framework 1.4, but I have the .NET framework 3.5
     

Share This Page