Panasonic V10

Discuss alternative media renderers (not PS3) supported by PS3 Media Server (e.g. Xbox 360, TVs &c.)

Panasonic V10

Postby chumley » Sun Nov 18, 2012 12:36 am

Hi,

Not sure where to post this, I have recently started using PMS and found it to be fantastic but I had some problems running it to my Panasonic V10 plasma, I was getting stuttering at any bit rate and seeking through a file was very hit and miss (would randomly return to the start of the file).

After some tinkering and testing with the panasonic.conf I now have a fully functional version for my V10 (it's a British version if that makes any difference), I have commented where i have made changes (i.e. SeekByTime and CBRVideoBitrate), I hope this helps out anybody else with this TV:

Code: Select all
RendererName=Panasonic
RendererIcon=panasonic.png
UserAgentSearch=Panasonic MIL DLNA
Video=true
Audio=true
Image=true
# SeekByTime=false - changed by chumley, with this setting on false total time was displayed but not current / actual time
SeekByTime=true
DLNALocalizationRequired=true

# CBRVideoBitrate is useful for renderers without SeekByTime support. It does time2byte conversion to support FF/RW.
# Only possibility how to predict where we are when seeking is using CBR bitrate instead of VBR used by default
# Making CBR stream by MEnocder is 3 times slower than using VBR so count with it if you have poor computer!
# Speed can be hopefully optimized little bit in the future:
# http://www.ps3mediaserver.org/forum/viewtopic.php?f=14&t=8883&p=53706&hilit=ditlew#p53700
# http://www.ps3mediaserver.org/forum/viewtopic.php?f=11&t=11284&p=62765&hilit=1835#p62765
# ByteToTimeseekRewindSeconds is used for finetuning so default is 0
# CBRVideoBitrate=37000 changed by chumley
# CBRVideoBitrate=20000 - changed by chumley works
# CBRVideoBitrate=30000 - changed by chumley doesn't work
# CBRVideoBitrate=27000 - changed by chumley doesn't work
CBRVideoBitrate=23000
ByteToTimeseekRewindSeconds=0

TranscodeVideo=MPEGPSAC3
TranscodeAudio=WAV
DefaultVBVBufSize=false
MuxH264ToMpegTS=true
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=true

MaxVideoWidth=1920
MaxVideoHeight=1080
H264Level41Limited=true
TranscodeAudioTo441kHz=false
TranscodeFastStart=true
TranscodedVideoFileSize=0

# If computer is low on resources it is better to avoid using bandwidth limit which is much CPU demanding
# It is better to lower quality settings by defining "CustomMencoderQualitySettings".
# By lowering quality also bitrate is decreased but it is not so CPU aggresive so it is preferred to use it this way
MaxVideoBitrateMbps=90
CustomMencoderQualitySettings=keyint=5:vqscale=1:vqmin=3:vqmax=5
CustomMencoderOptions=-vf softskip,expand=::::1:16\/9:4

AutoExifRotate=true
MimeTypesChanges=audio/wav=audio/L16|video/mp4=video/mpeg|video/mkv=video/mpeg
TranscodeExtensions=
StreamExtensions=

#-----------------------------------------------------------------------------
# Another useful hidden params and their default values if not defined:

# Display audio tag in TRANSCODE folder if defined in container (useful to find out correct audio track like commentary etc.)
# ShowAudioMetadata = true

# Display subtitle tag in TRANSCODE folder if defined in container (showing subtitles info like forced, full, documentary etc.)
# ShowSubMetadata = true

# Some renderers can't show length of DVD titles so it will add it directly to title name to be shown
# ShowDVDTitleDuration = false

# Specified extension will be added to every file shared by PMS
# UseSameExtension = null

# ????????????????????????????
# DLNAProfileChanges = null

# ????????????????????????????
# DLNAOrgPN = true

# ????????????????????????????
# MediaParserV2_ThumbnailGeneration = false
#-----------------------------------------------------------------------------

MediaInfo=true

Supported = f:mpegps|mpegts    v:mpeg1|mpeg2|mp4|h264    a:ac3|lpcm|aac|mpa   m:video/mpeg
Supported = f:avi|divx    v:mp4|divx|mjpeg   a:mp3|lpcm|mpa|ac3   m:video/x-divx   qpel:yes   gmc:0
Supported = f:mp4    v:mp4|h264   a:ac3|aac   m:video/mp4
Supported = f:wmv    v:wmv|vc1   a:wma   n:2   m:video/x-ms-wmv

#Supported = f:lpcm  m:audio/L16
Supported = f:wav   a:dts|lpcm   n:6   s:48000   m:audio/wav
Supported = f:wav   n:2   s:48000   m:audio/wav
Supported = f:mp3   n:2   m:audio/mpeg

Supported = f:aac   n:2   a:(?!alac).+   m:audio/x-m4a
Supported = f:wma   n:2   m:audio/x-ms-wma
Supported = f:atrac   n:2   m:audio/x-oma

Supported = f:jpg   m:image/jpeg
Supported = f:png   m:image/png
Supported = f:gif   m:image/gif
Supported = f:tiff   m:image/tiff

# ===========================================================================

## WHAT TV SUPPORTS? (retrieved from manual)
#--------------------------------------------
# container: avchd, divx, mpeg2,...
# extensions: divx,avi, mpg, mpeg,wmv, ...
# video codec: DIV3, DIV4, DIVX, DX50, DIV6, MPEG-2(PS/TS)
# audio codec: mp3, mpeg, ac3
# GMC not supported
# subtitles: microdvd, subrip (subtitles name must be same)...priority order when same name: SRT, SUB, TXT
# pictures: jpg, jpeg 4:4:4, 4:2:2, 4:2:0

# VIERA Image Viewer:   Yes (AVCHD/SD-VIDEO/DivXHD/JPEG/MP3/AAC playback)

## What was found about renderer in debug.log
#---------------------------------------------

# Received on socket: User-Agent: Panasonic MIL DLNA CP UPnP/1.0
# Received on socket: X-PANASONIC-DMP-Profile: MPEG_PS_PAL JPEG_SM PV_DIVX_DIV3 PV_DIVX_DIV4 PV_DIVX_DIVX PV_DIVX_DX50 PV_DRM_DIVX_DIV3 PV_DRM_DIVX_DIV4 PV_DRM_DIVX_DIVX PV_DRM_DIVX_DX50
# Received on socket: X-PANASONIC-Registration: VklFUkEAAAAAAAAAAAAAAAAAAAAAAAAAAAA=


# I tested 4 combinations:
# - SeekByTime = true
# - SeekByTime = false
# - TranscodedVideoFileSize=100000000000
# - TranscodedVideoFileSize=0
# Results (with version before 1.50, never tested it again with newer versions):
# When SeekByTime=false and TranscodedVideoFileSize=0, transcoded file has no info about actual time(total time is visible) and seeking is somehow/sometimes possible.
# When 99GB is set, I can see actual time but when seeking, time is visible but immediately freeze and TV will show corrupted data or movie starts from begining or from point where I started to seek.
# When SeekByTime=true, PMS generates exceptions and movie starts from beginning always when I use seeking. It seems that TV maybe doesn't support seeking by time, but why PMS generates exceptions? 
# When I tried TranscodedVideoFileSize=-1, seeking will start movie from beginning every time.
# When TranscodedVideoFileSize is defined to something about 1GB, I can see actual time but seeking is working only for some minutes/seconds to forward. It means I can seek forward for few seconds but not more because it seems PMS will send end of file and streaming will freeze/file cannot be played.
# When I set 10GB, behavior is same as for 99GB(mayble some TV limit about maximum size of file???)
Last edited by chocolateboy on Sun Nov 18, 2012 12:49 am, edited 1 time in total.
Reason: reformatted: please read the FAQ: http://tinyurl.com/4294qo2
chumley
 
Posts: 14
Joined: Sat Nov 17, 2012 10:24 pm

Re: Panasonic V10

Postby ExSport » Sun Nov 18, 2012 12:12 pm

Code: Select all
# SeekByTime=false - changed by chumley, with this setting on false total time was displayed but not current / actual time
# CBRVideoBitrate=37000 changed by chumley
# CBRVideoBitrate=20000 - changed by chumley works
# CBRVideoBitrate=30000 - changed by chumley doesn't work
# CBRVideoBitrate=27000 - changed by chumley doesn't work

Did you read end of file? You will see that SeekByTime=false will give you possibility to rewind.
REW on PanTV has 5 speeds but max used can be first 3. If you will use 4. or 5. it will skip to beginning of file. So it somehow works (better something than nothing)
CBRVideoBitrate gives you FF/RW possibility because SeekByTime is not supported. 37000 will generates transcoded bitrate about 75Mbit/s what is maximum what TV accept.
Higher value will start to stutter on tv (bad NIC card in TV?) and lower will lower output qualitu and has higher demands on CPU because too low bitrate for HD material is too much work for CPU. In past 15000 was limit which I fixed in PMS because it had 3x times bigger CPU usage.
Are you on WIFI? My tests found that 37000 was the best value when connected to 1GB switch (TV is 100Mbit only) and with lowest CPU demands.
Anyway I reccomend to make two changes in old Panasonic.conf file:
Supported = f:avi|divx v:mp4|divx|mjpeg a:mp3|lpcm|mpa|ac3 m:video/x-msvideo qpel:yes|no gmc:0

Old value video/x-divx doesn't work and PMS automatically transcoded DivX files to TV but m:video/divx works great on TV without recompression.
Anyway later I found that TV accept also video/x-msvideo so it should be used as better alternative. If you have AVI files with mjpeg (e.g. from photo camera), it is not DivX so using video/divx can generate broken file on TV but more universal video/x-msvideo should work (definitely works on XviD/DivX files 8-) )
About QPEL, unfortunately QPEL:YES doesn't mean you can stream QPEL and NON-QPEL files natively but only files with QPEL. Using qpel:yes|no fixes it :)
ExSport
 
Posts: 2167
Joined: Mon Jan 19, 2009 5:40 pm

Re: Panasonic V10

Postby chumley » Sun Nov 18, 2012 4:26 pm

I did read the end of the file!? it says:

"When SeekByTime=true, PMS generates exceptions and movie starts from beginning always when I use seeking. It seems that TV maybe doesn't support seeking by time, but why PMS generates exceptions? "

I tested it, I see no exceptions when it is now enabled plus I can seek with no issues.

Just for clarification I am on 100mb lan from PC to TV - I noticed no difference in quality by lowering (we apart from the improvement in being able to watch it without stuttering :P)

I have noticed that I have the audio lagging by a few milliseconds through the TV (and not through the PS3) so perhaps there is something you could suggest there?

Have you got a V10 that you have tested with? I only ask because the newer Panasonics can handle more file types than the V10 and more than likely has had an upgrade in the specs for the media browser so it can handle the higher bit rates.
chumley
 
Posts: 14
Joined: Sat Nov 17, 2012 10:24 pm

Re: Panasonic V10

Postby ExSport » Sun Nov 18, 2012 9:16 pm

Yes, the end comment is old more than year so exceptions were probably fixed but my reaction was on your experience with FF/RW, how to "fix" skipping to beginning of file.
Now you said you can seek with no issues so I don't understand why you said "hit and miss" experience in your first post ;)
My PanTV is old about two years (FullHD) so also it is without MKV support which new ones have. But maybe NIC on my two PanTV are better than yours? (one with 3D support)
About the bitrate. I spotted lower quality on 1080p material. Try to make 15Mbit MPEG2 1080p from 25Mbit H264 video with same quality, impossible. So I fixed PMS code for supporting higher bitrates than 15000 and found that 35Mbit is much better not only in quality but also in CPU usage so my PC was able to transcode 1080p in realtime.
You can try play with TranscodedVideoFileSize= so time will be visible also for transcoded material but my last testing (year back?) was similar with written in .conf file.
ExSport
 
Posts: 2167
Joined: Mon Jan 19, 2009 5:40 pm

Re: Panasonic V10

Postby chumley » Mon Nov 19, 2012 12:09 pm

yeah - basically without changing seekbytime to true the file would randomly restart on FF/RW again this maybe down to the differences between the V10 and other Panasonic plasmas.

Can you help me with the audio sync problem? with most files I notice a small delay 100/200ms but with larger files (LotR for example) I see a much larger delay maybe 4/5 seconds - this happens after watching for about 5 minutes (e.g. you won't see it straight away) and pausing the playback makes it resync for a few minutes but it always goes out of sync :(
chumley
 
Posts: 14
Joined: Sat Nov 17, 2012 10:24 pm

Re: Panasonic V10

Postby ExSport » Thu Nov 22, 2012 3:52 pm

Send the info from MediaInfo. I prefer also to disable "A/V sync alternative method" which fixes all my A/V sync problems.
Also your problem is with streamed/remuxed or trandscoded files?
ExSport
 
Posts: 2167
Joined: Mon Jan 19, 2009 5:40 pm

Re: Panasonic V10

Postby chumley » Sat Nov 24, 2012 3:17 pm

The A/V sync issue is with transcoded files - I have the "A/V Sync Alternative Method" option unticked, here is the media info:

Code: Select all
General
Complete name                            : G:\Hi-Def\file.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 3.96 GiB
Duration                                 : 3h 20mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 824 Kbps
Encoded date                             : UTC 2011-08-11 17:23:51
Tagged date                              : UTC 2011-08-11 17:23:51

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 3h 20mn
Bit rate                                 : 2 422 Kbps
Maximum bit rate                         : 12.5 Mbps
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.066
Stream size                              : 3.39 GiB (86%)
Writing library                          : FASM Quality Enhancer Bitrate Squeezer 5.0 (c)2011 Fachman
Encoded date                             : UTC 2011-08-11 17:23:51
Tagged date                              : UTC 2011-08-11 17:26:44
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 3h 20mn
Bit rate mode                            : Variable
Bit rate                                 : 399 Kbps
Maximum bit rate                         : 460 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : 83ms
Stream size                              : 572 MiB (14%)
Language                                 : English
Encoded date                             : UTC 2011-01-11 14:20:01
Tagged date                              : UTC 2011-01-11 14:20:24



Also I can't get the TV to play files if they are not transcoded - for example I can play an xvid file with no transcoding through another media server (Twonky) then the same file through PMS will not play - i get "cannot read file" error on the TV.
Last edited by chumley on Sat Nov 24, 2012 8:49 pm, edited 1 time in total.
chumley
 
Posts: 14
Joined: Sat Nov 17, 2012 10:24 pm

Re: Panasonic V10

Postby ExSport » Sat Nov 24, 2012 4:36 pm

Can't talk about mp4 with aac audio but I read lot of problems with it in forum.
If your TV refuses divx files to be played, did you try my recommendation?
Replace x-divx string with pure divx or x-msvideo and it should work-pure streaming.
Also be sure to edit qpel to this:qpel:yes|no
Also restart is needed to make changes in effect.
Let me know if it works.
ExSport
 
Posts: 2167
Joined: Mon Jan 19, 2009 5:40 pm

Re: Panasonic V10

Postby chumley » Sat Nov 24, 2012 8:48 pm

I think I made the change correctly, here is the conf I am using:

Code: Select all
RendererName=Panasonic
RendererIcon=panasonic.png
UserAgentSearch=Panasonic MIL DLNA
Video=true
Audio=true
Image=true
# SeekByTime=false - changed by chumley, with this setting on false total time was displayed but not current / actual time
SeekByTime=true
DLNALocalizationRequired=true

# CBRVideoBitrate is useful for renderers without SeekByTime support. It does time2byte conversion to support FF/RW.
# Only possibility how to predict where we are when seeking is using CBR bitrate instead of VBR used by default
# Making CBR stream by MEnocder is 3 times slower than using VBR so count with it if you have poor computer!
# Speed can be hopefully optimized little bit in the future:
# http://www.ps3mediaserver.org/forum/viewtopic.php?f=14&t=8883&p=53706&hilit=ditlew#p53700
# http://www.ps3mediaserver.org/forum/viewtopic.php?f=11&t=11284&p=62765&hilit=1835#p62765
# ByteToTimeseekRewindSeconds is used for finetuning so default is 0
# CBRVideoBitrate=37000 changed by chumley
# CBRVideoBitrate=20000 - changed by chumley works
# CBRVideoBitrate=30000 - changed by chumley doesn't work
# CBRVideoBitrate=27000 - changed by chumley doesn't work
CBRVideoBitrate=15000
ByteToTimeseekRewindSeconds=0

TranscodeVideo=MPEGPSAC3
TranscodeAudio=WAV
DefaultVBVBufSize=false
MuxH264ToMpegTS=true
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=true

MaxVideoWidth=1920
MaxVideoHeight=1080
H264Level41Limited=true
TranscodeAudioTo441kHz=false
TranscodeFastStart=true
TranscodedVideoFileSize=0

# If computer is low on resources it is better to avoid using bandwidth limit which is much CPU demanding
# It is better to lower quality settings by defining "CustomMencoderQualitySettings".
# By lowering quality also bitrate is decreased but it is not so CPU aggresive so it is preferred to use it this way
MaxVideoBitrateMbps=90
CustomMencoderQualitySettings=keyint=5:vqscale=1:vqmin=3:vqmax=5
CustomMencoderOptions=-vf softskip,expand=::::1:16\/9:4

AutoExifRotate=true
MimeTypesChanges=audio/wav=audio/L16|video/mp4=video/mpeg|video/mkv=video/mpeg
TranscodeExtensions=
StreamExtensions=

#-----------------------------------------------------------------------------
# Another useful hidden params and their default values if not defined:

# Display audio tag in TRANSCODE folder if defined in container (useful to find out correct audio track like commentary etc.)
# ShowAudioMetadata = true

# Display subtitle tag in TRANSCODE folder if defined in container (showing subtitles info like forced, full, documentary etc.)
# ShowSubMetadata = true

# Some renderers can't show length of DVD titles so it will add it directly to title name to be shown
# ShowDVDTitleDuration = false

# Specified extension will be added to every file shared by PMS
# UseSameExtension = null

# ????????????????????????????
# DLNAProfileChanges = null

# ????????????????????????????
# DLNAOrgPN = true

# ????????????????????????????
# MediaParserV2_ThumbnailGeneration = false
#-----------------------------------------------------------------------------

MediaInfo=true

Supported = f:mpegps|mpegts    v:mpeg1|mpeg2|mp4|h264    a:ac3|lpcm|aac|mpa   m:video/mpeg
Supported = f:avi|divx v:mp4|divx|mjpeg a:mp3|lpcm|mpa|ac3 m:video/x-msvideo qpel:yes|no gmc:0

Supported = f:mp4    v:mp4|h264   a:ac3|aac   m:video/mp4
Supported = f:wmv    v:wmv|vc1   a:wma   n:2   m:video/x-ms-wmv

#Supported = f:lpcm  m:audio/L16
Supported = f:wav   a:dts|lpcm   n:6   s:48000   m:audio/wav
Supported = f:wav   n:2   s:48000   m:audio/wav
Supported = f:mp3   n:2   m:audio/mpeg

Supported = f:aac   n:2   a:(?!alac).+   m:audio/x-m4a
Supported = f:wma   n:2   m:audio/x-ms-wma
Supported = f:atrac   n:2   m:audio/x-oma

Supported = f:jpg   m:image/jpeg
Supported = f:png   m:image/png
Supported = f:gif   m:image/gif
Supported = f:tiff   m:image/tiff

# ===========================================================================

## WHAT TV SUPPORTS? (retrieved from manual)
#--------------------------------------------
# container: avchd, divx, mpeg2,...
# extensions: divx,avi, mpg, mpeg,wmv, ...
# video codec: DIV3, DIV4, DIVX, DX50, DIV6, MPEG-2(PS/TS)
# audio codec: mp3, mpeg, ac3
# GMC not supported
# subtitles: microdvd, subrip (subtitles name must be same)...priority order when same name: SRT, SUB, TXT
# pictures: jpg, jpeg 4:4:4, 4:2:2, 4:2:0

# VIERA Image Viewer:   Yes (AVCHD/SD-VIDEO/DivXHD/JPEG/MP3/AAC playback)

## What was found about renderer in debug.log
#---------------------------------------------

# Received on socket: User-Agent: Panasonic MIL DLNA CP UPnP/1.0
# Received on socket: X-PANASONIC-DMP-Profile: MPEG_PS_PAL JPEG_SM PV_DIVX_DIV3 PV_DIVX_DIV4 PV_DIVX_DIVX PV_DIVX_DX50 PV_DRM_DIVX_DIV3 PV_DRM_DIVX_DIV4 PV_DRM_DIVX_DIVX PV_DRM_DIVX_DX50
# Received on socket: X-PANASONIC-Registration: VklFUkEAAAAAAAAAAAAAAAAAAAAAAAAAAAA=


# I tested 4 combinations:
# - SeekByTime = true
# - SeekByTime = false
# - TranscodedVideoFileSize=100000000000
# - TranscodedVideoFileSize=0
# Results (with version before 1.50, never tested it again with newer versions):
# When SeekByTime=false and TranscodedVideoFileSize=0, transcoded file has no info about actual time(total time is visible) and seeking is somehow/sometimes possible.
# When 99GB is set, I can see actual time but when seeking, time is visible but immediately freeze and TV will show corrupted data or movie starts from begining or from point where I started to seek.
# When SeekByTime=true, PMS generates exceptions and movie starts from beginning always when I use seeking. It seems that TV maybe doesn't support seeking by time, but why PMS generates exceptions? 
# When I tried TranscodedVideoFileSize=-1, seeking will start movie from beginning every time.
# When TranscodedVideoFileSize is defined to something about 1GB, I can see actual time but seeking is working only for some minutes/seconds to forward. It means I can seek forward for few seconds but not more because it seems PMS will send end of file and streaming will freeze/file cannot be played.
# When I set 10GB, behavior is same as for 99GB(mayble some TV limit about maximum size of file???)
chumley
 
Posts: 14
Joined: Sat Nov 17, 2012 10:24 pm

Re: Panasonic V10

Postby ExSport » Sat Nov 24, 2012 11:19 pm

OK, try instead of "m:video/x-msvideo" this one "m:video/divx". Restart PMS.
Also today I made some tests and found that many bugs were fixed from time when I created this config file so I was able to make FF/RW working without need of using time2byte conversion with setting "CBRVideoBitrate=" which is 3x slower...
Will post results also with some thoughts about MEncoder bugs....
EDIT:
@chumley:
Could you try this Panasonic.conf file?
It has some changes which allow FF/RW and also you can see actual time with transcoded files 8-)
There is also one hack and it is "RendererName=PlayStation 3" instead of "RendererName=Panasonic" so icon will be correct but name will not be PanTV 8-)
It is because my Panasonic TV doesn't like default attributes which PMS sends but likes the ones which are specially sent for PS3.
Please can you test it and send a results? It works flawlessly on my 2 different PanTVs so need also other tests if everything works as it should or better.
Thanks!
Attachments
Panasonic.zip
Fixed PanTV config
(2.29 KiB) Downloaded 120 times
ExSport
 
Posts: 2167
Joined: Mon Jan 19, 2009 5:40 pm

Next

Return to Alternative Media Renderers

Who is online

Users browsing this forum: No registered users and 3 guests