Page 1 of 1

Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 03, 2012 1:12 am
by nthnlbcknr
Hey guys,

So, as best I can tell, the Viera E50 (TC-L47E50) does not support AVI or DTS. However, the main Viera 2011/2012 profile does not account for this - it assumes avi support and does not transcode dts. What are your suggested modifications to the profile?

Re: Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 03, 2012 2:28 am
by nthnlbcknr
Here's an amended profile that I just made. Seems to be working and fixes DTS support by transcoding the acodec "dca." Should also properly transcode AVIs now:

  Code:
   <Profile id="viera2011a" name="Panasonic Viera E/G/GT/DT/UT (2011/2012)" extendsProfileId="1">
      <!-- Panasonic Viera E30, E3, G30, GT30, DT30, UT30 With avi (2011), E50... (2012)  With AVI Support -->
      <Detection>
         <UPnPSearch>
            <FriendlyName>VIERA (G|D|U|E)T?(3|5)0?.*</FriendlyName>
            <Manufacturer>Panasonic</Manufacturer>
         </UPnPSearch>
      </Detection>
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
      <SubtitlesMimeType>text/srt</SubtitlesMimeType>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!-- Transcode h264 videos with profile level > 4.1 to mpegts with ac3 audio -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" forceInheritance="true">
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.1" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
         </Video>
         <!-- remux VORBIS/FLAC/LPCM in MKV/MP4 to AC3 -->
         <Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
            <Matches container="matroska" vCodec="h264" aCodec="dca" />
            <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
            <Matches container="matroska" vCodec="h264" aCodec="truehd" />
            <Matches container="mp4" vCodec="h264" aCodec="lpcm" />
            <Matches container="mp4" vCodec="h264" aCodec="aac" />
            <Matches container="3gp" vCodec="h264" />
         </Video>
         <!-- Remux MPEG-TS with no transcoding -->
         <Video targetContainer="mpegts" forceInheritance="true">
            <Matches container="avi" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" />
            <Matches container="matroska" vCodec="mpeg2video" />
         </Video>
         <!-- Remux WTV files to MPEG-PS with no transcoding -->
         <Video targetContainer="mpeg" forceInheritance="true">
            <Matches container="wtv" />
         </Video>
         <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" forceInheritance="true">
            <Matches container="avi" />
            <Matches container="mp4" vCodec="mjpeg" />
            <Matches container="mp4" vCodec="mpeg4" />
            <Matches container="mpeg" vCodec="mpeg1video" />
            <Matches container="matroska" vCodec="mpeg4" />
            <Matches container="matroska" vCodec="vp8" />            
            <Matches container="asf" />
            <Matches container="flv" />
            <Matches container="ogg" />
            <Matches container="3gp" />
         </Video>
         <!-- unsupported audio will be transcoded into LPCM audio -->
         <Audio targetContainer="lpcm" forceInheritance="true">
            <Matches container="ogg" />
            <Matches container="asf" />
            <Matches container="adts" />
         </Audio>
      </Transcoding>
   </Profile>


Thoughts? Suggestions?

Re: Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 03, 2012 6:49 am
by Database
Works great. I have the L42E50 and had the same problems with DTS and avi. Been meaning to modify the profile myself but hadn't gotten around to it. Thanks for doing the work. :D

Re: Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 03, 2012 3:16 pm
by nthnlbcknr
Database wrote:Works great. I have the L42E50 and had the same problems with DTS and avi. Been meaning to modify the profile myself but hadn't gotten around to it. Thanks for doing the work. :D


Great. I tested some DTS MKVs last night and they worked really well. I'll have to try some AVIs later.

Now, if we could only figure out how to get this TV to play subtitles...

Re: Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 03, 2012 4:14 pm
by zip
I've added the DCA bit to 1.0.1 profile already. Thought AVI should be supported, accordng to this thread: viewtopic.php?f=13&t=5119

Can you go through that and confirm if there is something wrong there?

Re: Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 03, 2012 8:39 pm
by nthnlbcknr
zip wrote:I've added the DCA bit to 1.0.1 profile already. Thought AVI should be supported, accordng to this thread: viewtopic.php?f=13&t=5119

Can you go through that and confirm if there is something wrong there?


Hey zip,

