VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. Member
    Join Date
    Jul 2016
    Location
    United Kingdom
    Search PM
    Wondered if someone could throw some light on this one for me please?

    Got some MKV files that I'm trying to convert to MP4 but when I converted them there was no audio. Looked online quite a bit to try figure it out. Tried demuxing to get an audio file that I can remux with the mkv but most apps I tried don't even give me an audio file.
    I'm on a Mac btw.

    The media info is below.

    General / Container Stream #1
    Total Video Streams for this File.................1
    Total Audio Streams for this File.................1
    Video Codecs Used.................................V_MPEGH/ISO/HEVC
    Audio Codecs Used.................................A_OPUS
    File Format.......................................Matro ska
    Play Time.........................................22mn 11s
    Total File Size...................................142 MiB
    Total Stream BitRate..............................896 Kbps
    Encoded with......................................mkvmerge v8.7.0 ('All of the above') 32bit
    Encoding Library..................................libebml v1.3.3 + libmatroska v1.4.4
    Video Stream #1
    Codec (Human Name)................................V_MPEGH/ISO/HEVC
    Codec (FourCC)....................................V_MPEG H/ISO/HEVC
    Frame Width.......................................1 280 pixels
    Frame Height......................................720 pixels
    Frame Rate........................................23.976 fps
    Total Frames......................................31913
    Display Aspect Ratio..............................16:9
    Video Stream Length...............................22mn 11s 39ms
    Audio Stream #1
    Codec............................................. A_OPUS
    Codec (FourCC)....................................A_OPUS
    Audio Stream Length...............................22mn 11s 25ms
    Number of Audio Channels..........................2
    Sampling Rate.....................................48.0 KHz
    Audio Stream Language.............................Abkhazian
    Quote Quote  
  2. Member
    Join Date
    Aug 2010
    Location
    San Francisco, California
    Search PM
    Don't think you're allowed to put Opus audio in an MP4 container. FFmpeg will do the job:

    ffmpeg -i myinput.mkv -c:v copy -c:a aac -b:a 160k(or whatever audio bitrate you want) myoutput.mp4
    Quote Quote  
  3. Member Krispy Kritter's Avatar
    Join Date
    Jul 2003
    Location
    St Louis, MO USA
    Search Comp PM
    Assuming the original files play fine, the problem would likely be with whatever tool you used to perform the conversion.

    Give VidCoder a try.
    Google is your Friend
    Quote Quote  
  4. Or something that can use "Copy" for the video like Xmedia Recode.
    Quote Quote  
  5. Member
    Join Date
    Jul 2016
    Location
    United Kingdom
    Search PM
    Thanks guys - I'm on a mac, are there equivalents to the apps you mentioned?

    Tried ffmpeg through terminal and I get an 'unknown format' error:

    [matroska @ 0x5597b8]Matroska demuxer version 1 too old for file version 2
    /Users/mainuser/Desktop/movie.mkv: Unknown format
    Quote Quote  
  6. Member Krispy Kritter's Avatar
    Join Date
    Jul 2003
    Location
    St Louis, MO USA
    Search Comp PM
    I've never used a mac, much less tried to find software for one.

    Mac's are great if you use the professional tools, but once you start trying to find free or cheap tools, 99% of the users, and thus the tools are Windows based.

    As for the error, it would appear you are using an old version of ffmpeg.

    Good luck.
    Google is your Friend
    Quote Quote  
  7. Member
    Join Date
    Jul 2016
    Location
    United Kingdom
    Search PM
    Thanks

    Vix x
    Quote Quote  
  8. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Thread moved to the mac forum where you can get more help.
    I think,therefore i am a hamster.
    Quote Quote  
  9. Member
    Join Date
    Aug 2010
    Location
    San Francisco, California
    Search PM
    Originally Posted by deadbunneh View Post
    Thanks guys - I'm on a mac, are there equivalents to the apps you mentioned?

    Tried ffmpeg through terminal and I get an 'unknown format' error:

    [matroska @ 0x5597b8]Matroska demuxer version 1 too old for file version 2
    /Users/mainuser/Desktop/movie.mkv: Unknown format
    Download the latest FFmpeg from
    https://ffmpeg.org/download.html#build-mac
    Quote Quote  
  10. Member
    Join Date
    Jul 2016
    Location
    United Kingdom
    Search PM
    Tried the latest ffmpeg build and it's still giving me the unknown format error. I tried Handbrake previously but in the audio tab it's showing no audio channel - it plays fine in VLC.

    Very frustrating!

    Vix x
    Quote Quote  
  11. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by deadbunneh View Post
    Tried the latest ffmpeg build and it's still giving me the unknown format error.
    Are you sure you called on the new ffmpeg 3.1.1 binary correctly? It sounds a bit presumptuous, I know, but (a) that old demuxer error is really old and should have been resolved several versions ago and (b) ffmpeg 3.1.1 works with the HEVC/OPUS MKV version 2 that I could find. I tried the OSX Experts and Tessus (Evermeet) pre-compiled versions of ffmpeg 3.1.1 in Terminal and a conversion with the iFFmpeg GUI (backed by the OSX Experts binary).
    Quote Quote  
  12. Member
    Join Date
    Jul 2016
    Location
    United Kingdom
    Search PM
    Case the OSXperts with the iFFMPEG GUI seems to have worked! Really appreciate all your help guys

    Vix x
    Quote Quote  



Similar Threads

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