This configuration should allow to play media with minimum settings (no HD, no DTS, etc.), only SD MPEG2 video, MP3 Adudio and JPEG pictures, . This file would be a starting point, while adding a new renderer with more complex parameters.
Proposed default.conf file:
- Code: Select all
#------------------------------------------------------------
# ps3mediaserver profile for unknown renderers
# DO NOT MODIFY THIS (OR AT YOUR OWN RISK)
#------------------------------------------------------------
# General informations / detection
RendererName=Unknown
#RendererIcon=
#UserAgent: regular expression to detect the connected renderer
#UserAgentSearch=
#UserAgentAdditionalHeaders: additional http header for better detection
#UserAgentAdditionalHeader=X-AV-Client-Info
#UserAgentAdditionalHeaderSearch=
#Basic capabilities
Video=true
Audio=true
Image=true
#------------------------------------------------------------
# DLNA settings
#Use the DLNA feature seek by time and not by range
SeekByTime=false
#Serve different flavors of localization in the DLNA parameters (PAL/NTSC, NA/EU/JP)
#to allow every worldwide renderer to see the files. Important for Sony Bravia's TVs
DLNALocalizationRequired=false
#------------------------------------------------------------
# Transcoding/Muxing capabilities
#
#Transcode codecs for video and audio engines
#currently supported: MPEGAC3, MPEGTSAC3 or WMV for video, LPCM, WAV or MP3 for audio
TranscodeVideo=MPEGAC3
TranscodeAudio=MP3
#Use default DVD buffer size: false = greater bitrate and faster encoding,
#but can generate incompatible videos, depends of your media renderer
DefaultVBVBufSize=false
#Muxing capabilities: Does the media renderer supports H264 and MPEG2 in a mpegts file ?
#Deprecated if MediaInfo=true
#MuxH264ToMpegTS=true
#Does the media renderer supports DTS in a mpeg file ?
#Deprecated if MediaInfo=true
#MuxDTSToMpeg=false
#Does the media renderer supports DTS wrapped into LPCM in a mpeg file ?
WrapDTSIntoPCM=false
#Does the media renderer supports LPCM in a mpeg file ?
#Deprecated if MediaInfo=true
#MuxLPCMToMpeg=true
#Maximum bitrate supported by the media renderer (0=unlimited)
MaxVideoBitrateMbps=10
#Max Width and Height supported by the media renderer (0=unlimited)
MaxVideoWidth=760
MaxVideoHeight=576
#Does the media renderer supports only H264 L4.1 at most ?
H264Level41Limited=true
#Does music files need to be resampled at 44.1kHz?
TranscodeAudioTo441kHz=false
#Does the client need to receive transcoded video with minimal delay ? (Useful when the client has a small timeout delay)
TranscodeFastStart=true
#Size of the transcoded file (unknown length) sent to the renderer (could determine browsing failure/success)
#Possible values:
# -1: Specific value working with the PS3, means perfect transcoding and copying support (it's against the dlna spec though)
# 0: size attribute is NOT sent to the renderer (defaut value if this parameter isn't used)
# 100000000000: 100Gb, if you want to be sure that the media file is not cutted before the end ?
TranscodedVideoFileSize=0
#-----------------------------------------------------------
# Misc Images
#Rotate Jpeg files based on EXIF infos
AutoExifRotate=true
#------------------------------------------------------------
# Misc Files
# Mime types transforms (oldmime=newmime|olemime2=newmime2|...)
# Deprecated if MediaInfo=true
#MimeTypesChanges=video/avi=video/x-divx
# What extensions are forcefully transcoded
# Don't use this if MediaInfo=true, prefer codec configurations
#TranscodeExtensions=
# What extensions are forcefully streamed as is (and not transcoded)
# Don't use this if MediaInfo=true, prefer codec configurations
#StreamExtensions=
# ===========================================================================
# All supported media formats of this renderer (the rest will be transcoded)
# First steps towards a faster/proper file/codec/mimetype management system (false by default)
# 1- Parse files with mediainfo on Windows/OSX (Linux too if libmediainfo and libzen installed)
# 2- Deprecate following parameters: MuxH264ToMpegTS,MuxDTSToMpeg,MuxLPCMToMpeg,MimeTypesChanges
# 3- The server will skip badly parsed, corrupted files or wrong coding, preventing potential playback errors
# 4- Faster browsing, due to the launch of ffmpeg/mplayer first thumbnailer process with each http client request, rather than in the browse DLNA request
MediaInfo=true
# The media parser and this configuration file will recognize the following formats/codecs (lowercase only, regex supported):
# Chosen from the most common used and supported formats/codecs (no need to manage ADPCM, nobody cares)
# mpegps (mpeg presentation stream, used in DVD Videos, VCDs, etc.)
# mpegts (mpeg transport stream, used in sat tv, blu rays, etc.)
# wmv (Windows Media Video, tag also used for asf files)
# avi (AVI container)
# mp4 (ISOM/MPEG4 container, or MPEG4 codec)
# mov (Quicktime container, Apple)
# flv (Flash Video)
# rm (Real Media, RMVB)
# mkv (Matroska)
# wav (WAVE file)
# wavpac (WavPack)
# lpcm (Linear PCM)
# aac (Advanced Audio Codec)
# ac3 (Audio Coding 3)
# mp3 (Mpeg Audio Layer 3)
# mpa (Mpeg Audio)
# ogg (Ogg Vorbis)
# wma (Windows Media Audio)
# dts (Digital Theater Systems)
# dtshd (Digital Theater Systems)
# truehd (TrueHD)
# eac3 (Extended AC3)
# atrac (Atrac)
# flac (Free Lossless Audio Codec)
# ape (Monkey's Audio)
# ra (Real Audio)
# mpc (MusePack)
# aiff (AIFF)
# alac (Apple Lossless)
# dv (Digital Video)
# mpeg1 (Codec used in VCD)
# mpeg2 (Codec used in DVD Videos and HDTV)
# divx (DivX Video)
# h264 (H264)
# mjpeg (M-JPEG)
# vc1 (VC-1)
# jpg (Jpeg)
# png (PNG)
# gif (GIF)
# tiff (TIFF)
# bmp (Bitmap)
# und (Undetermined, if the parser did not recognize one of above)
# Usage:
# f: format, MANDATORY (the only conf for a 'eat everything' renderer would be f:.+)
# m: mimetype, STRONGLY RECOMMENDED (if not declared, an estimated value is assigned)
# v: video codec
# a: audio codec
# n: max nb of audio channels
# s: max audio sample frequency in Hz
# b: max audio bitrate in bps
# w: max width in pixels
# h: max height in pixels
# other flags: right now, only qpel and gmc (see avi)
# In case of multiple matches, the first mime type of the list is the used one.
# Be careful with regexps such as .+ : You shouldn't use these only if you're sure your renderer is quite versatile
# [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 v:mpeg2 a:ac3 m:video/mpeg
# [Supported audio formats]:
Supported = f:mp3 n:2 m:audio/mpeg
# [Supported image formats]
Supported = f:jpg m:image/jpeg
# ===========================================================================
