Page 1 of 1

No sound with DTS video, how to remux?

PostPosted: Sat Nov 13, 2010 6:25 pm
by tombert
I have to files, one with no sound:

Plays fine, Mediainfo tells AC3 coded:
Found Format profile for transcoded file BBC.Life.s01e06.Insects.2009.HDTV.720p.x264.AC3.mkv: AVC_TS_MP_HD_A
C3_ISO

No sound, Mediainfo tells DTS coded:
2010-11-13 19:10:55,344 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file BBC.Life.s01e06.Insects.2009.HDTV.720p.x264.AC3.mkv: AVC_TS_MP_HD_AC3_ISO

In some topics I already read that the problem is DTS ... so I thought about adapting my profile (Sony Bravia) to remux the file from DTS to AC3.

Has anyone already did this? Could you please give me some hints? I already tried to edit the profiles.xml but with no success.

thx

Re: No sound with DTS video, how to remux?

PostPosted: Sat Nov 13, 2010 8:27 pm
by hennys
Hi,

Try sending a PM to zip to apply for beta testing. I believe the 0.5 beta plays this file without any problems.

Regards,

Hen

Re: No sound with DTS video, how to remux?

PostPosted: Sun Nov 14, 2010 3:54 pm
by zip
The line above means the file will be transcoded into ac3

Re: No sound with DTS video, how to remux?

PostPosted: Sun Nov 14, 2010 5:46 pm
by tombert
Hi,

so it seems that it doesn't work though? I converted my HD video manually with mkv2vob and it plays fine ...

thx

Re: No sound with DTS video, how to remux?

PostPosted: Mon Nov 15, 2010 1:41 pm
by zip
if you turn on detailed logging you'll see the exact ffmpeg command it uses for the transcode. You can try running it manually and see if you can play that file.

Re: No sound with DTS video, how to remux?

PostPosted: Mon Nov 15, 2010 7:41 pm
by tombert
I'am soooooo good! :-)

I did run the ffmpeg line from serviio debug :
ffmpeg -i TestVideo.mkv -y -vcodec copy -copyts -acodec ac3 -ab 192k -vbsf h264_mp4toannexb -sn -f mpegts ac3.mpeg

On my windows PC there is sound ... but on my TV not (which is Sony Bravia KDL-EX).

Then I played a bit and increased the bitrate to the same as another file I know working to 384k:
ffmpeg -i TestVideo.mkv -y -vcodec copy -copyts -acodec ac3 -ab 384k -vbsf h264_mp4toannexb -sn -f mpegts ac3-384.mpeg

AND IT WORKS! Hurray ...
The only thing I don't know is how to tell serviio to change that - I think it's compiled into it?

Would you please consider this in your next release ... maybe a configurable command line to ffmpeg would be easiest like:
ffmpeg -i %input -y -vcodec copy -copyts -acodec ac3 -ab 384k -vbsf h264_mp4toannexb -sn -f mpegts %output

This isn't very user-friendly but at least there would be a backdor for experiments ...

thx

Re: No sound with DTS video, how to remux?

PostPosted: Mon Nov 15, 2010 10:38 pm
by zip