FAQ  •  Register  •  Login

Panasonic Viera and Serviio

<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Sat Jan 15, 2011 1:45 pm

Re: Panasonic Viera and Serviio

OK, so the best results I can get is by running my MPEG2 files through ffmpeg.exe creating an output file of acodec = mp2. (Even if they are already showing as having mp2 audio)
ffmpeg.exe -i c:\movie\Tennis.mpg -y -vcodec copy -copyts -acodec mp2 -f mpegts c:\movie\Tennis_mp2.mpg

Serviio valid enumerated values for acodec are [mp3, ac3, aac, wmav2, pcm_s16le]

I can run this ffmpeg command on all my files, but I would like to set up transcoding via changing the profile.xml. Any idea how I can set up a profile to pick up my mpg files and convert the audio to mp2?

The final amount of stuttering mentioned in my previous post was resolved by using an ethernet cable rather than wireless connection. Happy to detail further if anyone else is experiencing the jitters.

Regards,
Summers
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 15, 2011 1:47 pm

Re: Panasonic Viera and Serviio

mp2 will be possible in 0.5, but if the file already has mp2 audio, it'd just be copied
<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Sun Jan 16, 2011 11:15 am

Re: Panasonic Viera and Serviio

Excellent! In version 0.5.
I still have some mpeg files coming off my recorder which I can't play, but the number are much fewer than those which will play. Also since the last bit of minor stuttering has now been ironed out by removing a wireless component, I am very happy.
The ability to modify the profile to personally suit the type of files I have is something which I find great about Serviio. Getting to this point I have tried many othere media servers and Serviio has proven to be the best.
Also the helpful information on this forum and by contributors has been excellent.
Thanks heaps,
Summers
<<

armyf9

Serviio newbie

Posts: 2

Joined: Sun Jan 16, 2011 2:43 pm

Post Sun Jan 16, 2011 2:47 pm

Re: Panasonic Viera and Serviio

Serviio is excellent!
Love the powerful customisation.

Summers, mind sharing your profile.xml please? :)
<<

Summers

Serviio newbie

Posts: 13

Joined: Tue Dec 14, 2010 3:40 am

Post Mon Jan 17, 2011 9:58 am

Re: Panasonic Viera and Serviio

