Re-rip audio in mkv file to lossy?
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Re-rip audio in mkv file to lossy?
Description of problem or question: I have a device that plays 4k MKVs without any difficulty except that it does not recognize lossless audio formats like DTS-MA or TrueHD. Is there any way to rip those files in Handbrake to leave the video untouched but convert the audio to a lossy multi channel audio format?
HandBrake version (e.g., 1.0.0):1.3.0
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update): OS X 10.12.6
HandBrake version (e.g., 1.0.0):1.3.0
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update): OS X 10.12.6
Re: Re-rip audio in mkv file to lossy?
No, handbrake is primarily a video encoder, so it's always going to encode the video.
You can use tools like ffmpeg to encode JUST the audio tracks.
You can use tools like ffmpeg to encode JUST the audio tracks.
Re: Re-rip audio in mkv file to lossy?
I'd use MakeMKV here with the original disk, rip the video track with the lossy core audio.
Re: Re-rip audio in mkv file to lossy?
I use eac3to. It's a command line tool and there are GUI tools that works with it, they just sucks.
I just have some batch files, named like "Batch - DTS to AC3.bat".
The code will look something like:
or...
or..
to provide a new sample rate.
It's however not all cases where you can provide the .mkv file directly, but have to extract the audio first.
There are options you can/have to give in some cases, like down mix from 7.1 to 5.1
or... extract the tracks to .wave format, so that you can use another .wave editor to create your own file formats:
The easiest, is to just put your batch files in the folder of eac3to, where eac3to.exe is.
https://en.wikibooks.org/wiki/Eac3to/How_to_Use
https://www.videohelp.com/software/eac3to
I just have some batch files, named like "Batch - DTS to AC3.bat".
The code will look something like:
Code: Select all
eac3to.exe "D:\Video\Source.dts" "D:\Video\Destination.ac3"
Code: Select all
eac3to.exe "D:\Video\Source.mkv" "D:\Video\Destination.ac3"
Code: Select all
eac3to.exe "D:\Video\Source.mkv" "D:\Video\Destination.ac3" -640
It's however not all cases where you can provide the .mkv file directly, but have to extract the audio first.
There are options you can/have to give in some cases, like down mix from 7.1 to 5.1
Code: Select all
eac3to.exe "D:\Video\Source.dts" "D:\Video\Destination.ac3" -down6
Code: Select all
eac3to.exe "D:\Video\Source.m2ts" "D:\Video\Destination.wavs"
https://en.wikibooks.org/wiki/Eac3to/How_to_Use
https://www.videohelp.com/software/eac3to
Re: Re-rip audio in mkv file to lossy?
It was easy to miss, butakyhne wrote: ↑Sat Feb 08, 2020 1:24 am I use eac3to. It's a command line tool and there are GUI tools that works with it, they just sucks.
I just have some batch files, named like "Batch - DTS to AC3.bat".
The code will look something like:Code: Select all
eac3to.exe
Re: Re-rip audio in mkv file to lossy?
ffmpeg can do most of what eac3to does nowadays (except automatic bit depth reduction and the Blu-ray playlist features, and not sure it does audio normalization either).
Re: Re-rip audio in mkv file to lossy?
eac3to relies on ffmpeg along with other software to do it's job. But it's very easy and powerful to use.