FAQ  •  Register  •  Login

Panasonic Viera and Serviio

<<

trampas

Serviio lover

Posts: 67

Joined: Mon Aug 23, 2010 8:23 am

Post Mon Aug 30, 2010 3:29 pm

Re: Panasonic Viera and Serviio

It seems if the TV is off when Serviio advertises itself (every 15 minutes?) then Serviio is not picked up - stop/start of the service makes it work - which makes sense.
Anyway some more testing. I am trying to transcode mp4 and wmv videos. Trying
---
<Transcoding>
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
<Matches container="mp4" />
<Matches container="asf" />
</Video>
</Transcoding>
---
failed showing a broken up image (not from the video strangely) in both cases. I ran FFMPEG with the parameters from the DEBUG log and got 'Libavcodec has been miscompiled' and stating that it would run slowly or crash. I tried again with the June2010 version of FFMPEG which seemed to work. So back to Serviio and the same broken up image. Then changed the transcoding to '<Video targetContainer="mpeg" targetACodec="ac3" targetVCodec="mpeg2video">' and this time both mp4 and wmv worked!!! The only issue now seems to be the aspect ratio of the transcoded mp4 video (The Bourne Ultimatum - Trailer.mp4 1920x816 or 2.353:1) - any way around that?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 31, 2010 8:28 am

Re: Panasonic Viera and Serviio

trampas wrote:It seems if the TV is off when Serviio advertises itself (every 15 minutes?) then Serviio is not picked up - stop/start of the service makes it work - which makes sense.

The TV should send search request on its start, so it should still work.
<<

phx

Serviio newbie

Posts: 1

Joined: Sun Sep 26, 2010 3:04 pm

Location: Zurich, Switzerland

Post Sun Sep 26, 2010 3:49 pm

Re: Panasonic Viera and Serviio

@trampas - did you already find a solution for the wrong aspect ration with the Panasonic Vieara?
I have a TX-P42V20E and I'm facing the same problem.
Would it be ok for you to share your current profile?
<<

alexbu

Serviio newbie

Posts: 3

Joined: Sun Sep 26, 2010 7:51 pm

Post Sun Sep 26, 2010 8:11 pm

Re: Panasonic Viera and Serviio

zip wrote:
trampas wrote:It seems if the TV is off when Serviio advertises itself (every 15 minutes?) then Serviio is not picked up - stop/start of the service makes it work - which makes sense.

The TV should send search request on its start, so it should still work.


Unfortunately, not. I have to restart Serviio Service everytime, when i go into "media server" on p42gw20. But I'll look into a problem (javadev too).

I found one more issue with Viera's client. They send "User-Agent" header only once, at the beginning. On all subsequent queries (like GET /resource/10/MEDIA_ITEM/AVC_TS_MP_HD_AAC_MULT5_ISO) there is no any evidence, what kind of server makes a request. As result, if an automatic renderer profile detection is switched on, Serviio responses with 'Generic DLNA Profile'. Shouldn't it keep a kind of a session, remembering what client is on a client machine?

P.s.: there is a new version of ffmpeg. This was important for me: http://roundup.ffmpeg.org/issue1882. Had a broken mkv, but in Serviio log was only "ffmpeg error".
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Sep 26, 2010 8:46 pm

Re: Panasonic Viera and Serviio

Yes, you'll have to select the profile you want and not autodetect in this case. I'm changing profile management right now for the next version so this should hopefully go away.
<<

trampas

Serviio lover

Posts: 67

Joined: Mon Aug 23, 2010 8:23 am

Post Tue Sep 28, 2010 6:39 am

Re: Panasonic Viera and Serviio

