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.
+ Reply to Thread
Results 1 to 5 of 5
-
-
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 luckSONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851 -
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
-
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. -
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
Similar Threads
-
VirtualDub output audio to PCM when direct stream copy is selected
By pchan in forum EditingReplies: 16Last Post: 8th Jan 2017, 03:10 -
HEVC video CUT with direct-stream-copy was successful with XMEDIA recode!
By Stears555 in forum Video ConversionReplies: 10Last Post: 6th Aug 2014, 08:42 -
Direct stream copy for mp4?
By supercain in forum EditingReplies: 56Last Post: 6th May 2014, 12:51 -
direct stream copy not with ffmpeg
By marcorocchini in forum Newbie / General discussionsReplies: 6Last Post: 26th Nov 2013, 10:00 -
VDub - direct stream copy video/audio in batch mode, how?
By Diana (Cda) in forum EditingReplies: 1Last Post: 27th Oct 2012, 09:57