Description of problem or question:[/b]
Is there a way to encode audio only (from DTS-HD to DD5.1) and leave the video content alone, so I can end up with an MKV file with DD5.1? (For Sonos compatibility)
Audio Only Encode - Leave Video Alone
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.
-
- Veteran User
- Posts: 4854
- Joined: Wed May 04, 2011 11:06 pm
Re: Audio Only Encode - Leave Video Alone
Not with HB
Re: Audio Only Encode - Leave Video Alone
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...
to extract the audio track (2) directly from source video, provided the audio is second stream. Use MediaInfo to tell you.
or..
to provide a new sample rate.
It's however not all cases where you can provide the video file directly, but have to extract the audio first. In that case, use a demuxer to extract the audio.
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.
Batch example:
Creates a destination ac3 audio file (DD5.1) mixed down to 5.1 at 640Kb/s and creates a log file.
After that, use a remuxer to create a new file with audio and video. E.g. "MKVToolnix GUI" for .mkv files, "My MP4Box GUI" for .mp4.
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" 2: "D:\Video\Destination.ac3"
or..
Code: Select all
eac3to.exe "D:\Video\Source.dtshd" "D:\Video\Destination.ac3" -640
It's however not all cases where you can provide the video file directly, but have to extract the audio first. In that case, use a demuxer to extract the audio.
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"
Batch example:
Code: Select all
eac3to.exe "D:\Video\Source.dtshd" "D:\Video\Destination.ac3" -down6 -640 -logdts
After that, use a remuxer to create a new file with audio and video. E.g. "MKVToolnix GUI" for .mkv files, "My MP4Box GUI" for .mp4.
https://en.wikibooks.org/wiki/Eac3to/How_to_Use
https://www.videohelp.com/software/eac3to