Sorry, I don't have any kind of sensible modified profile and didn't find any solutions to the aspect ratio issue. Biding my time waiting for updates, trying out the recording functions on the TV (to a USB powered 2.5" drive) and using a separate media player into HDMI.
<<

alexbu

Serviio newbie

Posts: 3

Joined: Sun Sep 26, 2010 7:51 pm

Post Tue Sep 28, 2010 10:33 am

Re: Panasonic Viera and Serviio

zip wrote:Yes, you'll have to select the profile you want and not autodetect in this case. I'm changing profile management right now for the next version so this should hopefully go away.


ok.

i have a next problem, related to subtitles. Viera sends a following soap filter request:
  Code:
<filter>
    dc:title,dc:date,res,res@protocolInfo,res@size,res@duration,res@resolution,
    res@dlna:ifoFileURI,res@pv:subtitleFileType,res@pv:subtitleFileUri,upnp:albumArtURI,upnp:album,upnp:artist
</filter>


Serviio responses with that:
  Code:
    <item id="V_F#FOL_R4$F6$MI16" parentID="V_F#FOL_R4$F6" restricted="1">
        <dc:title>1x02</dc:title>
        <upnp:class>object.item.videoItem</upnp:class>
        <dc:date>2006-09-10</dc:date>
        <res duration="0:23:01.000"
            protocolInfo="http-get:*:video/divx:DLNA.ORG_PN=AVI;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000"
            resolution="640x352" size="183433216">http://192.168.200.40:8895/resource/16/MEDIA_ITEM/AVI</res>
        <res protocolInfo="http-get:*:text/srt:*">http://192.168.200.40:8895/resource/16/SUBTITLE.srt</res>
    </item>


I see, that Viera expects subtitleFileType and subtitleFileUri as parts of a first <res> key, near protocolInfo, resolution, etc. Is it correct? Or I assume smth wrong? If this is correct, is it possible to extend Serviio for Viera to pack the subtitle's type and url into a first <res>?

P.s.: the problem with a necessary restarting Serviio Service after entering Panasonic Media Server menu is solved. I just set a binding address in Serviio settings.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Sep 28, 2010 11:05 am

Re: Panasonic Viera and Serviio

Ah, cool. Looks like they support subtitles, although it's their extension. I'll look into it ASAP so we have enough time to test (as you have volunteered ;-) )

http://bitbucket.org/xnejp03/serviio/is ... nic-vieira
<<

alexbu

Serviio newbie

Posts: 3

Joined: Sun Sep 26, 2010 7:51 pm

Post Tue Sep 28, 2010 4:02 pm

Re: Panasonic Viera and Serviio

made some more experiments and changed minidlna for that.

It looks like, Viera doesn't want to download .srt for any .m2ts files. Even if subtitleFileUri was filled in, there is no request to this url coming from TV :( . With AVI/DIVX/... smth wich is not h264: no problem - it works.

Edit: will try with pgs now...
<<

chs

Serviio newbie

Posts: 3

Joined: Fri Oct 08, 2010 8:50 am

Post Fri Dec 03, 2010 8:21 am

Re: Panasonic Viera and Serviio

hi,
any new about this #176 issue ?
i see that the request status is 'ready to be tested', if there is beta tester missing please let me know.. :D

btw
great tool, using almost everyday with panasonic tx-p42g20e ;)

br,
Piotr
<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Thu Dec 16, 2010 10:47 am

Re: Panasonic Viera and Serviio