Based on tech specs published by Panasonic (http://shop.panasonic.com/shop/model/TC-L47E50?t=specs) The E50 model supports the following formats:

AVCHD Progressive/SD-VIDEO/MotionJPEG (Lumix)/MKV/MP4/MOV/M4v/FLV/3GPP/VRO/VOB/TS/PS, MP3/AAC/FLAC, JPEG

They didn't list this, but it also supports AC3 and LPCM. So, beyond the DTS change, the E50 natively supports FLAC so I removed FLAC transcoding and the E50 does not support the AVI container so I changed the profile to transcode all AVIs.

Re: Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 03, 2012 11:36 pm
by zip
So perhaps it belongs to the group of TVs using profile Panasonic Viera S/ST/VT (2011) - which is 2011 without AVI support

EDIT - also on the panasonic webpage, it doesn't list AVI even for the models that should support it (VT/UT/DT), So I'm not sure. Currently I added E detection to the other 2011 Viera profile.

Re: Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 10, 2012 4:40 am
by nthnlbcknr
Petr,

The problem that arises from dca transcoding is that these Viera sets have aspect ratio issues with mpeg ts playback. There's been a couple other threads about this. Basically, the E50 will play mkvs with proper padding and maintain the aspect ratio. However, mpeg ts is always stretched to fill the 16:9 frame. Any ideas?

Re: Viera E50 Profile Needs Some Modification

PostPosted: Fri Aug 10, 2012 12:42 pm
by zip
Hard for me to reproduce. You could try to find the proper ffmpeg command parameters that would produce mpegts the way you want and I'd add it to Serviio

Re: Viera E50 Profile Needs Some Modification

PostPosted: Mon Aug 13, 2012 1:33 am
by nthnlbcknr
zip wrote:Hard for me to reproduce. You could try to find the proper ffmpeg command parameters that would produce mpegts the way you want and I'd add it to Serviio


Hmm, I could try Illico's Bravia aspect ratio fix. He uses the flag:

  Code:
-vf "pad=max(iw,ih*16/9):max(ih,iw/16*9):(ow-iw)/2:(oh-ih)/2:black,setdar=4:3"


Alternatively, is there a way to transcode the audio from DCA to LPCM or AC3 without using MPEG-TS? Is it possible to keep the mkv container?

See other threads here:

http://forum.serviio.org/viewtopic.php?f=5&t=5403
http://forum.serviio.org/viewtopic.php?f=13&t=2055
http://forum.serviio.org/viewtopic.php?f=11&t=2956

Re: Viera E50 Profile Needs Some Modification

PostPosted: Mon Aug 13, 2012 6:40 pm
by zip
Illicos filter will not work, it is only applied when you transcode video - it's is now used in Serviio when DAR attribute is specified in transcoding config.

MpegTS should keep information about the content's acpect ratio, though. You cannot transcode to mkv on-the-fly.

Re: Viera E50 Profile Needs Some Modification

PostPosted: Mon Aug 13, 2012 9:29 pm
by nthnlbcknr
That's what I figured. Is there anything I can test or any logs or info that I could provide that would help solve this problem?

This would be so simple if Panasonic just supported DTS!

Re: Viera E50 Profile Needs Some Modification

PostPosted: Thu Aug 16, 2012 2:26 pm
by zip
as I said, try to play with the ffmpeg command serviio uses to store the proper DAR so that it's right when you play the resulting file on your TV

Re: Viera E50 Profile Needs Some Modification

PostPosted: Mon Aug 20, 2012 4:45 pm
by nthnlbcknr
zip wrote:as I said, try to play with the ffmpeg command serviio uses to store the proper DAR so that it's right when you play the resulting file on your TV
\

Will do. Where can I find the actual ffmpeg commands? They don't live in the profiles.xml and I can't seem to locate them elsewhere.

Re: Viera E50 Profile Needs Some Modification

PostPosted: Tue Sep 11, 2012 12:10 pm
by zip
enable detailed log, play the file and you'll find the command in the log

Re: Viera E50 Profile Needs Some Modification

PostPosted: Wed Sep 26, 2012 1:41 am
by g0bez
Thanks for the profile update -- that worked perfectly!

Just got a Viera 55E50 and loaded up Serviio (first time serviio user, and DLNA user for that matter). Great product! Glad to have a multi-platform option in this Linux / Mac household.

Re: Viera E50 Profile Needs Some Modification

PostPosted: Thu Mar 05, 2015 4:15 am
by HTWingNut
Sorry for bringing up such an old thread but I wanted to get Serviio working with my Panasonic Viera L47E50. I copied/pasted this profile into the profiles.xml file and serviio service won't start now. Is there more involved to this than just copy paste into the profiles.xml file?

Re: Viera E50 Profile Needs Some Modification

PostPosted: Thu Mar 05, 2015 7:32 am
by DenyAll
Have you tried using the standard ]Panasonic Viera profiles that come with Serviio.

Try the Panasonic Viera G/GT/DT/UT/VT (2011/2012) profile first and try an AVI file. If that doesnt work try the Panasonic Viera E/S/ST/VT (2011) profile (the only difference between the two is the handling of AVI files).