Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2013
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.00 KB | None | 0 0
  1. <!-- Example template for transrate, producing four new streams at different bitrates. Resultant streams can be played back individually or as a group. source, 360p and 160p encode blocks are enabled through the Enable property, other examples are not enabled. Add additional encode blocks to your template as needed. -->
  2. <Root>
  3. <Transcode>
  4. <Encodes>
  5. <!-- Example Encode block for source, not required unless Member of StreamNameGroup. -->
  6. <Encode>
  7. <Enable>false</Enable>
  8. <Name>source</Name>
  9. <StreamName>mp4:${SourceStreamName}_source</StreamName>
  10. <Video>
  11. <!-- H.264, H.263, PassThru, Disable -->
  12. <Codec>PassThru</Codec>
  13. <Bitrate>${SourceVideoBitrate}</Bitrate>
  14. <Parameters>
  15. </Parameters>
  16. </Video>
  17. <Audio>
  18. <!-- AAC, PassThru, Disable -->
  19. <Codec>PassThru</Codec>
  20. <Bitrate>${SourceAudioBitrate}</Bitrate>
  21. <Parameters>
  22. </Parameters>
  23. </Audio>
  24. <Properties>
  25. </Properties>
  26. </Encode>
  27. <!-- Setup for 720p, high bandwith, main profile for desktop or set-top box -->
  28. <Encode>
  29. <Enable>true</Enable>
  30. <Name>720p</Name>
  31. <StreamName>mp4:${SourceStreamName}_720p</StreamName>
  32. <Video>
  33. <!-- H.264, H.263, PassThru, Disable -->
  34. <Codec>H.264</Codec>
  35. <!-- default, CUDA, QuickSync -->
  36. <Transcoder>default</Transcoder>
  37. <GPUID>-1</GPUID>
  38. <FrameSize>
  39. <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
  40. <FitMode>fit-height</FitMode>
  41. <Width>1280</Width>
  42. <Height>720</Height>
  43. <!-- <Crop>0,0,0,0</Crop> -->
  44. <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
  45. </FrameSize>
  46. <Profile>main</Profile>
  47. <Bitrate>1500000</Bitrate>
  48. <KeyFrameInterval>
  49. <FollowSource>true</FollowSource>
  50. <Interval>60</Interval>
  51. </KeyFrameInterval>
  52. <Overlays>
  53. <Overlay>
  54. <Enable>false</Enable>
  55. <Index>0</Index>
  56. <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
  57. <CheckForUpdates>false</CheckForUpdates>
  58. <Opacity>100</Opacity>
  59. <Location>
  60. <X>5</X>
  61. <Y>5</Y>
  62. <Width>${ImageWidth}</Width>
  63. <Height>${ImageHeight}</Height>
  64. <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
  65. <Align>left,top</Align>
  66. </Location>
  67. </Overlay>
  68. </Overlays>
  69. <Parameters>
  70. </Parameters>
  71. </Video>
  72. <Audio>
  73. <!-- AAC, PassThru, Disable -->
  74. <Codec>PassThru</Codec>
  75. <Bitrate>${SourceAudioBitrate}</Bitrate>
  76. <Parameters>
  77. </Parameters>
  78. </Audio>
  79. <Properties>
  80. </Properties>
  81. </Encode>
  82. <!-- Setup for 360p, high bandwith, main profile for desktop -->
  83. <Encode>
  84. <Enable>true</Enable>
  85. <Name>360p</Name>
  86. <StreamName>mp4:${SourceStreamName}_360p</StreamName>
  87. <Video>
  88. <!-- H.264, H.263, PassThru, Disable -->
  89. <Codec>H.264</Codec>
  90. <!-- default, CUDA, QuickSync -->
  91. <Transcoder>default</Transcoder>
  92. <GPUID>-1</GPUID>
  93. <FrameSize>
  94. <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
  95. <FitMode>fit-height</FitMode>
  96. <Width>640</Width>
  97. <Height>360</Height>
  98. <!-- <Crop>0,0,0,0</Crop> -->
  99. <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
  100. </FrameSize>
  101. <Profile>main</Profile>
  102. <Bitrate>900000</Bitrate>
  103. <KeyFrameInterval>
  104. <FollowSource>true</FollowSource>
  105. <Interval>60</Interval>
  106. </KeyFrameInterval>
  107. <Overlays>
  108. <Overlay>
  109. <Enable>false</Enable>
  110. <Index>0</Index>
  111. <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
  112. <CheckForUpdates>false</CheckForUpdates>
  113. <Opacity>100</Opacity>
  114. <Location>
  115. <X>5</X>
  116. <Y>5</Y>
  117. <Width>${ImageWidth}</Width>
  118. <Height>${ImageHeight}</Height>
  119. <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
  120. <Align>left,top</Align>
  121. </Location>
  122. </Overlay>
  123. </Overlays>
  124. <Parameters>
  125. </Parameters>
  126. </Video>
  127. <Audio>
  128. <!-- AAC, PassThru, Disable -->
  129. <Codec>PassThru</Codec>
  130. <Bitrate>${SourceAudioBitrate}</Bitrate>
  131. <Parameters>
  132. </Parameters>
  133. </Audio>
  134. <Properties>
  135. </Properties>
  136. </Encode>
  137. <!-- Setup for 240p, medium bandwidth, baseline profile -->
  138. <Encode>
  139. <Enable>false</Enable>
  140. <Name>240p</Name>
  141. <StreamName>mp4:${SourceStreamName}_240p</StreamName>
  142. <Video>
  143. <!-- H.264, H.263, PassThru, Disable -->
  144. <Codec>H.264</Codec>
  145. <!-- default, CUDA, QuickSync -->
  146. <Transcoder>default</Transcoder>
  147. <GPUID>-1</GPUID>
  148. <FrameSize>
  149. <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
  150. <FitMode>fit-height</FitMode>
  151. <Width>360</Width>
  152. <Height>240</Height>
  153. <!-- <Crop>0,0,0,0</Crop> -->
  154. <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
  155. </FrameSize>
  156. <Profile>baseline</Profile>
  157. <Bitrate>350000</Bitrate>
  158. <KeyFrameInterval>
  159. <FollowSource>true</FollowSource>
  160. <Interval>60</Interval>
  161. </KeyFrameInterval>
  162. <Overlays>
  163. <Overlay>
  164. <Enable>false</Enable>
  165. <Index>0</Index>
  166. <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
  167. <CheckForUpdates>false</CheckForUpdates>
  168. <Opacity>100</Opacity>
  169. <Location>
  170. <X>5</X>
  171. <Y>5</Y>
  172. <Width>${ImageWidth}</Width>
  173. <Height>${ImageHeight}</Height>
  174. <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
  175. <Align>left,top</Align>
  176. </Location>
  177. </Overlay>
  178. </Overlays>
  179. <Parameters>
  180. </Parameters>
  181. </Video>
  182. <Audio>
  183. <!-- AAC, PassThru, Disable -->
  184. <Codec>PassThru</Codec>
  185. <Bitrate>${SourceAudioBitrate}</Bitrate>
  186. <Parameters>
  187. </Parameters>
  188. </Audio>
  189. <Properties>
  190. </Properties>
  191. </Encode>
  192. <!-- Setup for 160p, low bandwith, baseline profile for 3G mobile devices such as iOS, Android, Blackberry -->
  193. <Encode>
  194. <Enable>false</Enable>
  195. <Name>160p</Name>
  196. <StreamName>mp4:${SourceStreamName}_160p</StreamName>
  197. <Video>
  198. <!-- H.264, H.263, PassThru, Disable -->
  199. <Codec>H.264</Codec>
  200. <!-- default, CUDA, QuickSync -->
  201. <Transcoder>default</Transcoder>
  202. <GPUID>-1</GPUID>
  203. <FrameSize>
  204. <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
  205. <FitMode>fit-height</FitMode>
  206. <Width>284</Width>
  207. <Height>160</Height>
  208. <!-- <Crop>0,0,0,0</Crop> -->
  209. <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
  210. </FrameSize>
  211. <Profile>baseline</Profile>
  212. <Bitrate>200000</Bitrate>
  213. <KeyFrameInterval>
  214. <FollowSource>true</FollowSource>
  215. <Interval>60</Interval>
  216. </KeyFrameInterval>
  217. <Overlays>
  218. <Overlay>
  219. <Enable>false</Enable>
  220. <Index>0</Index>
  221. <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
  222. <CheckForUpdates>false</CheckForUpdates>
  223. <Opacity>100</Opacity>
  224. <Location>
  225. <X>5</X>
  226. <Y>5</Y>
  227. <Width>${ImageWidth}</Width>
  228. <Height>${ImageHeight}</Height>
  229. <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
  230. <Align>left,top</Align>
  231. </Location>
  232. </Overlay>
  233. </Overlays>
  234. <Parameters>
  235. </Parameters>
  236. </Video>
  237. <Audio>
  238. <!-- AAC, PassThru, Disable -->
  239. <Codec>PassThru</Codec>
  240. <Bitrate>${SourceAudioBitrate}</Bitrate>
  241. <Parameters>
  242. </Parameters>
  243. </Audio>
  244. <Properties>
  245. </Properties>
  246. </Encode>
  247. <!-- Setup for H.263, low bandwith, streaming to older mobile devices -->
  248. <Encode>
  249. <Enable>false</Enable>
  250. <Name>h263</Name>
  251. <StreamName>mp4:${SourceStreamName}_h263</StreamName>
  252. <Video>
  253. <!-- H.264, H.263, PassThru, Disable -->
  254. <Codec>H.263</Codec>
  255. <!-- default, CUDA, QuickSync -->
  256. <Transcoder>default</Transcoder>
  257. <GPUID>-1</GPUID>
  258. <FrameSize>
  259. <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
  260. <FitMode>letterbox</FitMode>
  261. <Width>176</Width>
  262. <Height>144</Height>
  263. <!-- <Crop>0,0,0,0</Crop> -->
  264. <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
  265. </FrameSize>
  266. <Profile>baseline</Profile>
  267. <Bitrate>150000</Bitrate>
  268. <KeyFrameInterval>
  269. <FollowSource>false</FollowSource>
  270. <Interval>60</Interval>
  271. </KeyFrameInterval>
  272. <Overlays>
  273. <Overlay>
  274. <Enable>false</Enable>
  275. <Index>0</Index>
  276. <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
  277. <CheckForUpdates>false</CheckForUpdates>
  278. <Opacity>100</Opacity>
  279. <Location>
  280. <X>5</X>
  281. <Y>5</Y>
  282. <Width>${ImageWidth}</Width>
  283. <Height>${ImageHeight}</Height>
  284. <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
  285. <Align>left,top</Align>
  286. </Location>
  287. </Overlay>
  288. </Overlays>
  289. <Parameters>
  290. </Parameters>
  291. </Video>
  292. <Audio>
  293. <!-- AAC, PassThru, Disable -->
  294. <Codec>AAC</Codec>
  295. <Bitrate>64000</Bitrate>
  296. <Parameters>
  297. </Parameters>
  298. </Audio>
  299. <Properties>
  300. </Properties>
  301. </Encode>
  302. </Encodes>
  303. <Decode>
  304. <Video>
  305. <Deinterlace>false</Deinterlace>
  306. <Overlays>
  307. <Overlay>
  308. <Enable>false</Enable>
  309. <Index>0</Index>
  310. <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
  311. <CheckForUpdates>false</CheckForUpdates>
  312. <Opacity>100</Opacity>
  313. <Location>
  314. <X>5</X>
  315. <Y>5</Y>
  316. <Width>${ImageWidth}</Width>
  317. <Height>${ImageHeight}</Height>
  318. <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
  319. <Align>left,top</Align>
  320. </Location>
  321. </Overlay>
  322. </Overlays>
  323. <Parameters>
  324. </Parameters>
  325. </Video>
  326. <Properties>
  327. </Properties>
  328. </Decode>
  329. <StreamNameGroups>
  330. <!-- Note: Play stream using stream name ngrp:[stream-name] -->
  331. <StreamNameGroup>
  332. <Name>${SourceStreamName}_all</Name>
  333. <Members>
  334. <Member>
  335. <EncodeName>source</EncodeName>
  336. </Member>
  337. <Member>
  338. <EncodeName>720p</EncodeName>
  339. </Member>
  340. <Member>
  341. <EncodeName>360p</EncodeName>
  342. </Member>
  343. <Member>
  344. <EncodeName>240p</EncodeName>
  345. </Member>
  346. <Member>
  347. <EncodeName>160p</EncodeName>
  348. </Member>
  349. </Members>
  350. </StreamNameGroup>
  351. <StreamNameGroup>
  352. <Name>${SourceStreamName}_mobile</Name>
  353. <Members>
  354. <Member>
  355. <EncodeName>240p</EncodeName>
  356. </Member>
  357. <Member>
  358. <EncodeName>160p</EncodeName>
  359. </Member>
  360. </Members>
  361. </StreamNameGroup>
  362. </StreamNameGroups>
  363. <Properties>
  364. </Properties>
  365. </Transcode>
  366. </Root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement