Request for User Friendly Default.conf file.

If you have a suggestion for a feature, post it here

Re: Request for User Friendly Default.conf file.

Postby DeFlanko » Thu Aug 18, 2011 4:44 am

Realtek.zip
(2.93 KiB) Downloaded 50 times

Samsung.zip
(2.77 KiB) Downloaded 71 times

Showtime3.zip
(2.98 KiB) Downloaded 50 times
Developed a few CONF files...
DeFlanko
 
Posts: 111
Joined: Sat Dec 05, 2009 6:49 pm
Location: San Pedro, CA

Re: Request for User Friendly Default.conf file.

Postby DeFlanko » Thu Aug 18, 2011 5:00 am

Streamium.zip
(2.81 KiB) Downloaded 30 times

WDTVLive.zip
(3 KiB) Downloaded 61 times

WMP.zip
(2.98 KiB) Downloaded 41 times
Developed a few CONF files...
DeFlanko
 
Posts: 111
Joined: Sat Dec 05, 2009 6:49 pm
Location: San Pedro, CA

Re: Request for User Friendly Default.conf file.

Postby DeFlanko » Thu Aug 18, 2011 5:38 am

XBMC.zip
(2.79 KiB) Downloaded 48 times

XBOX360.zip
I updated this with n:6 where applicable - needs testing.
(3.32 KiB) Downloaded 45 times
Developed a few CONF files...
DeFlanko
 
Posts: 111
Joined: Sat Dec 05, 2009 6:49 pm
Location: San Pedro, CA

Re: Request for User Friendly Default.conf file.

Postby DeFlanko » Thu Aug 18, 2011 6:13 am

I was able to load all of these in my PMS, no issues. (so far that I could see... I could only test a few of them.. )

Let me know if anyone finds any discrepancies.
Developed a few CONF files...
DeFlanko
 
Posts: 111
Joined: Sat Dec 05, 2009 6:49 pm
Location: San Pedro, CA

Re: Request for User Friendly Default.conf file.

Postby Raptor399 » Mon Aug 22, 2011 7:33 pm

I have did some research and committed a fresh PS3.conf in r810.
Should be far more user friendly now, plus I added some hints on how to construct a fresh configuration.
Let me know what you think - and apologies for choosing to skip your hard work! :-)
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Request for User Friendly Default.conf file.

Postby DeFlanko » Tue Aug 23, 2011 3:06 pm

Raptor399 wrote:I have did some research and committed a fresh PS3.conf in r810.
Should be far more user friendly now, plus I added some hints on how to construct a fresh configuration.
Let me know what you think - and apologies for choosing to skip your hard work! :-)


I love it, WAY more detail than before, when i get time ill re update the list of uploaded files....

i was also thinking maybe the MIME's should be next to the file extensions for a quicker reference for the MediaInfo part...

Or at the least a web link to a list of known good MIME's... what do you think.
Developed a few CONF files...
DeFlanko
 
Posts: 111
Joined: Sat Dec 05, 2009 6:49 pm
Location: San Pedro, CA

Re: Request for User Friendly Default.conf file.

Postby Raptor399 » Tue Aug 23, 2011 6:29 pm

DeFlanko wrote:
Raptor399 wrote:I have did some research and committed a fresh PS3.conf in r810.
Should be far more user friendly now, plus I added some hints on how to construct a fresh configuration.
Let me know what you think - and apologies for choosing to skip your hard work! :-)


I love it, WAY more detail than before, when i get time ill re update the list of uploaded files....

i was also thinking maybe the MIME's should be next to the file extensions for a quicker reference for the MediaInfo part...

Or at the least a web link to a list of known good MIME's... what do you think.

If you know a good link, sure, it wouldn't hurt to put it there at all. Good suggestion.

If you are going to change all files, please put submit them all in one big zipfile.
Would save me a lot of work saving, renaming, unzipping etc. ;-)

I have tailored the texts especially so that there shouldn't be many renderer specific spots in the descriptions.
So what I would do is make a copy of "PS3.conf" and run by all options one by one, changing them as needed. I think that's fastest.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Request for User Friendly Default.conf file.

