FAQ  •  Register  •  Login

Keep Original audio No effect in DTS to AC3 Samsung B

<<

Sigmus

Serviio newbie

Posts: 3

Joined: Mon Mar 04, 2013 7:31 pm

Post Mon Mar 04, 2013 8:37 pm

Keep Original audio No effect in DTS to AC3 Samsung B

Hello,

I reach seriio lookin for on-the-fly transcoding server to my "old" Samsung B serie TV, after going through other software I think I've finally found.

The problem I have is with the files with DTS audio, my TV does not support them and for some reason with the profile of Samsung B DLNA the audio not work.
Looking at the log file I see that, despite having activated "keep original" in audio channels and saved, serviio transcode DTS 5.1 channel in AC3 2ch I guess the TV does not support this.

This is the command line for ffmpeg on the serviio.log file (I add aBitrate aSamplerate to profiles.xml for testing)
  Code:
[ProcessExecutor] Starting C:\...\lib/ffmpeg.exe -fflags +genpts -threads auto -i C:\...\720p.x264.mkv -y -c:v copy -bsf:v h264_mp4toannexb -mpegts_m2ts_mode 1 -c:a ac3 -b:a 448k -ar 44100 -ac 2 -map 0:3 -map 0:0 -sn -f mpegts C:\...\TEMP\Serviio\transcoding-temp-21-2-ORIGINAL.stf

and the profiles.xml of Samsung B is
  Code:
</DeviceDescription>
        <MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
        </MediaFormatProfiles>
        <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
        <Transcoding>
           <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
         <Video targetContainer="m2ts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="448" aSamplerate="44100">
            <Matches container="*" vCodec="h264" profile="high_10" />
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
         </Video>
         <!-- transcode MKV with DST/FLAC audio to AC3, remux into mpeg2ts -->
            <!-- transcode H264 MP4 files with LPCM audio -->
            <Video targetContainer="m2ts" targetACodec="ac3" aBitrate="448" aSamplerate="44100">
                <Matches container="matroska" vCodec="h264" aCodec="dca" />         
                <Matches container="mp4" vCodec="h264" aCodec="lpcm" />
                <Matches container="matroska" vCodec="h264" aCodec="flac" />
                <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
                <Matches container="matroska" vCodec="h264" aCodec="truehd" />
                <Matches container="mpegts" vCodec="h264" aCodec="truehd" />
                <Matches container="matroska" vCodec="vc1" />
                <Matches container="avi" vCodec="h264" />
                <Matches container="mpegts" aCodec="mp2" />
                <Matches container="flv" vCodec="h264" />
                <Matches container="ogg" vCodec="mpeg4" />
                <Matches container="3gp" aCodec="amrnb" />   
                <Matches container="wtv" vCodec="h264" />
            </Video>
            <!-- transcode unsupported codec/container combinations into mpeg2ts -->
            <Video targetContainer="m2ts" targetACodec="ac3" targetVCodec="mpeg2video">
                <Matches container="asf" vCodec="wmv2" />
                <Matches container="matroska" vCodec="mpeg2video" />
                <Matches container="matroska" vCodec="vp8" />
                <Matches container="avi" vCodec="mjpeg" />
                <Matches container="avi" vCodec="dvvideo" />
                <Matches container="mp4" vCodec="dvvideo" />
                <Matches container="mp4" vCodec="mjpeg" />
                <Matches container="flv" />
                <Matches container="ogg" />
                <Matches container="rm" />               
            </Video>
            <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
            <Video targetContainer="m2ts" targetACodec="ac3" forceVTranscoding="true">
                <Matches container="asf" vCodec="mpeg2video" />
                <Matches container="asf" vCodec="mpeg1video" />
            </Video>
            <Video targetContainer="m2ts">
                <Matches container="wtv" />
            </Video>
            <!-- transcode audio only for wmv with wmapro -->
            <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
                <Matches container="asf" aCodec="wmapro" />
            </Video>
            <Audio targetContainer="lpcm">
                <Matches container="asf" />
                <Matches container="mp4" />
                <Matches container="flac" />
                <Matches container="ogg" />
                <Matches container="adts" />
            </Audio>
        </Transcoding>

Another hint to see that the audio channel parameter does not work is that every time I restart the service, the parameters of audio channels and cpu back to its initial state as if I had never saved.

I hope someone can help me.

Thanks and sorry for my english-google. :)
<<

koan00

Streaming enthusiast

Posts: 38

Joined: Mon Feb 20, 2012 7:25 pm

Post Mon Mar 04, 2013 9:10 pm

Re: Keep Original audio No effect in DTS to AC3 Samsung B

Looks like it could be the same issue I reported here: https://bitbucket.org/xnejp03/serviio/i ... -channels'

Should be fixed in the next version of serviio.
<<

slavic

Serviio newbie

Posts: 2

Joined: Tue Mar 05, 2013 6:53 am

Post Tue Mar 05, 2013 7:05 am

Re: Keep Original audio No effect in DTS to AC3 Samsung B

Hi,

I probably came up with the same issue.
I have Philips 2012 Home Theater and it plays all movies I have. But it has one strange limitation. Player plays .mkv with DTS 5.1 track as 2.0 stereo. But everything is fine with AC3 tracks - it produces 5.1 sound.
So, I am using Serviio with very simple profile for my Philips. It simply transcodes DTS to AC3 and does nothing else.

But the issue is that transcoded audio gets downmixed by Serviio from 5.1 to 2.0. The profile is good, because player shows that the audio is "Dolby Digital Multichannel". I think this is because of the setting "keep original" not getting saved.
<<

Sigmus

Serviio newbie

Posts: 3

Joined: Mon Mar 04, 2013 7:31 pm

Post Tue Mar 05, 2013 1:47 pm

Re: Keep Original audio No effect in DTS to AC3 Samsung B

Ok, so I wait for the new version comes out.

Thanks to all.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 05, 2013 5:27 pm

Re: Keep Original audio No effect in DTS to AC3 Samsung B

<<

slavic

Serviio newbie

Posts: 2

Joined: Tue Mar 05, 2013 6:53 am

Post Wed Mar 06, 2013 5:46 am

Re: Keep Original audio No effect in DTS to AC3 Samsung B

zip wrote:temp workaround : viewtopic.php?f=5&t=9496#p64600

Thanks a lot, it worked.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 20 guests

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