Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 15th, 2013  |  syntax: None  |  size: 20.92 KB  |  views: 133  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #-----------------------------------------------------------------------------
  2. # PS3 Media Server renderer configuration profile for PlayStation 3
  3. # DO NOT MODIFY THIS (OR AT YOUR OWN RISK)
  4. #
  5. # This configuration profile serves two purposes:
  6. #
  7. #   - Allow PMS to recognize a specific connecting renderer
  8. #   - Define the possibilities of that renderer
  9. #
  10.  
  11. #-----------------------------------------------------------------------------
  12. # RENDERER INFORMATION
  13. #
  14.  
  15. # RendererName: Determines the name that is displayed in the PMS user
  16. # interface when this renderer connects.
  17. RendererName = Fbx Chambre
  18.  
  19. # RendererIcon: Determines the icon that is displayed in the PMS user
  20. # interface when this renderer connects. By default, these icons are
  21. # bundled with PMS in pms.jar, but they can easily be customised:
  22. # http://www.ps3mediaserver.org/forum/viewtopic.php?f=6&t=3507&p=49536#p49536
  23. RendererIcon=freeboxhd.png
  24.  
  25. #-----------------------------------------------------------------------------
  26. # RENDERER RECOGNITION
  27. #
  28. # When a renderer connects, it sends a "User-Agent" header. PMS tries to
  29. # match that header with all configuration profiles. If none of the profiles
  30. # matches, the message "Unknown User-Agent:" will be displayed in the logs and
  31. # PMS will switch to a default profile.
  32. #
  33. # Because matching involves all renderer configuration profiles, it is
  34. # important to match as long a string as possible. This increases the chances
  35. # that a match is unique. Version numbers are best avoided.
  36. #
  37. # To learn the exact headers of any renderer, set the logging level in
  38. # "logback.xml" to "TRACE" and look for messages like "Received on socket:".
  39. #
  40. # ============================================================================
  41. # PlayStation 3 uses the following strings:
  42. #
  43. # User-Agent: PLAYSTATION 3
  44. # ---
  45. # User-Agent: UPnP/1.0
  46. # X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
  47. # ---
  48. # User-Agent: UPnP/1.0 DLNADOC/1.50
  49. # X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
  50. # ============================================================================
  51. #
  52.  
  53. # UserAgentSearch: Optional regular expression to detect a connected renderer.
  54. # The expression is case insensitive. When the expression is empty User-Agent
  55. # headers are not used, this is the default. Note that one renderer can use
  56. # several different User-Agent headers.
  57. #
  58. # Examples:
  59. #
  60. # UserAgentSearch = Platinum/.*DLNADOC/|yxplayer2|MPlayer |NSPlayer/
  61. # UserAgentSearch = Windows-Media-Player-DMS|Microsoft-Windows
  62. #
  63. # Ignoring the "UPnP/1.0" and "UPnP/1.0 DLNADOC/1.50" headers since they are
  64. # too general, plus they can be detected from the additional header.
  65. UserAgentSearch=fbxupnpav|libfbxhttp
  66.  
  67. # UserAgentAdditionalHeader: Optional additional HTTP header for better
  68. # detection. When defined, PMS also considers this header when trying to find
  69. # a match. Even when the standard UserAgentSearch match fails, this extra
  70. # header can provide a positive match.
  71. UserAgentAdditionalHeader = X-AV-Client-Info
  72.  
  73. # UserAgentAdditionalHeaderSearch: Regular expression to search for in the
  74. # additional HTTP header.
  75. #UserAgentAdditionalHeaderSearch = PLAYSTATION
  76.  
  77. #-----------------------------------------------------------------------------
  78. # BASIC CAPABILITIES
  79. #
  80. # This indicates to PMS what kind of media the renderer can handle. Files that
  81. # the renderer cannot handle will be hidden from it.
  82. #
  83.  
  84. # Video: Set to "true" if the renderer can play video.
  85. Video = true
  86.  
  87. # Audio: Set to "true" if the renderer can play audio.
  88. Audio = true
  89.  
  90. # Image: Set to "true" if the renderer can display images.
  91. Image = true
  92.  
  93. # LongFileNameFormat: Determines how media file names in the regular folders
  94. # are formatted. The formatting string may contain several tokens, which will
  95. # be replaced by their respective values. If a token cannot be meaningfully
  96. # replaced, it (and its optional surrounding braces) will not be displayed.
  97. #
  98. # The following tokens can be used:
  99. #
  100. #    %A       Audio language full name (e.g. "Japanese")
  101. #    %a       Audio language short name (e.g. "jp")
  102. #    %b       Audio flavor (e.g. "ac3 5.1 @ 640 kbps")
  103. #    %c       Audio codec (e.g. "AC3")
  104. #    %d       DVD track duration (e.g. "3:27:15")
  105. #    %E       Engine full name (e.g. "FFmpeg Web Video")
  106. #    %e       Engine short name (e.g. "FFWV")
  107. #    %F       File name with extension (e.g. "Big_Buck_Bunny.mov")
  108. #    %f       File name without extension (e.g. "Bug_Buck_Bunny")
  109. #    %S       Subtitle language full name (e.g. "English")
  110. #    %s       Subtitle language short name (e.g. "en")
  111. #    %t       Subtitle type (e.g. "Timed text")
  112. #    %u       Subtitle flavor (e.g. "TX3G")
  113. #    %x       External subtitles ("External Subtitles")
  114. #
  115. # Default value is "%F - %d [%E] {%x} {Sub: %t/%S (%u)}".
  116.  
  117. # LongFileNameFormat = %F - %d [%E] {%x} {Sub: %t/%S (%u)}
  118.  
  119. # ShortFileNameFormat: Determines how media file names in the transcoding
  120. # virtual folder are formatted. See LongFileNameFormat for the tokens that
  121. # can be used.
  122. # Default value is "[%E] {Audio: %c/%A (%b)} {Sub: %t/%S (%u)}".
  123.  
  124. # ShortFileNameFormat = [%E] {Audio: %c/%A (%b)} {Sub: %t/%S (%u)}
  125.  
  126. #-----------------------------------------------------------------------------
  127. # DLNA SETTINGS
  128. #
  129.  
  130. # SeekByTime: Set to true to use the DLNA feature seek by time instead of by
  131. # range.
  132. SeekByTime = true
  133.  
  134. # DLNALocalizationRequired: Serve different flavors of localization in the
  135. # DLNA parameters (PAL/NTSC, NA/EU/JP) to allow every world wide renderer to
  136. # see the files. Important for Sony Bravia TVs.
  137. DLNALocalizationRequired = false
  138.  
  139. # CBRVideoBitrate is useful for renderers without SeekByTime support. It does time2byte conversion to support FF/RW.
  140. # Only possibility how to predict where we are when seeking is using CBR bitrate instead of VBR used by default
  141. # Making CBR stream by MEnocder is 3 times slower than using VBR so count with it if you have poor computer!
  142. # Speed can be hopefully optimized little bit in the future:
  143. # http://www.ps3mediaserver.org/forum/viewtopic.php?f=14&t=8883&p=53706&hilit=ditlew#p53700
  144. # http://www.ps3mediaserver.org/forum/viewtopic.php?f=11&t=11284&p=62765&hilit=1835#p62765
  145. # CBRVideoBitrate=15000
  146.  
  147. # ByteToTimeseekRewindSeconds is used for finetuning so default is 0
  148. # ByteToTimeseekRewindSeconds=0
  149.  
  150. #-----------------------------------------------------------------------------
  151. # MEDIAINFO
  152. #
  153.  
  154. # MediaInfo: Set to "true" if PMS should parse files with MediaInfo. This will
  155. # give PMS more accurate information, speed up browsing and prevent potential
  156. # playback errors. It also enables the use of "Supported" to more accurately
  157. # define the supported formats for the renderer.
  158. MediaInfo = true
  159.  
  160. # CreateDLNATreeFaster: Use faster method to create the DLNA tree using the
  161. # MediaInfo library. Since this is a UPnP specification violation, it is not
  162. # supported by some renderers and false by default.
  163. CreateDLNATreeFaster = true
  164.  
  165. #-----------------------------------------------------------------------------
  166. # TRANSCODING AND MUXING CAPABILITIES
  167. #
  168. # It is very likely that a renderer cannot render all file formats. If this is
  169. # the case, PMS should transcode or mux the file to a format that the renderer
  170. # can display. This section defines the format that PMS should transcode or
  171. # mux to.
  172. #
  173.  
  174. # TranscodeVideo: Profile to use for video transcoding.
  175. # One of the following:
  176. #
  177. #     MPEGPSAC3: MPEG-2 video, AC-3 audio, MPEG-PS container
  178. #     MPEGTSAC3: MPEG-2 video, AC-3 audio, MPEG-TS container
  179. #     WMV:       WMV2 video, WMA2 audio, ASF container
  180. #
  181. # XXX MPEGPSAC3 was previously named MPEGAC3. The old name is deprecated.
  182. # XXX Currently only the MEncoder engine supports all 3 profiles.
  183. # Other engines transcode video to the MPEGPSAC3 profile,
  184. # regardless of this setting.
  185. #
  186. # The default value is MPEGPSAC3.
  187. TranscodeVideo = MPEGPSAC3
  188.  
  189. # TranscodeAudio: Profile to use for audio transcoding.
  190. # Currently supported: "LPCM", "MP3" or "WAV".
  191. # Default: LPCM
  192. TranscodeAudio = WAV
  193.  
  194. # DefaultVBVBufSize: Whether or not to use the default DVD buffer size. Setting
  195. # this to "false" means a greater bit rate and faster encoding, but it can
  196. # generate incompatible videos dependent on the renderer.
  197. DefaultVBVBufSize = false
  198.  
  199. # MuxH264ToMpegTS: Set to "true" if the media renderer supports H264 and MPEG2
  200. # in a MPEGTS file. Ignored if MediaInfo = true.
  201. MuxH264ToMpegTS = true
  202.  
  203. # MuxDTSToMpeg: Set to "true" if the media renderer supports DTS in a MPEG
  204. # file. Ignored if MediaInfo = true.
  205. MuxDTSToMpeg = false
  206.  
  207. # WrapDTSIntoPCM: Set to "true" if the media renderer supports DTS wrapped
  208. # into LPCM in a MPEG file.
  209. WrapDTSIntoPCM = true
  210.  
  211. # MuxLPCMToMpeg: Set to "true" if the media renderer supports LPCM in a MPEG
  212. # file. Ignored if MediaInfo = true.
  213. MuxLPCMToMpeg = true
  214.  
  215. # MaxVideoBitrateMbps: The maximum bit rate supported by the media renderer.
  216. # Setting to "0" means unlimited.
  217. # If computer is low on resources it is better to avoid using bandwidth limit which is much CPU demanding
  218. # It is better to lower quality settings by defining "CustomMencoderQualitySettings".
  219. # By lowering quality also bitrate is decreased but it is not so CPU aggresive so it is preferred to use it this way
  220. MaxVideoBitrateMbps = 0
  221.  
  222. # MaxVideoWidth: Maximum width supported by the media renderer. Setting to "0"
  223. # means unlimited. This setting is ignored for files matching "Supported"
  224. # formats when MediaInfo = true.
  225. MaxVideoWidth = 1920
  226.  
  227. # MaxVideoHeight: Maximum height supported by the media renderer. Setting to
  228. # "0" means unlimited. This setting is ignored for files matching "Supported"
  229. # formats when MediaInfo = true.
  230. MaxVideoHeight = 1080
  231.  
  232. # H264Level41Limited: Set to "true" if the media renderer supports only H264
  233. # L4.1 at most.
  234. H264Level41Limited = true
  235.  
  236. # TranscodeAudioTo441kHz: Set to "true" if music files need to be resampled at
  237. # 44.1kHz.
  238. TranscodeAudioTo441kHz = false
  239.  
  240. # TranscodeFastStart: Set to "true" if the renderer has a short timeout delay
  241. # and needs to receive transcoded video with minimal delay. If set to "false",
  242. # PMS will take some time to buffer some of the transcoded video.
  243. TranscodeFastStart = true
  244.  
  245. # TranscodedVideoFileSize: The amount of transcoded data is unknown at the
  246. # time of transcoding. Still, some renderers expect a size for the video file
  247. # to be returned. Possible values are:
  248. #            0: No size is sent to the renderer (default value)
  249. # 100000000000: Fake size of 100 GB is sent to the renderer.
  250. #           -1: Specific value that works perfect for the PS3. It is against
  251. #               the DLNA spec though.
  252. TranscodedVideoFileSize = -1
  253.  
  254. # MimeTypesChanges: A list of mimetype transformations in the format
  255. # "old/mime1=new/mime1|old/mime2=new/mime2|...". Ignored if MediaInfo = true.
  256. MimeTypesChanges = video/avi=video/x-divx
  257.  
  258. # TranscodeExtensions: Comma separated list of file extensions that are forced
  259. # to be transcoded and never streamed. Best left empty if MediaInfo = true,
  260. # and define "Supported" formats instead.
  261. TranscodeExtensions =
  262.  
  263. # StreamExtensions: Comma separated list of file extensions that are forced
  264. # to be streamed and never transcoded. Best left empty if MediaInfo = true,
  265. # and define "Supported" formats instead.
  266. StreamExtensions =
  267.  
  268. # ForceJPGThumbnails: Some renderers require thumbnails to be represented as
  269. # JPEGs (JPEG_TN) in the DLNA directory XML (e.g. Sony Bravia TVs and Blu-ray
  270. # players). Set this to true to force PMS to use this representation. Note:
  271. # this has no effect on thumbnail file formats or content-type headers.
  272. ForceJPGThumbnails = false
  273.  
  274. # ChunkedTransfer: Some renderers are particular about the "Content-Length"
  275. # headers in requests (e.g. Sony Blu-ray players). By default, PMS will send
  276. # a "Content-Length" that refers to the total media size, even if the exact
  277. # length is unknown. Default value is false. Set this option to true to omit
  278. # sending a length when it is unknown.
  279. ChunkedTransfer = false
  280.  
  281. # CustomMencoderQualitySettings: Overrides the MEncoder transcoding quality
  282. # settings in PMS for this renderer. Default is empty, which means the PMS
  283. # settings will be used.
  284. CustomMencoderQualitySettings =
  285.  
  286. # CustomMencoderOptions: Overrides the MEncoder custom options in PMS for
  287. # this renderer. Default is empty, which means the PMS
  288. # settings will be used.
  289. CustomMencoderOptions =
  290.  
  291. # SubtitleHttpHeader: Some devices recognize a custom HTTP header for
  292. # retrieving the contents of a subtitles file. Set this option to the name of
  293. # that custom header and PMS will send the URL for the subtitles file in that
  294. # header (e.g. Samsung devices recognize the "CaptionInfo.sec" header).
  295. # Default value is "", which means PMS will not send such header information.
  296. SubtitleHttpHeader =
  297.  
  298. #-----------------------------------------------------------------------------
  299. # Another useful hidden params and their default values if not defined:
  300. #
  301.  
  302. # Display audio tag in TRANSCODE folder if defined in container (useful to find out correct audio track like commentary etc.)
  303. # ShowAudioMetadata = true
  304.  
  305. # Display subtitle tag in TRANSCODE folder if defined in container (showing subtitles info like forced, full, documentary etc.)
  306. # ShowSubMetadata = true
  307.  
  308. # Some renderers can't show length of DVD titles so it will add it directly to title name to be shown
  309. # ShowDVDTitleDuration = false
  310.  
  311. # Specified extension will be added to every file shared by PMS
  312. # UseSameExtension = null
  313.  
  314. # ????????????????????????????
  315. # DLNAProfileChanges = null
  316.  
  317. # ????????????????????????????
  318. # DLNAOrgPN = true
  319.  
  320. # ????????????????????????????
  321. # MediaParserV2_ThumbnailGeneration = false
  322.  
  323. #-----------------------------------------------------------------------------
  324. # IMAGES
  325. #
  326.  
  327. # AutoExifRotate: Many cameras store information in the image file about the
  328. # orientation of the camera while the picture was taken, allowing viewers to
  329. # know which way was up. Set this option to "true" to allow PMS to rotate JPEG
  330. # files based on EXIF information contained in the file, and relieve the
  331. # renderer of that task.
  332. AutoExifRotate = true
  333.  
  334. #-----------------------------------------------------------------------------
  335. # SUPPORTED MEDIA FORMATS
  336. #
  337. # This section defines which media formats are supported by this renderer. If
  338. # a file is supported and its mediainfo indicates that it falls within the
  339. # capabilities of this renderer, PMS will stream the file to the renderer. All
  340. # other files will be transcoded before being sent to the renderer.
  341. #
  342. # Each format that the renderer supports should result in a "Supported" line
  343. # that defines the capabilities of the renderer. When MediaInfo = true, media
  344. # files are parsed and their properties are matched against all "Supported"
  345. # lines. If a value for a specific property cannot be parsed, that property
  346. # is assumed to match.
  347. #
  348. # The order of the "Supported" lines matters: when multiple lines match, the
  349. # first match is used.
  350. #
  351. # The media parser and this configuration file will recognize the following
  352. # formats and codecs. Use lower case names only. Regular expressions are
  353. # supported.
  354. #
  355. #        aac                (Advanced Audio Codec)
  356. #        ac3                (Audio Coding 3)
  357. #        aiff               (AIFF)
  358. #        alac               (Apple Lossless)
  359. #        ape                (Monkey's Audio)
  360. #        atrac              (Atrac)
  361. #        avi                (AVI container)
  362. #        bmp                (Bitmap)
  363. #        divx               (DivX Video)
  364. #        dts                (Digital Theater Systems)
  365. #        dtshd              (Digital Theater Systems)
  366. #        dv                 (Digital Video)
  367. #        eac3               (Extended AC3)
  368. #        flac               (Free Lossless Audio Codec)
  369. #        flv                (Flash Video)
  370. #        gif                (GIF)
  371. #        h264               (H.264)
  372. #        jpg                (JPEG)
  373. #        lpcm               (Linear PCM)
  374. #        mjpeg              (M-JPEG)
  375. #        mkv                (Matroska)
  376. #        mov                (Quicktime container, Apple)
  377. #        mp3                (MPEG Audio Layer 3)
  378. #        mp4                (ISOM/MPEG4 container, or MPEG4 codec)
  379. #        mpa                (MPEG Audio)
  380. #        mpc                (MusePack)
  381. #        mpeg1              (Codec used in VCD)
  382. #        mpeg2              (Codec used in DVD Videos and HDTV)
  383. #        mpegps             (MPEG presentation stream, used in DVD Videos, VCDs, etc.)
  384. #        mpegts             (MPEG transport stream, used in sat TV, Blu-ray discs (BDAV) etc.)
  385. #        ogg                (Ogg Vorbis)
  386. #        png                (PNG)
  387. #        ra                 (Real Audio)
  388. #        rm                 (Real Media, RMVB)
  389. #        tiff               (TIFF)
  390. #        truehd             (TrueHD)
  391. #        vc1                (VC-1)
  392. #        wavpac             (WavPack)
  393. #        wav                (WAVE file)
  394. #        wma                (Windows Media Audio)
  395. #        wmv                (Windows Media Video, tag also used for asf files)
  396. #
  397. #        und                (Undetermined, if the parser did not recognize one of above)
  398. #
  399. # Each of the "Supported" lines contains the following parameters separated by
  400. # spaces or tabs:
  401. #
  402. #    f:    Regular expression to match the format of a file as parsed by the
  403. #          MediaInfo library (see the list above). This parameter is mandatory.
  404. #          Be careful when matching everything with ".+"; the renderer must be
  405. #          able to handle all formats.
  406. #
  407. #    v:    Regular expression to match the video codec of the file as parsed by
  408. #          the MediaInfo library (see the list above).
  409. #
  410. #    a:    Regular expression to match the audio codec of the file as parsed by
  411. #          the MediaInfo library (see the list above).
  412. #
  413. #    m:    The MIME type to send to the renderer. Use of this parameter is
  414. #          strongly recommended. If it is not set, an estimated value will be
  415. #          assigned.
  416. #
  417. #    n:    The maximum number of audio channels used in the file as parsed by
  418. #          the MediaInfo library.
  419. #
  420. #    s:    The maximum audio sample frequency used in the file as parsed by
  421. #          the MediaInfo library, specified in Hertz.
  422. #
  423. #    b:    The maximum audio bit rate used in the file as parsed by the
  424. #          MediaInfo library, specified in bits per second.
  425. #
  426. #    w:    The maximum video width used in the file as parsed by the MediaInfo
  427. #          library, specified in pixels.
  428. #
  429. #    h:    The maximum video height used in the file as parsed by the MediaInfo
  430. #          library, specified in pixels.
  431. #
  432. #    qpel: Quarter pixel codec setting in the file as parsed by the MediaInfo
  433. #          library.
  434. #
  435. #    gmc:  The number of global motion compensation warp points in the file as
  436. #          parsed by the MediaInfo library.
  437. #
  438. #
  439. # ============================================================================
  440. # Taken from the PlayStation site:
  441. #
  442. #    The following types of files can be played under  (Video).
  443. #    Memory Stick Video Format
  444. #    - MPEG-4 SP (AAC LC)
  445. #    - H.264/MPEG-4 AVC High Profile (AAC LC)
  446. #    - MPEG-2 TS(H.264/MPEG-4 AVC, AAC LC)
  447. #    MP4 file format
  448. #    - H.264/MPEG-4 AVC High Profile (AAC LC)
  449. #    MPEG-1 (MPEG Audio Layer 2)
  450. #    MPEG-2 PS (MPEG2 Audio Layer 2, AAC LC, AC3(Dolby Digital), LPCM)
  451. #    MPEG-2 TS (MPEG2 Audio Layer 2, AC3(Dolby Digital), AAC LC)
  452. #    MPEG-2 TS (H.264/MPEG-4 AVC, AAC LC)
  453. #    AVI
  454. #    - Motion JPEG (Linear PCM)
  455. #    - Motion JPEG (mu-Law)
  456. #    AVCHD (.m2ts / .mts)
  457. #    DivX
  458. #    WMV
  459. #    - VC-1(WMA Standard V2)
  460. # ============================================================================
  461. #
  462.  
  463. # [Supported video formats]:
  464. # Here we declare support (or lack) of DTS (here, none of the entries declare
  465. # DTS as a supported audio codec)
  466. Supported = f:mpegps|mpegts    v:mpeg1|mpeg2|mp4|h264    a:ac3|lpcm|aac|mpa        m:video/mpeg
  467. # No H264 for AVI files, plus specific mediainfo attributes, for better auto
  468. # detection. gmc is not supported here.
  469. Supported = f:avi|divx    v:mp4|divx|mjpeg        a:mp3|lpcm|mpa|ac3        m:video/x-divx        gmc:0
  470. Supported = f:mp4    v:mp4|h264        a:ac3|aac        m:video/mp4
  471. # WMV files are supported, but not with 5.1 audio: (hence the n:2)
  472. Supported = f:wmv    v:wmv|vc1        a:wma        n:2        m:video/x-ms-wmv
  473.  
  474. # [Supported audio formats]:
  475. Supported = f:wav        a:dts|lpcm        n:6        s:48000        m:audio/wav
  476. Supported = f:wav        n:2        s:48000        m:audio/wav
  477. Supported = f:mp3        n:2        m:audio/mpeg
  478. # Apple lossless not supported
  479. Supported = f:aac        n:2        a:(?!alac).+        m:audio/x-m4a
  480. Supported = f:wma        n:2        m:audio/x-ms-wma
  481. Supported = f:atrac      n:2        m:audio/x-oma
  482.  
  483. # [Supported image formats]
  484. Supported = f:jpg        m:image/jpeg
  485. Supported = f:png        m:image/png
  486. Supported = f:gif        m:image/gif
  487. Supported = f:tiff       m:image/tiff
  488.  
  489. #-----------------------------------------------------------------------------
clone this paste RAW Paste Data