Postby DeFlanko » Tue Aug 23, 2011 9:47 pm

Mime List
Another wierd list of MIME types
Wikipedia is a good source too...

Please review to see if its accurate for our needs: (I could not find TrueHD or WavPac)
Code: Select all
#-----------------------------------------------------------------------------
# PS3 Media Server renderer configuration profile for PlayStation 3
# DO NOT MODIFY THIS (OR AT YOUR OWN RISK)
#
# This configuration profile serves two purposes:
#
#   - Allow PMS to recognize a specific connecting renderer
#   - Define the possibilities of that renderer
#

#-----------------------------------------------------------------------------
# RENDERER INFORMATION
#

# RendererName: Determines the name that is displayed in the PMS user
# interface when this renderer connects.
RendererName = Playstation 3

# RendererIcon: Determines the icon that is displayed in the PMS user
# interface when this renderer connects. Icons have to be resources available
# to pms.jar.
RendererIcon = ps3.png


#-----------------------------------------------------------------------------
# RENDERER RECOGNITION
#
# When a renderer connects, it sends a "User-Agent" header. PMS tries to
# match that header with all configuration profiles. If none of the profiles
# matches, the message "Unknown User-Agent:" will be displayed in the logs and
# PMS will switch to a default profile.
#
# Because matching involves all renderer configuration profiles, it is
# important to match as long a string as possible. This increases the chances
# that a match is unique. Version numbers are best avoided.
#
# To learn the exact headers of any renderer, set the logging level in
# "logback.xml" to "TRACE" and look for messages like "Received on socket:".
#
# ============================================================================
# PlayStation 3 uses the following strings:
#
# User-Agent: PLAYSTATION 3
# ---
# User-Agent: UPnP/1.0
# X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
# ---
# User-Agent: UPnP/1.0 DLNADOC/1.50
# X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
# ============================================================================
#

# UserAgentSearch: Optional regular expression to detect a connected renderer.
# The expression is case insensitive. Note that one renderer can use several
# different User-Agent headers.
#
# Examples:
#
# UserAgentSearch = Platinum/.*DLNADOC/|yxplayer2|MPlayer |NSPlayer/
# UserAgentSearch = Windows-Media-Player-DMS|Microsoft-Windows
#
# Ignoring the "UPnP/1.0" and "UPnP/1.0 DLNADOC/1.50" headers since they are
# too general, plus they can be detected from the additional header.
UserAgentSearch = PLAYSTATION

# UserAgentAdditionalHeader: Optional additional HTTP header for better
# detection. When defined, PMS also considers this header when trying to find
# a match. Even when the standard UserAgentSearch match fails, this extra
# header can provide a positive match.
UserAgentAdditionalHeader = X-AV-Client-Info

# UserAgentAdditionalHeaderSearch: Regular expression to search for in the
# additional HTTP header.
UserAgentAdditionalHeaderSearch = PLAYSTATION


#-----------------------------------------------------------------------------
# BASIC CAPABILITIES
#
# This indicates to PMS what kind of media the renderer can handle. Files that
# the renderer cannot handle will be hidden from it.
#

# Video: Set to "true" if the renderer can play video.
Video = true

# Audio: Set to "true" if the renderer can play audio.
Audio = true

# Image: Set to "true" if the renderer can display images.
Image = true


#-----------------------------------------------------------------------------
# DLNA SETTINGS
#

# SeekByTime: Set to true to use the DLNA feature seek by time instead of by
# range.
SeekByTime = true

# DLNALocalizationRequired: Serve different flavors of localization in the
# DLNA parameters (PAL/NTSC, NA/EU/JP) to allow every world wide renderer to
# see the files. Important for Sony Bravia's TVs.
DLNALocalizationRequired = false


#-----------------------------------------------------------------------------
# MEDIAINFO
#

# MediaInfo: Set to "true" if PMS should parse files with MediaInfo. This will
# give PMS more accurate information, speed up browsing and prevent potential
# playback errors. It also enables the use of "Supported" to more accurately
# define the supported formats for the renderer. 
MediaInfo = true