My profile is nothing special at the moment. My file is currently much the same as zip posted before (http://forum.serviio.org/viewtopic.php?f=13&t=555&start=29), with one addition.
I had an issue with some of my avi files so I had a section to fix that.
My other issue was my MPEG2 files which I am recording from free to air TV, which I will await version 0.5 to add mp2 conversion to my profile.
So the extra I have/will add to my profile will be tailored specifically for the files I have and therefore may not be of much use for the files you have.
  Code:
   <Profile id="11" name="Panasonic TV" extendsProfileId="1">
      <Detection>
         <X-AV-Client-Info>.*VIERA.*</X-AV-Client-Info>
      </Detection>

            <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>
                  <!-- Remux all avi s to MPEG-TS stream - added by Summers -->
                     <Video targetContainer="mpegts" targetVCodec="mpeg2video" >
                     <Matches container="avi" />
         </Video>     
      </Transcoding>
   </Profile>

I would suggest you trial the profile provided earlier on this thread by zip (as per link above) as your best starting point.

Also I might state that I found I had to set Audio channels to "Downmix to stereo" under the Transcoding Tab to achieve the best results for my MPEG2 files.

Note also, one of my main or underlying problems I had in trying to resolve my issues was caused by using wireless networking.
Summers
<<

armyf9

Serviio newbie

Posts: 2

Joined: Sun Jan 16, 2011 2:43 pm

Post Mon Jan 17, 2011 3:43 pm

Re: Panasonic Viera and Serviio

Thanks Summers and zip.

It seems the settings given by zip is working fine for now.

Just little nuisance with fast-forward and sync problems with certain files.
Sometimes it would crash and cant forward the video, which means having to watch from the beginning :-/

But it's fine for about 50% files so not too bad ;)
<<

Jagrys

Serviio newbie

Posts: 18

Joined: Mon Jan 24, 2011 10:09 pm

Post Mon Jan 24, 2011 11:04 pm

Re: Panasonic Viera and Serviio

I'm rather fresh user of serviio, mostly because of some bugs in older version (0.4.2) which made difficult to use it in comfortable way on OpenSuse. But since there was some info about new features in 0.5 version (especially Panasonic Viera profile and serviio-console bug resolution) I was waiting for this patiently. For last couple of days I was testing new release and noticed two main problems.

The first one I resolved on my own. There was an issue while playing matroska container with DTS audio. It wasn't possible to start any movies with that kind of track on my Panasonic Viera TX-P42V20. I've checked logs from ffmpeg playing that movies and reanalyzed profiles.xml configuration file, then borrowed some lines from Sony BDP profile and it started to work eventually.
I used this lines to enforce dts->ac3 conversion and put into <Transcoding> part before the original one:
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="matroska" vCodec="h264" aCodec="dca" />
</Video>

The second issue is that subtitles work only with divx files, there wasn't any text while watching mkv files. Is it some limitation or there is some other requirement beside the same filename ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 25, 2011 12:36 am

Re: Panasonic Viera and Serviio

Not sure if the subtitles not showing is a limitation of the player... maybe it looks for subs in the container itself. You could check the detailed log to see if the Tv requests the subtitles resource.
<<

Jagrys

Serviio newbie

Posts: 18

Joined: Mon Jan 24, 2011 10:09 pm

Post Tue Jan 25, 2011 5:47 pm

Re: Panasonic Viera and Serviio

In fact there is no request for subtitle resource while playing matroska container. I uploaded logs containing both behaviours : mkv without subtitles and proper avi file working.
Attachments
pc5dczc_logs.tar.gz
milk-log - mkv file with no subtitle request
californication-log - avi file with proper subtitle request
(3.09 KiB) Downloaded 715 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 25, 2011 6:12 pm

Re: Panasonic Viera and Serviio

Can you have a look at the file's properties via Intel AV Media Controller? Make sure you assign the Viera profile to the IP where the SW runs.
Once you browse to the file, there should be a list of resources and one of them should be the srt file.
<<

Jagrys

Serviio newbie

Posts: 18

Joined: Mon Jan 24, 2011 10:09 pm

Post Tue Jan 25, 2011 7:09 pm

Re: Panasonic Viera and Serviio

zip wrote:Can you have a look at the file's properties via Intel AV Media Controller? Make sure you assign the Viera profile to the IP where the SW runs.
Once you browse to the file, there should be a list of resources and one of them should be the srt file.

Resources are visible also for avi and mkv files.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 25, 2011 7:10 pm

Re: Panasonic Viera and Serviio

So it seems like the TV just doesn't support them for MKV....
<<

pre

Serviio newbie

Posts: 15

Joined: Mon Jan 24, 2011 5:11 pm

Post Tue Jan 25, 2011 10:20 pm

Re: Panasonic Viera and Serviio

I confirm not showing subtitles on mkv files.
Subs in srt mode, profile is Panasonic Viera.
<<

Jagrys

Serviio newbie

Posts: 18

Joined: Mon Jan 24, 2011 10:09 pm

Post Tue Jan 25, 2011 10:29 pm

Re: Panasonic Viera and Serviio

zip wrote:So it seems like the TV just doesn't support them for MKV....

Indeed ... with divx files I can enable subtitles via osd and then choose proper charset, mkv doesn't let me to change it, there is other type of osd options and subtitles field is didabled. I tried to cheat with using these lines from sony bd player eu config
<!-- set mkv to divx mime-type to allow subtitle and multiple audio track support -->
<MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
replacing MATROSKA with AVC_TS_MP_SD_AC3_ISO (transcoded media format) but it doesn't work either. Probably TV firmware should be changed to enable subtitle service for other format than divx. The only hope is in ffmpeg developers that they add this option like it exist in mencoder.
<<

pre

Serviio newbie

Posts: 15

Joined: Mon Jan 24, 2011 5:11 pm

Post Tue Jan 25, 2011 10:45 pm

Re: Panasonic Viera and Serviio

i have the same problem.

Maybe few line code in serviio solve a problem?
subs in mkv is one of the most needed feature for all panasonic users.
<<

Jagrys

Serviio newbie

Posts: 18

Joined: Mon Jan 24, 2011 10:09 pm

Post Wed Jan 26, 2011 12:08 am

Re: Panasonic Viera and Serviio

I'm not sure but it seems that the only format which support subs is AVI, when Viera find info about transcoded MKV it resolve it as AVC_TS_MP_SD_AC3_ISO and make not possible to use subtitles. Probably there is no hope till ffmpeg's developers implement subs support as it works in mencoder (PS3 Media Server).
<<

Glouba

Serviio newbie

Posts: 2

Joined: Fri Jan 28, 2011 5:57 pm

Post Wed Feb 02, 2011 5:14 pm

Re: Panasonic Viera and Serviio

Hi all.

I'd like to thank everyone involved in Serviio development (what a great piece of software :P !) and Panasonic adaptation. Serviio v0.5 seems a huge improvment to me, both in stability and functionnality (subtitles...)

I have a Panasonic Viera TX-L42D25e, and successively tried Twonky (stable, but limitations), Tversity (never worked properly, no charge), Serviio 0.4 (less stable than Twonky, same limitations, no charge), Wild Media Server (less limitations, huge panels of options, many features, but dramatically unstable)... Serviio 0.5 is the best !

My only remaining issue seems with "too large picture" videos, that is superior to 720x576, which seems a limitation of my TV, and my question is : is it possible to specifiy an option in the profile, in order to reduce these "faulty" videos ?

Possible or not, I keep Serviio. Thanks again, G.
<<

klaus

Serviio newbie

Posts: 18

Joined: Sun Dec 19, 2010 2:58 pm

Post Sun Feb 06, 2011 9:59 pm

Re: Panasonic Viera and Serviio

I'm not sure but it seems that the only format which support subs is AVI, when Viera find info about transcoded MKV it resolve it as AVC_TS_MP_SD_AC3_ISO and make not possible to use subtitles.


Sadly enough, I have to confirm this. Although Serviio does seem to find the subtitle file (see log below), nothing happens.
I have a Panasonic Viera 2010 model.

Questions, out of curiosity:
- Is the TV supposed to open a separate HTTP connection for the external subtitle file?
- If so, how does Serviio tell the TV that such file exists?

Anyway, I'll try to manually multiplex some subtitle formats into a transport stream, maybe we are lucky and find another way that works...

  Code:
2011-02-06 19:45:33,084 DEBUG [SubtitlesService] Found subtitle file: /d/3/oe1kib/video/Space Tourists.srt
2011-02-06 19:45:33,084 DEBUG [VideoDAOImpl] Reading a Video (id = 24)
2011-02-06 19:45:33,085 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 24 and profile Panasonic Viera
2011-02-06 19:45:33,085 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Space Tourists.mkv: AVC_TS_MP_SD_AC3_ISO
2011-02-06 19:45:33,085 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 24)
2011-02-06 19:45:33,086 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2011-02-06 19:45:33,087 DEBUG [SubtitlesService] Found subtitle file: /d/3/oe1kib/video/Space Tourists.srt
[...]
2011-02-06 19:45:33,963 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:1 from address /192.168.1.51:50050
2011-02-06 19:45:33,964 DEBUG [DiscoverySearchResponder] Sending 1 M-SEARCH response message(s) to /192.168.1.51:50050
2011-02-06 19:45:33,968 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:1 from address /192.168.1.51:50050
2011-02-06 19:45:33,968 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:2 from address /192.168.1.51:50051
2011-02-06 19:45:33,968 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:2 from address /192.168.1.51:50051
2011-02-06 19:45:33,968 DEBUG [DiscoverySearchResponder] Sending 1 M-SEARCH response message(s) to /192.168.1.51:50050
2011-02-06 19:45:39,430 DEBUG [WebServer] Incoming connection from /192.168.1.51:46688
2011-02-06 19:45:39,434 DEBUG [ResourceTransportRequestHandler] GET /resource/24/MEDIA_ITEM/AVC_TS_MP_SD_AC3_ISO HTTP/1.1, headers = [Host: 192.168.1.100:8895,transferMode.dlna.org: Streaming,Connection: keep-alive]]
2011-02-06 19:45:39,434 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.51
2011-02-06 19:45:39,436 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.51, Profile=Panasonic Viera'
2011-02-06 19:45:39,436 DEBUG [ResourceTransportRequestHandler] Request for resource 24 and type 'MEDIA_ITEM' received
2011-02-06 19:45:39,436 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 24)
2011-02-06 19:45:39,437 DEBUG [VideoDAOImpl] Reading a Video (id = 24)
2011-02-06 19:45:39,438 DEBUG [VideoDeliveryEngine] Delivering item '24' for client 'IPAddress=/192.168.1.51, Profile=Panasonic Viera'
2011-02-06 19:45:39,438 DEBUG [VideoDeliveryEngine] Delivering file 'Space Tourists.mkv' using transcoding
2011-02-06 19:45:39,438 DEBUG [VideoDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.51, Profile=Panasonic Viera'
2011-02-06 19:45:39,439 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2011-02-06 19:45:39,441 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode file: /d/3/oe1kib/video/Space Tourists.mkv
2011-02-06 19:45:39,441 DEBUG [ProcessExecutor] Starting ffmpeg -i /d/3/oe1kib/video/Space Tourists.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-24-MPEG2TS.stf
2011-02-06 19:45:39,943 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Space Tourists.mkv: AVC_TS_MP_SD_AC3_ISO
2011-02-06 19:45:39,943 DEBUG [VideoDeliveryEngine] Sending transcoding stream
2011-02-06 19:45:39,943 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 24) as read
2011-02-06 19:45:39,960 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-02-06 19:45:39,962 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2011-02-06 19:45:39,962 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-02-06 19:45:39,963 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-02-06 19:45:39,963 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 06 Feb 2011 18:45:39 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-02-06 19:45:39,972 DEBUG [WebServer] I/O error: Broken pipe
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 07, 2011 12:10 am