I have been trying to use a Media Server to stream video files from my Notebook running Windows Vista to my Panasonic TH-L42D25A. I have tried Windows Media Player, Mezzmo and others. I have found that of all these Media Servers I have been the most successful with Serviio. I did have an issue with some avi files playing for about 2 seconds then the video pixelating and freezing, while the sound continued. I took stabs in the dark from the other profiles and created a PANASONIC Profile which resolved this issue (Wide screen is slightly cropped, but streaming works every time).
This profile also resolved another issue I was having with mpg files stuttering. The stuttering is evident with all other profiles delivered (Yes I tried them all). I still have one issue left to resolve. I can stream & watch mpg files which are created by my PVR as long as they are from the digital channels. If the mpg is a recording from one of the High Defenition (HD) channels, it is listed on the TV, but no thumb nail is shown and when I try to play it, I get a message File Cannot Be Read. All my mpg files display on the Panasonic listing as MPEG2-TS. (I do note that the play length for the HD files are listing incorrectly)
If anyone has any ideas or even the steps I should take to logically work through trouble shooting this, it would be greatly appreciated.
As I said, I stumbled across getting other issues resolved so far, as I don't understand transcoding, containers etc.
  Code:
   <Profile id="11" name="Panasonic TV" extendsProfileId="1">
      <Detection>
         <X-AV-Client-Info>.*VIERA.*</X-AV-Client-Info>
      </Detection>
      <MediaFormatProfiles>
         <!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
         <!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!-- First remux all h264 video on MPEG-TS stream with ac3 audio transcoding, expected profile AVC_TS_MP_HD_AC3_ISO or AVC_TS_MP_SD_AC3_ISO -->
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="avi" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" />
            <!-- if audio different to ac3, must be transcoded -->
            <Matches container="mpegts" aCodec="aac" />
            <Matches container="mpegts" aCodec="mp3" />
            <Matches container="mpegts" aCodec="dca" />
         </Video>
         <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU). -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mp4" />
            <Matches container="matroska" />
         </Video>
      </Transcoding>
   </Profile>
<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Fri Dec 17, 2010 12:49 pm

Re: Panasonic Viera and Serviio

Running FFmpeg against one of the test HD files which will not play produced the following output:

FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
built on May 3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-L/static/lib --extra-cflags=-I/static/include
libavutil 50.15. 0 / 50.15. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[mpegts @ 0160bc70]MAX_READ_SIZE:5000000 reached
[NULL @ 014f84e0]start time is not set in av_estimate_timings_from_pts
Input #0, mpegts, from 'c:\movie\Tennis.mpg':
Duration: 00:03:47.48, start: 23375.842589, bitrate: 12946 kb/s
Program 1617 ONE HD
Metadata:
name : ONE HD
provider_name : Ten
Program 1621 TEN Digital
Metadata:
name : TEN Digital
provider_name : Ten
Program 1623 ONE HD
Metadata:
name : ONE HD
provider_name : Ten
Stream #0.0[0x1fd5]: Data: 0x000b
Stream #0.1[0x202]: Video: mpeg2video, yuv420p, 1440x1080 [PAR 4:3 DAR 16:9]
, 90000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.2[0x2a0](eng): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
Stream #0.3[0x241](eng): Subtitle: 0x0006
Program 1624 ONE Digital
Metadata:
name : ONE Digital
provider_name : Ten
At least one output file must be specified
<<

gyre

Serviio newbie

Posts: 1

Joined: Sat Dec 18, 2010 1:10 pm

Post Sat Dec 18, 2010 2:41 pm

Re: Panasonic Viera and Serviio

Thanks for the profile. I have the TX-L42D25B and am hoping this works for me too.

-- gyre --
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Dec 18, 2010 2:50 pm

Re: Panasonic Viera and Serviio

Could you provide the GetInfoProtocol sink of your Panasonic Viera devices?
That could help us to provide a specific Panasonic profile.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Sun Dec 19, 2010 1:02 pm

Re: Panasonic Viera and Serviio

I ran Device Spy as per instructions and it did not see the Panasonic TV. I note that this was mentioned by someone else as well. I tried adding it as a device by entering its Network Uri http://10.1.1.4/ but this failed.
Will turning debug on in log4j provide the information requested? It produces a lot of info so I was reluctant to just paste it all here if it is not of use.
A sample of information in the log is :
2010-12-19 22:41:11,829 INFO [WebServer] WebServer starting on port 8895
2010-12-19 22:41:12,891 INFO [Device] Created UPnP Device with UUID: 25af9b2f-f052-3db3-ac2d-5262360cb7ea, bound address: 10.1.1.2

2010-12-19 22:42:53,120 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:2 from address /10.1.1.4:50051
2010-12-19 22:42:53,755 DEBUG [WebServer] Incoming connection from /10.1.1.4:53690
2010-12-19 22:42:54,056 DEBUG [UPnPIconRequestHandler] UPnP icon request received for icon largePNG
2010-12-19 22:42:54,226 DEBUG [WebServer] Incoming connection from /10.1.1.4:47179
2010-12-19 22:42:54,227 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 25af9b2f-f052-3db3-ac2d-5262360cb7ea from Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50
2010-12-19 22:42:54,231 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Panasonic TV'
2010-12-19 22:42:57,792 DEBUG [WebServer] Incoming connection from /10.1.1.4:32393
2010-12-19 22:42:57,796 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"' from Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50:
2010-12-19 22:42:57,941 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2010-12-19 22:42:57,955 DEBUG [WebServer] Incoming connection from /10.1.1.4:29698
2010-12-19 22:42:57,957 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50:
2010-12-19 22:42:57,971 DEBUG [ContentDirectory] Browse() called for profile Panasonic TV with parameters: objectID = 0, browseFlag = BrowseDirectChildren, filter = dc:title,dc:date,res,res@protocolInfo,res@size,res@duration,res@resolution,res@dlna:ifoFileURI,res@pv:subtitleFileType,res@pv:subtitleFileUri,upnp:albumArtURI,upnp:album,upnp:artist, startIndex = 0, count = 20, sortCriteria =
2010-12-19 22:42:57,979 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Fri Dec 31, 2010 8:12 am

Re: Panasonic Viera and Serviio

Any assistance on this would be appreciated. I would even like to know how do I change a profile so that I can force an mpegts file to be transcoded instead of being passed thru in native format.
Happy New Year!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 31, 2010 5:09 pm

Re: Panasonic Viera and Serviio

Do you have any official document listing what formats should be available for the TV?
<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Sat Jan 01, 2011 2:11 am

Re: Panasonic Viera and Serviio

The Panasonic Doco states:
DLNA
Applicable data format

Video MPEG-2 (PS format and TS format)
- AVCD and DivX files are not supported by DLNA, but can be played by Media Player

Cheers
Summers
<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Thu Jan 06, 2011 12:49 pm

Re: Panasonic Viera and Serviio

It appears my problem may be, as simple as, I have been trying to stream files at a resolution greater than Panasonic DLNA can handle.

I have just discovered a 16 page Panasonic Users Guide For DLNA http://www.mikefletcher.co.uk/documents/Panasonic%20User%20Guide%20for%20DLNA.pdf
On page 15 it states that the resolution for Playable Media Files - Video MPEG2 PS (Program Stream) are:
    720x576
    704x576
    544x576
    352x576
    352x288
My 2 test MPEG2-TS files which I could not get to stream are 1440x1080 and the other 1280x720 resolution. A test file I have been using which streams nicely has a resolution of 720x576 . . . .

I have e-mailed Panasonic Customer Don't Care Centre several times with no response. Tonight I sent another e-mail asking for confirmation that this information above is correct. Maybe, as I have almost completely answered my queries, I may get a response.
If this is the answer to my problem, I don't know what I can do next. Can resolution of a file be changed during transcoding?

Summers
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 06, 2011 2:13 pm

Re: Panasonic Viera and Serviio

try this profile:

  Code:
<Profile id="11" name="Panasonic Viera" extendsProfileId="1">     
      <Transcoding>
         <!-- Remux all h264 video to MPEG-TS stream -->
         <Video targetContainer="mpegts">
            <Matches container="avi" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" />
         </Video>
      </Transcoding>
   </Profile>
Next

Return to Panasonic

Who is online

Users browsing this forum: No registered users and 2 guests

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