# CreateDLNATreeFaster: Use faster method to create the DLNA tree using the
# MediaInfo library. Since this is a UPnP specification violation, it is not
# supported by some renderers and false by default.
CreateDLNATreeFaster = true


#-----------------------------------------------------------------------------
# TRANSCODING AND MUXING CAPABILITIES
#
# It is very likely that a renderer cannot render all file formats. If this is
# the case, PMS should transcode or mux the file to a format that the renderer
# can display. This section defines the format that PMS should transcode or
# mux to.
#

# TranscodeVideo: Codec to use for video transcoding.
# Currently supported: "MPEGAC3", "MPEGTSAC3" or "WMV".
TranscodeVideo = MPEGAC3

# TranscodeAudio: Codec to use for audio transcoding.
# Currently supported: "LPCM", "MP3" or "WAV".
TranscodeAudio = WAV

# DefaultVBVBufSize: Whether or not to use the default DVD buffer size. Setting
# this to "false" means a greater bit rate and faster encoding, but it can
# generate incompatible videos dependent on the renderer.
DefaultVBVBufSize = false

# MuxH264ToMpegTS: Set to "true" if the media renderer supports H264 and MPEG2
# in a MPEGTS file. Ignored if MediaInfo = true.
MuxH264ToMpegTS = true

# MuxDTSToMpeg: Set to "true" if the media renderer supports DTS in a MPEG
# file. Ignored if MediaInfo = true.
MuxDTSToMpeg = false

# WrapDTSIntoPCM: Set to "true" if the media renderer supports DTS wrapped
# into LPCM in a MPEG file.
WrapDTSIntoPCM = true

# MuxLPCMToMpeg: Set to "true" if the media renderer supports LPCM in a MPEG
# file. Ignored if MediaInfo = true.
MuxLPCMToMpeg = true

# MaxVideoBitrateMbps: The maximum bit rate supported by the media renderer.
# Setting to "0" means unlimited.
MaxVideoBitrateMbps = 0

# MaxVideoWidth: Maximum width supported by the media renderer. Setting to "0"
# means unlimited. This setting is ignored for files matching "Supported"
# formats when MediaInfo = true.
MaxVideoWidth = 1920

# MaxVideoHeight: Maximum height supported by the media renderer. Setting to
# "0" means unlimited. This setting is ignored for files matching "Supported"
# formats when MediaInfo = true.
MaxVideoHeight = 1080

# H264Level41Limited: Set to "true" if the media renderer supports only H264
# L4.1 at most.
H264Level41Limited = true

# TranscodeAudioTo441kHz: Set to "true" if music files need to be resampled at
# 44.1kHz.
TranscodeAudioTo441kHz = false

# TranscodeFastStart: Set to "true" if the renderer has a short timeout delay
# and needs to receive transcoded video with minimal delay. If set to "false",
# PMS will take some time to buffer some of the transcoded video.
TranscodeFastStart = false

# TranscodedVideoFileSize: The amount of transcoded data is unknown at the
# time of transcoding. Still, some renderers expect a size for the video file
# to be returned. Possible values are:
#     0: No size is sent to the renderer (default value)
# 100000000000: Fake size of 100 GB is sent to the renderer.
#    -1: Specific value that works perfect for the PS3. It is against
# the DLNA spec though.
TranscodedVideoFileSize = -1

# MimeTypesChanges: A list of mimetype transformations in the format
# "old/mime1=new/mime1|old/mime2=new/mime2|...". Ignored if MediaInfo = true.
MimeTypesChanges = video/avi=video/x-divx

# TranscodeExtensions: Comma separated list of file extensions that are forced
# to be transcoded and never streamed. Best left empty if MediaInfo = true,
# and define "Supported" formats instead.
TranscodeExtensions =

# StreamExtensions: Comma separated list of file extensions that are forced
# to be streamed and never transcoded. Best left empty if MediaInfo = true,
# and define "Supported" formats instead.
StreamExtensions =


#-----------------------------------------------------------------------------
# IMAGES
#

