Jump to content



Photo

MKV DTS to AC3


  • Please log in to reply
17 replies to this topic

#1 IronSkull

IronSkull

    El Rechazo Del Diablo

  • Joined: 03-November 07
  • OS: Windows 7 Ultimate
  • Phone: Galaxy Note II

Posted 07 January 2013 - 00:59

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. :)


#2 mmitch

mmitch

    Resident One Post Wonder

  • Joined: 07-January 13

Posted 07 January 2013 - 01:33

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.

#3 yxz

yxz

    Neowinian Senior

  • Joined: 11-January 09

Posted 07 January 2013 - 01:35

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

#4 Mayhem

Mayhem

    Neowinian

  • Joined: 09-February 04

Posted 07 January 2013 - 01:46

i'm using PopCorn MKV Audio Converter -> http://www.videohelp...-AudioConverter

#5 OP IronSkull

IronSkull

    El Rechazo Del Diablo

  • Joined: 03-November 07
  • OS: Windows 7 Ultimate
  • Phone: Galaxy Note II

Posted 07 January 2013 - 02:42

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.

#6 Mayhem

Mayhem

    Neowinian

  • Joined: 09-February 04

Posted 07 January 2013 - 02:54

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

#7 iascoot

iascoot

    Neowinian

  • Joined: 11-December 03
  • Location: New Zealand

Posted 07 January 2013 - 03:07

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

#8 yxz

yxz

    Neowinian Senior

  • Joined: 11-January 09

Posted 07 January 2013 - 03:25

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

#9 OP IronSkull

IronSkull

    El Rechazo Del Diablo

  • Joined: 03-November 07
  • OS: Windows 7 Ultimate
  • Phone: Galaxy Note II

Posted 07 January 2013 - 04:50

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?

#10 yxz

yxz

    Neowinian Senior

  • Joined: 11-January 09

Posted 07 January 2013 - 05:13

output.mkv
matroska container

output.ac3
raw AC-3 stream

#11 OP IronSkull

IronSkull

    El Rechazo Del Diablo

  • Joined: 03-November 07
  • OS: Windows 7 Ultimate
  • Phone: Galaxy Note II

Posted 07 January 2013 - 06:27

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?

#12 yxz

yxz

    Neowinian Senior

  • Joined: 11-January 09

Posted 07 January 2013 - 07:26

"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

#13 OP IronSkull

IronSkull

    El Rechazo Del Diablo

  • Joined: 03-November 07
  • OS: Windows 7 Ultimate
  • Phone: Galaxy Note II

Posted 07 January 2013 - 08:17

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

#14 StealMySoda

StealMySoda

    Neowinian

  • Joined: 13-August 06
  • Location: Merseyside, UK

Posted 07 January 2013 - 08:50

I use this. Works great.

http://forum.doom9.o...ad.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.

#15 yxz

yxz

    Neowinian Senior

  • Joined: 11-January 09

Posted 07 January 2013 - 08:52

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 ‘-codec’ option. It makes ffmpeg omit the decoding and encoding step for the specified stream, so it does only demuxing and muxing.
Since there is no decoding or encoding, it is very fast and there is no quality loss. However it might not work in some cases because of many factors.





Click here to login or here to register to remove this ad, it's free!