forked from ps3mediaserver/ps3mediaserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CustomMencoderOptions defined on renderer level added.
Added info to Renderer.conf for hidden params.
- Loading branch information
Showing
4 changed files
with
188 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,126 @@ | ||
RendererName=Panasonic | ||
RendererIcon=kuro.png | ||
UserAgentSearch=Panasonic MIL DLNA | ||
Video=true | ||
Audio=true | ||
Image=true | ||
SeekByTime=false | ||
CBRVideoBitrate=15000 | ||
ByteToTimeseekRewindSeconds=0 | ||
DLNALocalizationRequired=true | ||
|
||
TranscodeVideo=MPEGAC3 | ||
TranscodeAudio=WAV | ||
DefaultVBVBufSize=false | ||
MuxH264ToMpegTS=true | ||
MuxDTSToMpeg=false | ||
WrapDTSIntoPCM=false | ||
MuxLPCMToMpeg=true | ||
|
||
MaxVideoBitrateMbps=90 | ||
MaxVideoWidth=1920 | ||
MaxVideoHeight=1080 | ||
H264Level41Limited=true | ||
TranscodeAudioTo441kHz=false | ||
TranscodeFastStart=true | ||
|
||
#TranscodedVideoFileSize=-1 | ||
TranscodedVideoFileSize=0 | ||
#TranscodedVideoFileSize=100000000000 | ||
AutoExifRotate=false | ||
#UseSameExtension=mpg | ||
#MimeTypesChanges=audio/wav=audio/L16|video/mp4=video/mpeg|video/mkv=video/mpeg | ||
TranscodeExtensions= | ||
StreamExtensions= | ||
|
||
SoftSubSupport=false | ||
CustomMencoderQualitySettings=keyint=5:vqscale=1:vqmin=3:vqmax=5 | ||
# XXX: note this option is *not* supported by official builds | ||
# pullup pro deinterlacing | ||
CustomMencoderOptions=-vf softskip,expand=::::1:16\/9:4 | ||
|
||
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/divx qpel: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 when same name: SRT, SUB, TXT | ||
# pictures: jpg, jpeg 4:4:4, 4:2:2, 4:2:0 | ||
|
||
# VIERA Image Viewer: Ano (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: | ||
#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???) | ||
#Shagrath, please it is somehow possible to make it work? With help of conf file and attached debug.logs so maybe some tweaks in PMS itself plus tweaking .conf file will make it work(seeking+actual time visible so we will know where we are now when playing and where we are when forwarding so we can stop or continue in rewinding)? | ||
|
||
RendererName=Panasonic | ||
RendererIcon=kuro.png | ||
UserAgentSearch=Panasonic MIL DLNA | ||
Video=true | ||
Audio=true | ||
Image=true | ||
SeekByTime=false | ||
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=15000 | ||
ByteToTimeseekRewindSeconds=0 | ||
|
||
TranscodeVideo=MPEGAC3 | ||
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???) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters