If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Panasonic TX 58DXW784, Audio stream detect / transcode problem

MrSpoocyMrSpoocy Posts: 2Members

Hi,

first, sorry about my english. But i think its better to try in the english section and not in german section of this forum.
After long long time with google and many post here in the forum I have create my own xml profile. The situation is, my TV do not support DTS. I have try with USB stick some different files. I know to 100% that follow codec / format are supported:

video: mkv h264, h265 (HVEC) ...
audio: eac3, ac3, aac,mp3 ...

Hardware: Synology DS416Play
TV: Panasonic TX-58DXW783
Plex: 1.11

Follow file i have generate:

<?xml version="1.0" encoding="utf-8"?>
<Client name="Panasonic TX-58DXW784">
    <!--
    Support Audio:
        ac3 (Dolby Digital)
        eac3 (Dolbi Digital Plus)
        aac (Advanced Audio Coding)
    Not supported audio:
        dce (DTS)
        truehd (Dolby TrueHD)

        Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50
    -->
    <Identification>
        <Header name="User-Agent" substring="Panasonic MIL DLNA"/>
        <DeviceDescription>
            <Manufacturer substring="Panasonic" />
            <FriendlyName substring="PanasonicTV" />
            <ModelName substring="Panasonic VIErA" />
            <ModelNumber substring="TX-58DX780W" />
        </DeviceDescription>
    </Identification>

    <Settings>
        <!--<Setting name="DirectPlayStreamSelection" value="true" />-->
        <!--<Setting name="StreamUnselectedIncompatibleAudioStreams" value="true" />-->
        <!--<Setting name="IgnoreTranscodeByteRangeRequests" value="true" />-->
        <!--<Setting name="TimelineBufferOffset" value="10" />-->
    </Settings>
    <TranscodeTargets>
        <VideoProfile protocol="http" container="mkv" codec="h264" audioCodec="eac3" context="streaming">
            <Setting name="VideoEncodeFlags" value="-x264opts cabac=0" />
        </VideoProfile>
        <!--
        <VideoProfile protocol="http" container="mkv" codec="h264" audioCodec="eac3,ac3,aac,mp3" context="streaming">
            <Setting name="VideoEncodeFlags" value="-x264opts cabac=0" />
        </VideoProfile>
        <VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="ac3,aac" context="streaming" />
        -->
        <MusicProfile container="mp3" codec="mp3" />
        <PhotoProfile container="jpeg" />
    </TranscodeTargets>
    <DirectPlayProfiles>
        <VideoProfile container="mkv" codec="h264,mpeg4,hevc" audioCodec="eac3,ac3,aac,mp3,pcm" />
        <VideoProfile container="mp4" codec="h264,mpeg4,hevc" audioCodec="eac3,ac3,aac,mp3" />
        <VideoProfile container="avi" codec="h264,mpeg4" audioCodec="ac3,aac,mp3" />
        <VideoProfile container="mpeg" codec="mpeg2video,mpeg4" audioCodec="ac3,mp3" />
        <VideoProfile container="mpegts" codec="h264,hevc" audioCodec="ac3,aac,mp3" />
        <VideoProfile container="mov" codec="h264,hevc" audioCodec="aac,pcm"/>
        <VideoProfile container="flv" codec="h264" audioCodec="aac"/>
        <MusicProfile container="mp3" codec="mp3"/>
        <PhotoProfile container="png"/>
        <PhotoProfile container="jpeg"/>
    </DirectPlayProfiles>

    <CodecProfiles>
        <VideoAudioCodec name="aac">
            <Limitations>
                <UpperBound name="audio.bitrate" value="192" />
                <UpperBound name="audio.channels" value="2" />
            </Limitations>
        </VideoAudioCodec>
        <VideoAudioCodec name="ac3">
            <Limitations>
            <UpperBound name="audio.channels" value="6" />
            <UpperBound name="audio.bitrate" value="640" />
            </Limitations>
        </VideoAudioCodec>
        <VideoAudioCodec name="eac3">
            <Limitations>
            <UpperBound name="audio.channels" value="6" />
            <UpperBound name="audio.bitrate" value="640" />
            </Limitations>
        </VideoAudioCodec>
    </CodecProfiles>

The file "Alice in Wonderland (2010)" has 4 audio stream (web app conform it)

    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS             : 24050782
      BPS-eng         : 24050782
      DURATION        : 01:48:34.216000000
      DURATION-eng    : 01:48:34.216000000
      NUMBER_OF_FRAMES: 156185
      NUMBER_OF_FRAMES-eng: 156185
      NUMBER_OF_BYTES : 19583998641
      NUMBER_OF_BYTES-eng: 19583998641
      _STATISTICS_WRITING_APP: mkvmerge v9.0.1 ('Obstacles') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.0.1 ('Obstacles') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-04-02 12:26:38
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-04-02 12:26:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: ac3, 48000 Hz, 5.1(side), 640 kb/s (default)
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), 640 kb/s
    Stream #0:3(ger): Audio: dts, 48000 Hz, 6 channels

But when i chose it, he try to transcode the audio. The log also nothing say about the "ac3". When I comment the "TranscodeTargets" part, it works an i can play the video on my tv.

About transcode, its also do not work, he try it but most time i see ~5 sec from the movie and than the tv switch to the next movie.
Any idee why he try to transcode the file, and why the transcode not work? (I have also try mpegts as container)

Feb 11, 2018 12:46:44.906 [0x7f113bd11700] DEBUG - MDE: Selected protocol http; container: mkv
Feb 11, 2018 12:46:44.906 [0x7f113bd11700] DEBUG - MDE: analyzing media item 1051
Feb 11, 2018 12:46:44.906 [0x7f113bd11700] DEBUG - MDE: Alice im Wunderland (2010)_DTS (2016): no direct play video profile exists for http/mkv/h264/dca
Feb 11, 2018 12:46:44.906 [0x7f113bd11700] DEBUG - MDE: Alice im Wunderland (2010)_DTS (2016): no direct play video profile exists for http/mkv/h264/dca
Feb 11, 2018 12:46:44.907 [0x7f113bd11700] DEBUG - MDE: Cannot direct stream audio stream due to codec dca when profile only allows eac3
Feb 11, 2018 12:46:44.907 [0x7f113bd11700] DEBUG - MDE: Alice im Wunderland (2010)_DTS (2016): selected media 0 / 1051
Feb 11, 2018 12:46:44.913 [0x7f113bd11700] DEBUG - MDE: Selected protocol http; container: mkv
Feb 11, 2018 12:46:44.913 [0x7f113bd11700] DEBUG - MDE: analyzing media item 923
Feb 11, 2018 12:46:44.914 [0x7f113bd11700] DEBUG - MDE: Alice in Wonderland (2010): no direct play video profile exists for http/mkv/h264/dca
Feb 11, 2018 12:46:44.914 [0x7f113bd11700] DEBUG - MDE: Alice in Wonderland (2010): no direct play video profile exists for http/mkv/h264/dca
Feb 11, 2018 12:46:44.914 [0x7f113bd11700] DEBUG - MDE: Cannot direct stream audio stream due to codec ac3 when profile only allows eac3
Feb 11, 2018 12:46:44.914 [0x7f113bd11700] DEBUG - MDE: Alice in Wonderland (2010): selected media 0 / 923
Feb 11, 2018 12:46:44.920 [0x7f113bd11700] DEBUG - MDE: Selected protocol http; container: mkv
Feb 11, 2018 12:46:44.920 [0x7f113bd11700] DEBUG - MDE: analyzing media item 984
Feb 11, 2018 12:46:44.921 [0x7f113bd11700] DEBUG - MDE: Barbie in the Pink Shoes (2013): no direct play video profile exists for http/mkv/h264/dca
Feb 11, 2018 12:46:44.921 [0x7f113bd11700] DEBUG - MDE: Cannot direct stream audio stream due to codec dca when profile only allows eac3
Feb 11, 2018 12:46:44.921 [0x7f113bd11700] DEBUG - MDE: Barbie in the Pink Shoes (2013): selected media 0 / 984
Feb 11, 2018 12:46:44.925 [0x7f113bd11700] DEBUG - [PERF] Slowest insertShortKey in 10.000000 ms.
Feb 11, 2018 12:46:44.927 [0x7f113bd11700] DEBUG - MDE: Selected protocol http; container: mkv
Feb 11, 2018 12:46:44.927 [0x7f113bd11700] DEBUG - MDE: analyzing media item 1055
Feb 11, 2018 12:46:44.928 [0x7f113bd11700] DEBUG - MDE: Hd 24fps: DirectPlay
Feb 11, 2018 12:46:44.928 [0x7f113bd11700] DEBUG - MDE: Hd 24fps: selected media 0 / 1055
Feb 11, 2018 12:46:44.933 [0x7f113bd11700] DEBUG - MDE: Selected protocol http; container: mkv
Feb 11, 2018 12:46:44.934 [0x7f113bd11700] DEBUG - MDE: analyzing media item 1056
Feb 11, 2018 12:46:44.934 [0x7f113bd11700] DEBUG - MDE: Hd 24fps Truehd 24bit: no direct play video profile exists for http/mkv/h264/truehd
Feb 11, 2018 12:46:44.934 [0x7f113bd11700] DEBUG - MDE: Cannot direct stream audio stream due to codec truehd when profile only allows eac3
Feb 11, 2018 12:46:44.934 [0x7f113bd11700] DEBUG - MDE: Hd 24fps Truehd 24bit: selected media 0 / 1056
Feb 11, 2018 12:46:44.940 [0x7f113bd11700] DEBUG - MDE: Selected protocol http; container: mkv
Feb 11, 2018 12:46:44.940 [0x7f113bd11700] DEBUG - MDE: analyzing media item 1057
Feb 11, 2018 12:46:44.940 [0x7f113bd11700] DEBUG - MDE: Hd 24fps Truehd 24bit: no direct play video profile exists for http/mkv/h264/truehd
Feb 11, 2018 12:46:44.941 [0x7f113bd11700] DEBUG - MDE: Cannot direct stream audio stream due to codec truehd when profile only allows eac3
Feb 11, 2018 12:46:44.941 [0x7f113bd11700] DEBUG - MDE: Hd 24fps Truehd 24bit: selected media 0 / 1057
Feb 11, 2018 12:46:44.946 [0x7f113bd11700] DEBUG - MDE: Selected protocol http; container: mkv
Feb 11, 2018 12:46:44.947 [0x7f113bd11700] DEBUG - MDE: analyzing media item 1058
Feb 11, 2018 12:46:44.947 [0x7f113bd11700] DEBUG - MDE: Hd 30fps Eac3 640kb: DirectPlay
Feb 11, 2018 12:46:44.947 [0x7f113bd11700] DEBUG - MDE: Hd 30fps Eac3 640kb: selected media 0 / 1058
Feb 11, 2018 12:46:44.953 [0x7f113bd11700] DEBUG - OnBrowseDirectChildren returning success with 7 objects of 7 total

Answers

  • stikkboyystikkboyy Posts: 4Members ✭✭

    Are you streaming directly to the TV or to another device (chromecast, raspberry pi, etc.)?

  • MrSpoocyMrSpoocy Posts: 2Members

    from the tv Direct

Sign In or Register to comment.