Page 1 of 1

Panasonic Viera TC-P42X3

PostPosted: Wed Feb 15, 2012 7:47 pm
by vikingsfreak
I have a Panasonic Viera TC-P42X3 on a network with a laptop running Windows 7. I have been experimenting with Serviio in the background but having problems with older avi files. I tried adding profiles without much success. I must have done a little too much messing around, because Serviio would not load anymore. Since I had just changed my profile.xml file, I figured that was the problem. I couldn't figure out what I changed, and was lazy (5 am), so I didn't want to try and download and extract the original. Anyway, I just deleted all the entries except the first "Generic DLNA Profile", then pasted in the code from here http://forum.serviio.org/viewtopic.php?f=13&t=5119, changed the profile id to 2 and here is what I have left:

  Code:
<Profile id="1" name="Generic DLNA profile">
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.GenericDLNAMessageBuilder</ContentDirectoryMessageBuilder>
      <ProtocolInfo>DLNA</ProtocolInfo>
      <DeviceDescription>
         <FriendlyName>Serviio ({computerName})</FriendlyName>
         <ModelName>Serviio Media Server</ModelName>
         <Manufacturer>Petr Nejedly</Manufacturer>
      </DeviceDescription>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="audio/mpeg">MP3</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/L16;rate=44100;channels=1" name="LPCM">LPCM16_44_MONO</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/L16;rate=44100;channels=2" name="LPCM">LPCM16_44_STEREO</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/L16;rate=48000;channels=1" name="LPCM">LPCM16_48_MONO</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/L16;rate=48000;channels=2" name="LPCM">LPCM16_48_STEREO</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/x-ms-wma">WMA_BASE</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/x-ms-wma">WMA_FULL</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/mp4">AAC_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/mp4">AAC_ISO_320</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/vnd.dlna.adts">AAC_ADTS</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/vnd.dlna.adts">AAC_ADTS_320</MediaFormatProfile>         
         <MediaFormatProfile mime-type="audio/flac">FLAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/ogg">OGG</MediaFormatProfile>
         <MediaFormatProfile mime-type="image/jpeg">JPEG_SM</MediaFormatProfile>
         <MediaFormatProfile mime-type="image/jpeg">JPEG_MED</MediaFormatProfile>
         <MediaFormatProfile mime-type="image/jpeg">JPEG_LRG</MediaFormatProfile>
         <MediaFormatProfile mime-type="image/jpeg">JPEG_TN</MediaFormatProfile>
         <MediaFormatProfile mime-type="image/png">PNG_LRG</MediaFormatProfile>
         <MediaFormatProfile mime-type="image/png">PNG_TN</MediaFormatProfile>
         <MediaFormatProfile mime-type="image/gif">GIF_LRG</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG1</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG_PS_PAL</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG_PS_NTSC</MediaFormatProfile>         
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_EU</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_EU_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG_TS_SD_EU_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_NA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_NA_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG_TS_SD_NA_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_KO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_KO_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG_TS_SD_KO_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-msvideo">AVI</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-matroska">MATROSKA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-flv">FLV</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-dvr">DVR_MS</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/wtv">WTV</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/ogg">OGV</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>         
         <MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">AVC_MP4_LPCM</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">MPEG4_P2_MP4_SP_L6_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4">MPEG4_P2_MP4_NDSD</MediaFormatProfile>         
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_AAC_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG4_P2_TS_ASP_AAC_ISO</MediaFormatProfile>         
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG4_P2_TS_ASP_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_MPEG1_L3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">MPEG4_P2_TS_ASP_MPEG1_L3_ISO</MediaFormatProfile>      
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_HD_AAC_MULT5_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_MPEG1_L3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_HD_MPEG1_L3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_HD_DTS_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_HD_DTS_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>         
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>         
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-wmv">WMVMED_BASE</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-wmv">WMVMED_FULL</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-wmv">WMVHIGH_FULL</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-wmv">WMVMED_PRO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-wmv">WMVHIGH_PRO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-asf">VC1_ASF_AP_L1_WMA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-asf">VC1_ASF_AP_L2_WMA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-asf">VC1_ASF_AP_L3_WMA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">VC1_TS_AP_L1_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">VC1_TS_AP_L2_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">VC1_TS_HD_DTS_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">VC1_TS_HD_DTS_T</MediaFormatProfile>         
         <MediaFormatProfile mime-type="video/3gpp">MPEG4_P2_3GPP_SP_L0B_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/3gpp">MPEG4_P2_3GPP_SP_L0B_AMR</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/3gpp">AVC_3GPP_BL_QCIF15_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/3gpp">MPEG4_H263_3GPP_P0_L10_AMR</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/3gpp">MPEG4_H263_MP4_P0_L10_AAC</MediaFormatProfile>
      </MediaFormatProfiles>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4"/>
            <Matches container="flv" vCodec="h264"/>         
             <Matches container="applehttp" vCodec="h264"/>   
         </Video>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" forceInheritance="true">
            <Matches container="rtp"/>
            <Matches container="rtsp"/>
            <Matches container="applehttp"/>
         </Video>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="asf"/> <!-- to support mms:// streams -->
            <Matches container="flv"/>
         </Video>
         <Audio targetContainer="mp3" aBitrate="384" forceInheritance="true">
            <Matches container="flv"/>
            <Matches container="asf"/>
         </Audio>
      </OnlineTranscoding>
      <AutomaticImageRotation>false</AutomaticImageRotation>
      <LimitImageResolution>true</LimitImageResolution>
   </Profile>

   <!--
      ========================= DO NOT EDIT - end   ====================================
   -->