# AutoExifRotate: Many cameras store information in the image file about the
# orientation of the camera while the picture was taken, allowing viewers to
# know which way was up. Set this option to "true" to allow PMS to rotate JPEG
# files based on EXIF information contained in the file, and relieve the
# renderer of that task.
AutoExifRotate = true


#-----------------------------------------------------------------------------
# SUPPORTED MEDIA FORMATS
#
# This section defines which media formats are supported by this renderer. If
# a file is supported and its mediainfo indicates that it falls within the
# capabilities of this renderer, PMS will stream the file to the renderer. All
# other files will be transcoded before being sent to the renderer.
#
# Each format that the renderer supports should result in a "Supported" line
# that defines the capabilities of the renderer. When MediaInfo = true, media
# files are parsed and their properties are matched against all "Supported"
# lines. If a value for a specific property cannot be parsed, that property
# is assumed to match.
#
# The order of the "Supported" lines matters: when multiple lines match, the
# first match is used.
#
# The media parser and this configuration file will recognize the following
# formats and codecs. Use lower case names only, regular expressions are
# supported. These are chosen from the most commonly used supported formats
# and codecs:
#
# mpegps   video/MP2P|video/MP1S                              (MPEG presentation stream, used in DVD Videos, VCDs, etc.)
# mpegts   video/MP2T                                 (MPEG transport stream, used in sat TV, blu-rays, etc.)
# wmv      video/x-ms-wmv                                 (Windows Media Video, tag also used for asf files)
# avi      video/avi|video/msvideo|video/x-msvideo                        (AVI container)
# mp4      video/mp4|audio/mp4|application/mp4                        (ISOM/MPEG4 container, or MPEG4 codec)
# mov      video/quicktime                                 (Quicktime container, Apple)
# flv      video/x-flv|video/mp4|video/x-m4v|audio/mp4a-latm|video/3gpp|video/quicktime|audio/mp4      (Flash Video)
# rm      audio/x-pn-realaudio                              (Real Media, RMVB)
# mkv      video/x-matroska|audio/x-matroska                        (Matroska)
# wav      audio/wav|audio/x-wav                              (WAVE file)
# wavpac      (WavPack)
# lpcm      audio/L16|audio/L8|audio/L20|audio/L24                        (Linear PCM)
# aac      audio/aac|audio/aacp|audio/3gpp|audio/3gpp2|audio/mp4|audio/MP4A-LATM|audio/mpeg4-generic   (Advanced Audio Codec)
# ac3      audio/ac3                                 (Audio Coding 3)
# mp3      audio/mpeg3|audio/x-mpeg-3|video/mpeg|video/x-mpeg                  (Mpeg Audio Layer 3)
# mpa      audio/mpeg|video/mpeg                              (Mpeg Audio)
# ogg      video/ogg|audio/ogg|application/ogg                        (Ogg Vorbis)
# wma      audio/x-ms-wma                                 (Windows Media Audio)
# dts      audio/vnd.dts                                 (Digital Theater Systems)
# dtshd      audio/vnd.dts.hd                              (Digital Theater Systems)
# truehd      (TrueHD)
# eac3      audio/eac3                                 (Extended AC3)
# atrac      audio/x-oma                                 (Atrac)
# flac      audio/x-flac                                 (Free Lossless Audio Codec)
# ape      audio/x-monkeys-audio                              (Monkey's Audio)
# ra      audio/x-pn-realaudio|audio/x-pn-realaudio-plugin|audio/x-realaudio            (Real Audio)
# mpc      application/x-project                              (MusePack)
# aiff      audio/aiff|audio/x-aiff                              (AIFF)
# alac      audio/m4a                                 (Apple Lossless)
# dv      video/x-dv                                 (Digital Video)
# mpeg1      video/mpeg                                 (Codec used in VCD)
# mpeg2      video/mpeg                                 (Codec used in DVD Videos and HDTV)
# divx      video/divx                                    (DivX Video)
# h264      video/x-mpeg-avc                              (H264)
# mjpeg      video/mjpeg                                 (M-JPEG)
# vc1      video/vc1                                 (VC-1)
# jpg      image/jpeg|image/pjpeg                              (JPEG)
# png      image/png                                 (PNG)
# gif      image/gif                                 (GIF)
# tiff      image/tiff|image/x-tiff                              (TIFF)
# bmp      image/bmp|image/x-windows-bmp                           (Bitmap)
# und      (Undetermined, if the parser did not recognize one of above)
#
# Each of the "Supported" lines contains the following parameters separated by
# spaces or tabs:
#
#    f:    Regular expression to match the format of a file as parsed by the
#   MediaInfo library (see the list above). This parameter is mandatory.
#   Be careful when matching everything with ".+", the renderer must be
#   able to handle all formats.
#
#    v:    Regular expression to match the video codec of the file as parsed by
#   the MediaInfo library (see the list above).
#
#    a:    Regular expression to match the audio codec of the file as parsed by
#   the MediaInfo library (see the list above).
#
#    m:    The mime type to send to the renderer. Use of this parameter is
#   strongly recommended. If it is not set, an estimated value will be
#   assigned.
#
#    n:    The maximum number of audio channels used in the file as parsed by
#   the MediaInfo library.
#
#    s:    The maximum audio sample frequency used in the file as parsed by
#   the MediaInfo library, specified in Hertz.
#
#    b:    The maximum audio bit rate used in the file as parsed by the
#   MediaInfo library, specified in bits per second.
#
#    w:    The maximum video width used in the file as parsed by the MediaInfo
#   library, specified in pixels.
#
#    h:    The maximum video height used in the file as parsed by the MediaInfo
#   library, specified in pixels.
#
#    qpel: Quarter pixel codec setting in the file as parsed by the MediaInfo
#   library.
#
#    gmc:  The number of global motion compensation warp points in the file as
#   parsed by the MediaInfo library.
#
#
# ============================================================================
# Taken from the PlayStation site:
#
#    The following types of files can be played under  (Video).
#    Memory Stick Video Format
#    - MPEG-4 SP (AAC LC)
#    - H.264/MPEG-4 AVC High Profile (AAC LC)
#    - MPEG-2 TS(H.264/MPEG-4 AVC, AAC LC)
#    MP4 file format
#    - H.264/MPEG-4 AVC High Profile (AAC LC)
#    MPEG-1 (MPEG Audio Layer 2)
#    MPEG-2 PS (MPEG2 Audio Layer 2, AAC LC, AC3(Dolby Digital), LPCM)
#    MPEG-2 TS (MPEG2 Audio Layer 2, AC3(Dolby Digital), AAC LC)
#    MPEG-2 TS (H.264/MPEG-4 AVC, AAC LC)
#    AVI
#    - Motion JPEG (Linear PCM)
#    - Motion JPEG (mu-Law)
#    AVCHD (.m2ts / .mts)
#    DivX
#    WMV
#    - VC-1(WMA Standard V2)
# ============================================================================
#

# [Supported video formats]:
# Here we declare support (or lack) of DTS (here, none of the entries declare
# DTS as a supported audio codec)
Supported = f:mpegps|mpegts    v:mpeg1|mpeg2|mp4|h264    a:ac3|lpcm|aac|mpa   m:video/mpeg
# No H264 for AVI files, plus specific mediainfo attributes, for better auto
# detection (qpel and gmc are not supported here)
Supported = f:avi|divx    v:mp4|divx|mjpeg   a:mp3|lpcm|mpa|ac3   m:video/x-divx   qpel:no   gmc:0
Supported = f:mp4    v:mp4|h264   a:ac3|aac   m:video/mp4
# WMV files are supported, but not with 5.1 audio: (hence the n:2)
Supported = f:wmv    v:wmv|vc1   a:wma   n:2   m:video/x-ms-wmv

# [Supported audio formats]:
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
# Apple lossless not supported
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 image formats]
Supported = f:jpg   m:image/jpeg
Supported = f:png   m:image/png
Supported = f:gif   m:image/gif
Supported = f:tiff   m:image/tiff

#-----------------------------------------------------------------------------



If i get time tonight ill work on the CONF files.
Developed a few CONF files...
DeFlanko
 
Posts: 111
Joined: Sat Dec 05, 2009 6:49 pm
Location: San Pedro, CA

Previous

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 5 guests