Re: Panasonic Viera and Serviio

Sadly enough, I have to confirm this. Although Serviio does seem to find the subtitle file (see log below), nothing happens.
I have a Panasonic Viera 2010 model.

Is the srt file valid? Also try it on a file that is not transcoded.

- Is the TV supposed to open a separate HTTP connection for the external subtitle file?

yes

- If so, how does Serviio tell the TV that such file exists?

Serviio offers it as a resource (available on a URL)
<<

klaus

Serviio newbie

Posts: 18

Joined: Sun Dec 19, 2010 2:58 pm

Post Wed Feb 09, 2011 9:53 pm

Re: Panasonic Viera and Serviio

Is the srt file valid? Also try it on a file that is not transcoded.


The srt file plays nicely with mplayer, so I assume it is correct.

Now I tried several incarnations of the same movie, together with the srt file. None of them transcoded.

* Original VOB pulled from the DVD -> srt file not used
* H.264 in MPEG transport stream (sort of AVCHD) -> srt file not used
* MPEG4 in AVI container (DivX) -> srt file used and working properly.

My conclusion: Panasonic only uses external srt files in case of DivX video.

I also did not manage to get the subtitles displayed as dvdsub, dvbsub, or pgssub streams in the transport stream.
Sometimes the TV at least recognized the subtitle language, but it still didn't display the subtitles.

Seems I have to go back to DivX if I want subtitles :(
PreviousNext

Return to Panasonic

Who is online

Users browsing this forum: No registered users and 43 guests

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