<Profile id="2" name="Panasonic Viera With AVI Support" extendsProfileId="1">
        <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <SubtitlesMimeType>text/srt</SubtitlesMimeType>
        <Transcoding>
      <!-- Transcode h264 videos with profile level > 4.1 to mpegts with ac3 audio -->
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" maxVBitrate="20000">
         <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
         <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
      </Video>
           <!-- remux VORBIS/FLAC/LPCM in MKV/MP4 to AC3 -->
           <Video targetContainer="mpegts" targetACodec="ac3" >
              <Matches container="matroska" vCodec="h264" aCodec="flac" />
              <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">
              <Matches container="mp4" vCodec="h264" />
              <Matches container="matroska" vCodec="mpeg2video"/>
           </Video>
           <!-- Remux WTV files to MPEG-PS with no transcoding-->
           <Video targetContainer="mpeg">
              <Matches container="wtv" />
           </Video>
           <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
           <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">           
              <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="asf" />
              <Matches container="flv" />
              <Matches container="ogg" />
              <Matches container="3gp" />
           </Video>
           <!-- unsupported audio will be transcoded into lpcm audio -->
           <Audio targetContainer="lpcm">
              <Matches container="flac" />
              <Matches container="ogg" />
              <Matches container="asf" />
              <Matches container="adts" />
           </Audio>
        </Transcoding>     
    </Profile>
 
</Profiles>


And then, when I got home from work, everything plays. I was trying to find a troublesome file, and nothing. My TV labels them as MPEG2-TS, and they don't skip or stutter. MP4 are the only files that the TV doesn't identify, but it still plays them. MKV's 480 & 720 play great.

I only post this topic since I had some trouble getting things running through so much trial and error, and hope this could help someone with the same brand TV. Now to start working on plug-ins!

Re: Panasonic Viera TC-P42X3

PostPosted: Wed Feb 15, 2012 8:02 pm
by Cerberus
see its PMI's wonderful profile that did it ;)

Re: Panasonic Viera TC-P42X3

PostPosted: Wed Feb 15, 2012 9:43 pm
by vikingsfreak
I swear I tried it before, but it must have been one of the first I tried, before I had any handle on what I was doing. I tried to reinstall, but must not have wiped out the changes I made.

Excellent work on all of this. It must be overwhelming at times dealing with all the questions posted to you and all the others. I am still a Java novice, with no other programming experience, or I would be all over getting waist deep in Serviio. Maybe after a few more courses...

If you ever need anything tested on a Panasonic, don't hesitate to ask.

Re: Panasonic Viera TC-P42X3

PostPosted: Thu Feb 16, 2012 6:18 am
by Cerberus
Panasonic is going very good so far, we just need to iron out a few more devices and we will support all of their devices, be nice to get a line into panasonic themelves thoguh like we have sony so we can tlk to them and get firmware fixs done to aid users too. Like getting it so each device give out a unique ID so i could get auto detect working.

Re: Panasonic Viera TC-P42X3

PostPosted: Fri Feb 17, 2012 2:00 am
by PMI
Cerberus wrote:see its PMI's wonderful profile that did it ;)
I am only the HELPER, so I accept no credit (and no blame :D )...

Re: Panasonic Viera TC-P42X3

PostPosted: Tue Feb 21, 2012 10:31 pm
by JoelC707
Hey, just found this great program. I bought the same Panasonic TV over this past weekend and decided to try and put the DLNA streaming to use. Once I discovered it wouldn't play all my files I decided to come here and see what was up and what do I find but this thread where someone has the same TV as me :)

I've run into a bit of a problem though. I've tried the stripped down profile here on this thread and tried the "with AVI" profile on the last page of the other thread referenced. I did notice in both cases the text gets input into Notepad with spaces and not tabs. I went in and reformatted the code to match what was already there with proper tab spacing not spacebar spacing. The issue is after editing the XML file, restarting the process and the UPnP server I still don't see the new profile for selection. Also my TV shows up as an "unrecognized device" in the list if that matters.

Any ideas why the profile list doesn't update? Even with the stripped down profile, but with the formatting errors, it didn't change the list at all. It's like it's not reading the file. I did make a backup of the file before making changes and the latest attempt at reformatting it was basically with a fresh file so I doubt anything is messed up and even if it is I can simply blow away the messed up one and retry it from the backup file.

Joel

Re: Panasonic Viera TC-P42X3

PostPosted: Tue Feb 21, 2012 10:42 pm
by Cerberus
JoelC707 wrote:Hey, just found this great program. I bought the same Panasonic TV over this past weekend and decided to try and put the DLNA streaming to use. Once I discovered it wouldn't play all my files I decided to come here and see what was up and what do I find but this thread where someone has the same TV as me :)

I've run into a bit of a problem though. I've tried the stripped down profile here on this thread and tried the "with AVI" profile on the last page of the other thread referenced. I did notice in both cases the text gets input into Notepad with spaces and not tabs. I went in and reformatted the code to match what was already there with proper tab spacing not spacebar spacing. The issue is after editing the XML file, restarting the process and the UPnP server I still don't see the new profile for selection. Also my TV shows up as an "unrecognized device" in the list if that matters.

Any ideas why the profile list doesn't update? Even with the stripped down profile, but with the formatting errors, it didn't change the list at all. It's like it's not reading the file. I did make a backup of the file before making changes and the latest attempt at reformatting it was basically with a fresh file so I doubt anything is messed up and even if it is I can simply blow away the messed up one and retry it from the backup file.

Joel


my guess is your only restartting the console and not the service to or your trying to do it from inside the console and that wont work.

Re: Panasonic Viera TC-P42X3

PostPosted: Tue Feb 21, 2012 11:03 pm
by JoelC707
Nope. I'm going into services, finding the Serviio service and hitting stop then start or restart. I've also restarted the "server" inside the console but that doesn't do it either.

Re: Panasonic Viera TC-P42X3

PostPosted: Tue Feb 21, 2012 11:11 pm
by Cerberus
attach your profiles.xml file so i can have a look at it please cause that makes no sense.

Re: Panasonic Viera TC-P42X3

PostPosted: Tue Feb 21, 2012 11:15 pm
by JoelC707
Here ya go. I haven't tried restarting the computer yet and I know that sometimes fixes random odd bugs for no reason :P

Re: Panasonic Viera TC-P42X3

PostPosted: Tue Feb 21, 2012 11:21 pm
by Cerberus
profile.xml look fine other than ur playing with formating, so yer try a pc restart.

Re: Panasonic Viera TC-P42X3

PostPosted: Wed Feb 22, 2012 12:13 am
by JoelC707
As I said, when I pasted the copied code it pasted with spaces instead of tabs. I simply removed the spaces and used tabs to make it match the formatting in the existing file. Was that not correct? Regardless the restart fixed it. Man I hate Windows sometimes lol. Thanks for the help!!

Joel