Sign in to follow this  
Followers 0

MKV DTS to AC3

18 posts in this topic

Posted

Guys, I need some help here. Please read through the entire post, don't recommend something I've already tried, thanks.

I'm looking for a clean software that converts DTS audio in an MKV file to AC3 for me. I've already tried MKV2AC3, so don't recommend that. The issue I'm having with it is that it also causes audio lag in the videos. After about 10-15 minutes of video in some files, the audio gets delayed by 2 seconds. :huh:

I know there's a 3-step-process involved using 3 separate EXE's, but I don't want to go through that each time I want to convert a video, since I do this a lot (almost twice a day) and I don't want to have to go through that every day two times, too tedious. I know there are one click solutions, similar to MKV2AC3, but some that will not cause a time lag in audio please, lol.

The other one I'm trying it Wondershare Video converter, but there doesn't seem to be an option to JUST convert the audio, you have to convert the entire video in that, takes a bit of time and I think it also reduces video quality.

Let me know if anyone has anything to recommend. :)

Share this post


Link to post
Share on other sites

Posted

So let me get this correct, you want to convert DTS to Dolby Digital (AC3) that is already in a file?

I am not sure that is a wise choice, and might not be possible. On another note though, you might want to try converting the DTS to multi-AAC, as this might give you the results you may need.

Share this post


Link to post
Share on other sites

Posted

http://ffmpeg.zeranoe.com/builds/

audio -> ac3/mkv

ffmpeg.exe -i input.mkv -vn -acodec ac3 output.mkv

audio -> ac3/raw

ffmpeg.exe -i input.mkv -vn -acodec ac3 output.ac3

edit:

copy video and convert audio

ffmpeg.exe -i input.mkv -codec copy -acodec ac3 output.mkv

Share this post


Link to post
Share on other sites

Posted

mmitch, it's a requirement. My TV can't play DTS audio, need to convert to AC3 or another readable format.

yxz, thanks for that. I'm using that process right now, seems to be taking a bit of time, and the audio for AC3 is default at 448kbps, any way I can max it out to 640kbps that I know AC3 supports? Also, the conversion stopped, threw up an error about invalid EBF tag. :/

Popcorn is the same as MKV2AC3, Mayhem.

Share this post


Link to post
Share on other sites

Posted

didn't knew that, well at least with popcorn i dont have any video delay

Share this post


Link to post
Share on other sites

Posted

I have never had any delays with popcorn and I have converted 30+ files with it

Popcorn also lets you convert to 640kpbs

Maybe its something else with your setup

Share this post


Link to post
Share on other sites

Posted

full bitrate

ffmpeg.exe -i input.mkv -vn -sn -acodec ac3 -b:a 640k output.ac3

Share this post


Link to post
Share on other sites

Posted

Alright, I just figured that this is problem something that's happening as a result of a damaged file, and ffmpeg confirmed that for me.

Thanks for the tip yxz, I think I'm going to try and use your tip for this.

Also, shouldn't it be ffmpeg.exe -i input.mkv -vn -sn -acodec ac3 -b:a 640k output.mkv? instead of ffmpeg.exe -i input.mkv -vn -sn -acodec ac3 -b:a 640k output.ac3?

Share this post


Link to post
Share on other sites

Posted

output.mkv

matroska container

output.ac3

raw AC-3 stream

Share this post


Link to post
Share on other sites

Posted

So if I want it to be a 640kbps video, it's ffmpeg.exe -i input.mkv -vn -sn -acodec ac3 -b:a 640k output.mkv yeah?

Share this post


Link to post
Share on other sites

Posted

"So if I want it to be a 640kbps video"

huh?

Try this:

ffmpeg.exe -i input.mkv -sn -vcodec copy -acodec ac3 -b:a 640k output.mkv

FFmpeg documentation:

http://ffmpeg.org/ffmpeg.html

Share this post


Link to post
Share on other sites

Posted

lol, I meant the audio within the video should be AC3 640kbps.

Share this post


Link to post
Share on other sites

Posted

I use this. Works great.

http://forum.doom9.org/showthread.php?t=127611

I use it for converting blu rays to MKV. But you can just choose to convert audio and keep video file the same as well. Does all the demuxing and remuxing for you.

Share this post


Link to post
Share on other sites

Posted

updated:

ffmpeg.exe -i input.mkv -sn -c:v copy -c:a ac3 -b:a 640k output.mkv

also this

http://ffmpeg.org/ff...tml#Stream-copy

Stream copy is a mode selected by supplying the copy parameter to the

Share this post


Link to post
Share on other sites

Posted

Excellent! Thanks so much for the input everyone, much appreciated.

Share this post


Link to post
Share on other sites

Posted

If you ever want to do that sort of stuff with a GUI you can always try Avidemux: http://fixounet.free.fr/avidemux/screenshots.html

I use it to remove audio tracks I don't need and transcode the audio to AAC (for my phone). I've tried a lot of tools but this is the only one that can do it properly (without touching the video stream for example).

Share this post


Link to post
Share on other sites

Posted

Avidemux can probably do the job

[edit]

Ambroos beat me to it, i should read the whole thread before posting ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.