Advertisement
Guest User

ahaslam

a guest
Sep 25th, 2008
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1 http://mediatomb.cc/config/1.xsd">
  3. <server>
  4. <port>49152</port>
  5. <ui enabled="yes">
  6. <accounts enabled="no" session-timeout="30">
  7. <account user="mediatomb" password="mediatomb"/>
  8. </accounts>
  9. </ui>
  10. <name>MediaTomb</name>
  11. <udn>uuid:bc9d7159-2cc8-47a6-aa11-3c8c49370b3b</udn>
  12. <home>/home/ahaslam/.mediatomb</home>
  13. <webroot>/usr/share/mediatomb/web</webroot>
  14. <storage>
  15. <sqlite3 enabled="yes">
  16. <database-file>mediatomb.db</database-file>
  17. </sqlite3>
  18. </storage>
  19. <protocolInfo extend="yes"/><!-- For PS3 support change to "yes" -->
  20. <!--
  21. Uncomment the lines below to get rid of jerky avi playback on the
  22. DSM320 or to enable subtitles support on the DSM units
  23. -->
  24. <!--
  25. <custom-http-headers>
  26. <add header="X-User-Agent: redsonic"/>
  27. </custom-http-headers>
  28.  
  29. <manufacturerURL>redsonic.com</manufacturerURL>
  30. <modelNumber>105</modelNumber>
  31. -->
  32. <!-- Uncomment the line below if you have a Telegent TG100 -->
  33. <!--
  34. <upnp-string-limit>101</upnp-string-limit>
  35. -->
  36. </server>
  37. <import hidden-files="no">
  38. <scripting script-charset="UTF-8">
  39. <virtual-layout type="builtin"/>
  40. </scripting>
  41. <mappings>
  42. <extension-mimetype ignore-unknown="no">
  43. <map from="mp3" to="audio/mpeg"/>
  44. <map from="ogg" to="application/ogg"/>
  45. <map from="asf" to="video/x-ms-asf"/>
  46. <map from="asx" to="video/x-ms-asf"/>
  47. <map from="wma" to="audio/x-ms-wma"/>
  48. <map from="wax" to="audio/x-ms-wax"/>
  49. <map from="wmv" to="video/x-ms-wmv"/>
  50. <map from="wvx" to="video/x-ms-wvx"/>
  51. <map from="wm" to="video/x-ms-wm"/>
  52. <map from="wmx" to="video/x-ms-wmx"/>
  53. <map from="m3u" to="audio/x-mpegurl"/>
  54. <map from="pls" to="audio/x-scpls"/>
  55. <map from="flv" to="video/x-flv"/>
  56. <!-- Uncomment the line below for PS3 divx support -->
  57. <map from="avi" to="video/divx"/>
  58. <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
  59. <!-- <map from="avi" to="video/avi"/> -->
  60. <map from="divx" to="video/divx"/>
  61. <map from="mkv" to="video/x-matroska"/>
  62. <map from="iso" to="video/x-iso9660-image"/>
  63. <map from="img" to="video/x-iso9660-image"/>
  64. <map from="mpeg" to="video/mpeg"/>
  65. <map from="mpg" to="video/mpeg"/>
  66. </extension-mimetype>
  67. <mimetype-upnpclass>
  68. <map from="audio/*" to="object.item.audioItem.musicTrack"/>
  69. <map from="video/*" to="object.item.videoItem"/>
  70. <map from="image/*" to="object.item.imageItem"/>
  71. </mimetype-upnpclass>
  72. <mimetype-contenttype>
  73. <treat mimetype="audio/mpeg" as="mp3"/>
  74. <treat mimetype="application/ogg" as="ogg"/>
  75. <treat mimetype="audio/x-flac" as="flac"/>
  76. <treat mimetype="image/jpeg" as="jpg"/>
  77. <treat mimetype="audio/x-mpegurl" as="playlist"/>
  78. <treat mimetype="audio/x-scpls" as="playlist"/>
  79. <treat mimetype="audio/x-wav" as="pcm"/>
  80. <treat mimetype="audio/L16" as="pcm"/>
  81. <treat mimetype="video/x-divx" as="avi"/>
  82. </mimetype-contenttype>
  83. </mappings>
  84. </import>
  85. <transcoding enabled="yes">
  86. <mimetype-profile-mappings>
  87. <transcode mimetype="video/x-matroska" using="mplayer"/>
  88. <transcode mimetype="video/x-iso9660-image" using="mencoder"/>
  89. <transcode mimetype="video/x-flv" using="vlcmpeg"/>
  90. <transcode mimetype="application/ogg" using="vlcmpeg"/>
  91. <transcode mimetype="application/ogg" using="oggflac2raw"/>
  92. <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
  93. </mimetype-profile-mappings>
  94. <profiles>
  95. <profile name="mplayer" enabled="yes" type="external">
  96. <mimetype>video/mpeg</mimetype>
  97. <accept-url>no</accept-url>
  98. <first-resource>yes</first-resource>
  99. <hide-original-resource>yes</hide-original-resource>
  100. <agent command="mkv2mpeg" arguments="%in %out"/>
  101. <buffer size="83886080" chunk-size="1048576" fill-size="8388608"/>
  102. </profile>
  103. <profile name="mencoder" enabled="yes" type="external">
  104. <mimetype>video/mpeg</mimetype>
  105. <accept-url>no</accept-url>
  106. <first-resource>yes</first-resource>
  107. <hide-original-resource>yes</hide-original-resource>
  108. <agent command="dvd2mpeg" arguments="%in %out"/>
  109. <buffer size="83886080" chunk-size="1048576" fill-size="8388608"/>
  110. </profile>
  111. <profile name="oggflac2raw" enabled="no" type="external">
  112. <mimetype>audio/L16</mimetype>
  113. <accept-url>no</accept-url>
  114. <first-resource>yes</first-resource>
  115. <accept-ogg-theora>no</accept-ogg-theora>
  116. <agent command="ogg123" arguments="-d raw -f %out %in"/>
  117. <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
  118. </profile>
  119. <profile name="vlcmpeg" enabled="no" type="external">
  120. <mimetype>video/mpeg</mimetype>
  121. <accept-url>yes</accept-url>
  122. <first-resource>yes</first-resource>
  123. <accept-ogg-theora>yes</accept-ogg-theora>
  124. <agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
  125. <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
  126. </profile>
  127. </profiles>
  128. </transcoding>
  129. </config>
  130.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement