FAQ  •  Register  •  Login

Please don't transcode. I already have that stream

<<

Nihilator

Serviio newbie

Posts: 15

Joined: Thu Jul 14, 2011 7:11 pm

Post Wed Sep 05, 2012 10:11 pm

Please don't transcode. I already have that stream

I am using Serviio 1.0.1 and my PS3 is playing a Matroska (MKV) file with the following three streams:

H.264 AVC (-map 0:0)
DTS Core (-map 0:1)
AC-3 (-map 0:2)

The problem is this:

My PS3 is setup to use the Serviio "Playstation 3" profile. This profile wants to transcode my DTS Core (-map 0:1) stream to AC-3, instead of passing my existing AC-3 (-map 0:2) stream straight through without any transcoding. How do I change the following code to correct this problem:

  Code:
         <!--
            remux MKV with any video to MPEG2TS and possibly change audio to ac3, also AVI and FLV with H264
         -->
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="matroska" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="flv" vCodec="h264" />
            <Matches container="3gp" vCodec="h264" />
         </Video>


If I remove the DTS Core stream from the Matroska (MKV) container, then the existing AC-3 stream is passed on through (no transcoding). Does the "Playstation 3" profile only look for "-map 0:1" and does not look for other audio tracks in the container (ex: "-map 0:2", "-map 0:3", "-map 0:4", etc...) when transcoding? Does DTS get priority and it does not care if you have an existing "AC-3" stream in the container?

Note:
The Matroska file (above) was created with the "MKVtoolnix GUI" application and the DTS-Core track (-map 0:1) was set to "Yes" in regards to the "Default track flag". I don't know if this will be any help to anybody in resolving my issue, but I thought I would throw it out there. Probably doesn't matter.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Sep 06, 2012 11:45 am

Re: Please don't transcode. I already have that stream

Serviio currently only sees the first audio track, this should be addressed in future.

You can remux the file so that the AC3 is the first stream if you want to keep both tracks in the file, for now.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Sep 06, 2012 11:48 am

Re: Please don't transcode. I already have that stream

Nihilator wrote:If I remove the DTS Core stream from the Matroska (MKV) container, then the existing AC-3 stream is passed on through (no transcoding).

I assume it just gets remuxed to mpegts with the streams untouched?

I created a ticket for this. https://bitbucket.org/xnejp03/serviio/i ... ranscoding
<<

Nihilator

Serviio newbie

Posts: 15

Joined: Thu Jul 14, 2011 7:11 pm

Post Thu Sep 06, 2012 3:00 pm

Re: Please don't transcode. I already have that stream

zip wrote:
Nihilator wrote:If I remove the DTS Core stream from the Matroska (MKV) container, then the existing AC-3 stream is passed on through (no transcoding).

I assume it just gets remuxed to mpegts with the streams untouched?

I created a ticket for this. https://bitbucket.org/xnejp03/serviio/i ... ranscoding


Yes, your assumption is right. The streams are remuxed into a mpegts container and the streams remain untouched.
<<

ansonkemp

Serviio newbie

Posts: 4

Joined: Tue Sep 04, 2012 2:07 pm

Post Tue Sep 11, 2012 2:05 pm

Re: Please don't transcode. I already have that stream

I am also looking for a solution to this problem. It seems a waste of resources to transcode a file when the supported audio stream is already in the container, but it is the second audio stream encountered by serviio and is ignored.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 57 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.