VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    My Smart TV can't play Opus audio so I need something to run some MKV files through with HEVC video to convert the audio to AC3 without touching the video stream.
    Quote Quote  
  2. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Not sure if there are any conversion programs that is one step convert the audio within a MKV file, however a 2 step process as follows

    1. Use gMKVExtractGUI to extract the audio file then
    2. Use a conversion program to AC3 - an example program would be https://www.avdshare.com/opus-converter-to-mp3-aac-flac-ac3-wav-wma-ogg
    3. Mux the new AC3 file into the original MKV file using MKVMergeGui and at the same time untick the entry next to the original Opus track.


    The Popcorn Audio Converter does this in one proces except it doesn't appear to support Opus audio

    Good luck
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  
  3. ffmpeg -i "input.mkv" -map 0 -c:v copy -c:a ac3 -c:s copy "output.mkv"

    Or as a .bat file on which you can drop one or multiple files onto:
    Code:
    PUSHD %~dp0
    if [%1]==[] goto :eof
    :loop
    ffmpeg -i %1 -map 0 -c:v copy -c:a ac3 -c:s copy "%~dpn1_ac3.mkv"
    shift
    if not [%1]==[] goto loop
    Quote Quote  
  4. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Yup, found the popcorn one, then found that it doesn't do Opus, despite being able to list that as the audio codec. Didn't look like it could work with HEVC either.

    Then I found XMedia Recode. Took a bit to figure out how to use it. Open a file and it's like half the user interface is missing. You have to click on the file in the list to get all the tabs and stuff to appear. Should do that automatically with the first file opened, especially when only one file is open.

    From there the rest was easy to figure out, but it would not copy the subtitle despite it being selected to copy. No problem on this video since it was just a note by who encoded it.

    I also found most programs for video conversion can only do direct copy or pass through on the audio. That's pretty limiting on the functionality.
    Quote Quote  
  5. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Read my first 3 points - ignore Popcorn Audio Converter as I suggested couldn't do it. Simply extract the audio and then use a conversion program that will convert Opus to AC3. MKVMergeGui to mux back
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  



Similar Threads

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