Results 1 to 4 of 4

Thread: Transcoded Ngrp/Manifest missing an encoding + disparate bitrate values in manifest

  1. #1

    Default disparate bitrate values in manifest

    I think I figured out the missing ngrp encoding, but the bitrate part is still confusing me... at a glance, the bitrate values in the manifest seem far apart from what is actually in transrate.xml ... 160p is listed at 100000 bitrate, but in the manifest file its coming up as 223.

    manifest:
    url used:
    http://myhost:1935/live/ngrp:stream....nifest.f4m?DVR
    <manifest xmlns="http://ns.adobe.com/f4m/2.0">
    <id>stream.sdp_all</id>
    <width>1280</width>
    <height>720</height>
    <mimeType>video/mp4</mimeType>
    <streamType>dvr</streamType>
    <deliveryType>streaming</deliveryType>
    <dvrInfo windowDuration="-1"></dvrInfo>
    <bootstrapInfo id="bootstrap1979261" profile="named" url="playlist_b1979261_w397804161.abst?DVR"/>
    <media bootstrapInfoId="bootstrap1979261" width="1280" height="720" bitrate="1932" url="DVR_b1979261_w397804161.abst/">
    <metadata>
    AgAKb25NZXRhRGF0YQMACWZyYW1lcmF0ZQBAPgAAAAAAAAAFd2lkdGgAQJQAAAAAAAAABmhlaWdodABAhoAAAAAAAAAMdmlkZW9jb2RlY2lkAgAEYXZjMQANdmlkZW9kYXRhcmF0ZQBAn0AAAAAAAAAXdmlkZW9rZXlmcmFtZV9mcmVxdWVuY3kAQG4AAAAAAAAADGF1ZGlvY29kZWNpZAIABG1wNGEAD2F1ZGlvc2FtcGxlcmF0ZQBA5YiAAAAAAAANYXVkaW9jaGFubmVscwA/8AAAAAAAAAANYXVkaW9kYXRhcmF0ZQBAYAAAAAAAAAAJdHJhY2tpbmZvCgAAAAAAAAk=
    </metadata>
    </media>
    <bootstrapInfo id="bootstrap428727" profile="named" url="playlist_b428727_w397804161.abst?DVR"/>
    <media bootstrapInfoId="bootstrap428727" width="640" height="360" bitrate="418" url="DVR_b428727_w397804161.abst/">
    <metadata>
    AgAKb25NZXRhRGF0YQMADXZpZGVvZGF0YXJhdGUAQJ9AAAAAAAAAF3ZpZGVva2V5ZnJhbWVfZnJlcXVlbmN5AEBuAAAAAAAAAAxhdWRpb2NvZGVjaWQCAARtcDRhAA9hdWRpb3NhbXBsZXJhdGUAQOWIgAAAAAAADWF1ZGlvY2hhbm5lbHMAP/AAAAAAAAAADWF1ZGlvZGF0YXJhdGUAQGAAAAAAAAAACXRyYWNraW5mbwoAAAABAwAEdHlwZQIABXZpZGVvABBwcm9maWxlLWxldmVsLWlkAgAGNDI4MDFlABRzcHJvcC1wYXJhbWV0ZXItc2V0cwIALVowS0FIcFpTQVVCZjh1QXFFQUFBUHBBQURxWUoyaFFxU0E9PSxhTXVOU0E9PQALZGVzY3JpcHRpb24CAJd7SDI2NENvZGVjQ29uZmlnSW5mbzogY29kZWM6SDI2NCwgcHJvZmlsZTpCYXNlbGluZSwgbGV2ZWw6My4wLCBmcmFtZVNpemU6NjQweDM2MCwgZGlzcGxheVNpemU6NjQweDM2MCwgZnJhbWVSYXRlOjI5Ljk3LCBQQVI6MToxLCBjcm9wOiBsOjAgcjowIHQ6MCBiOjR9AAAJAAx2aWRlb2NvZGVjaWQCAARhdmMxAAV3aWR0aABAhAAAAAAAAAAGaGVpZ2h0AEB2gAAAAAAAAApmcmFtZVdpZHRoAECEAAAAAAAAAAtmcmFtZUhlaWdodABAdoAAAAAAAAAMZGlzcGxheVdpZHRoAECEAAAAAAAAAA1kaXNwbGF5SGVpZ2h0AEB2gAAAAAAAAAlmcmFtZXJhdGUAQD34UeuFHrgAAAk=
    </metadata>
    </media>
    <bootstrapInfo id="bootstrap228727" profile="named" url="playlist_b228727_w397804161.abst?DVR"/>
    <media bootstrapInfoId="bootstrap228727" width="284" height="160" bitrate="223" url="DVR_b228727_w397804161.abst/">
    <metadata>
    AgAKb25NZXRhRGF0YQMADXZpZGVvZGF0YXJhdGUAQJ9AAAAAAAAAF3ZpZGVva2V5ZnJhbWVfZnJlcXVlbmN5AEBuAAAAAAAAAAxhdWRpb2NvZGVjaWQCAARtcDRhAA9hdWRpb3NhbXBsZXJhdGUAQOWIgAAAAAAADWF1ZGlvY2hhbm5lbHMAP/AAAAAAAAAADWF1ZGlvZGF0YXJhdGUAQGAAAAAAAAAACXRyYWNraW5mbwoAAAABAwAEdHlwZQIABXZpZGVvABBwcm9maWxlLWxldmVsLWlkAgAGNDI4MDBjABRzcHJvcC1wYXJhbWV0ZXItc2V0cwIAKVowS0FESlpTQWtLOStBcUVBQUFQcEFBRHFZSjJoUXFTLGFNdU5TQT09AAtkZXNjcmlwdGlvbgIAl3tIMjY0Q29kZWNDb25maWdJbmZvOiBjb2RlYzpIMjY0LCBwcm9maWxlOkJhc2VsaW5lLCBsZXZlbDoxLjIsIGZyYW1lU2l6ZToyODR4MTYwLCBkaXNwbGF5U2l6ZToyODR4MTYwLCBmcmFtZVJhdGU6MjkuOTcsIFBBUjoxOjEsIGNyb3A6IGw6MCByOjIgdDowIGI6MH0AAAkADHZpZGVvY29kZWNpZAIABGF2YzEABXdpZHRoAEBxwAAAAAAAAAZoZWlnaHQAQGQAAAAAAAAACmZyYW1lV2lkdGgAQHHAAAAAAAAAC2ZyYW1lSGVpZ2h0AEBkAAAAAAAAAAxkaXNwbGF5V2lkdGgAQHHAAAAAAAAADWRpc3BsYXlIZWlnaHQAQGQAAAAAAAAACWZyYW1lcmF0ZQBAPfhR64UeuAAACQ==
    </metadata>
    </media>
    </manifest>
    transrate.xml
    <!-- 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. -->
    <Root>
    	<Transcode>
    		<Encodes>
    			<!-- Example Encode block for source, not required unless Member of StreamNameGroup. --> 
    			<Encode>
    				<Enable>true</Enable>
    				<Name>source</Name>
    				<StreamName>mp4:${SourceStreamName}_source</StreamName>
    				<Video>
    					<!-- H.264, PassThru -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceVideoBitrate}</Bitrate>
    					<Parameters>
    					</Parameters>
    				</Video>
    				<Audio>
    					<!-- AAC, PassThru -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    				</Audio>
    				<Properties>
    				</Properties>
    			</Encode>
    			<!-- Setup for 720p, high bandwith, main profile for desktop or set-top box -->
    			<Encode>
    				<Enable>false</Enable>
    				<Name>720p</Name>
    				<StreamName>mp4:${SourceStreamName}_720p</StreamName>
    				<Video>
    					<!-- H.264, PassThru -->
    					<Codec>H.264</Codec>
    					<!-- default, CUDA, QuickSync -->
    					<Transcoder>default</Transcoder>
    					<GPUID>-1</GPUID>
    					<FrameSize>
    						<!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
    						<FitMode>fit-height</FitMode>
    						<Width>1280</Width>
    						<Height>720</Height>
    						<!-- <Crop>0,0,0,0</Crop> -->
    						<!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    					</FrameSize>
    					<Profile>main</Profile>
    					<Bitrate>1300000</Bitrate>
    					<KeyFrameInterval>
    						<FollowSource>true</FollowSource>
    						<Interval>60</Interval>
    					</KeyFrameInterval>
    					<Overlays>
    						<Overlay>
    							<Enable>false</Enable>
    							<Index>0</Index>
    							<ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    							<Opacity>100</Opacity>
    							<Location>
    								<X>5</X>
    								<Y>5</Y>
    								<Width>${ImageWidth}</Width>
    								<Height>${ImageHeight}</Height>
    								<!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    								<Align>left,top</Align>
    							</Location>
    						</Overlay>
    					</Overlays>
    					<Parameters>
    					</Parameters>
    				</Video>
    				<Audio>
    					<!-- AAC, PassThru -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    				</Audio>
    				<Properties>
    				</Properties>
    			</Encode>
    			<!-- Setup for 360p, high bandwith, main profile for desktop -->
    			<Encode>
    				<Enable>true</Enable>
    				<Name>360p</Name>
    				<StreamName>mp4:${SourceStreamName}_360p</StreamName>
    				<Video>
    					<!-- H.264, PassThru -->
    					<Codec>H.264</Codec>
    					<!-- default, CUDA, QuickSync -->
    					<Transcoder>default</Transcoder>
    					<GPUID>-1</GPUID>
    					<FrameSize>
    						<!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
    						<FitMode>fit-height</FitMode>
    						<Width>640</Width>
    						<Height>360</Height>
    						<!-- <Crop>0,0,0,0</Crop> -->
    						<!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    					</FrameSize>
    					<Profile>baseline</Profile>
    					<Bitrate>300000</Bitrate>
    					<KeyFrameInterval>
    						<FollowSource>true</FollowSource>
    						<Interval>60</Interval>
    					</KeyFrameInterval>
    					<Overlays>
    						<Overlay>
    							<Enable>false</Enable>
    							<Index>0</Index>
    							<ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    							<Opacity>100</Opacity>
    							<Location>
    								<X>5</X>
    								<Y>5</Y>
    								<Width>${ImageWidth}</Width>
    								<Height>${ImageHeight}</Height>
    								<!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    								<Align>left,top</Align>
    							</Location>
    						</Overlay>
    					</Overlays>
    					<Parameters>
    					</Parameters>
    				</Video>
    				<Audio>
    					<!-- AAC, PassThru -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    				</Audio>
    				<Properties>
    				</Properties>
    			</Encode>
    			<!-- Setup for 240p, medium bandwidth, baseline profile -->
    			<Encode>
    				<Enable>false</Enable>
    				<Name>240p</Name>
    				<StreamName>mp4:${SourceStreamName}_240p</StreamName>
    				<Video>
    					<!-- H.264, PassThru -->
    					<Codec>H.264</Codec>
    					<!-- default, CUDA, QuickSync -->
    					<Transcoder>default</Transcoder>
    					<GPUID>-1</GPUID>
    					<FrameSize>
    						<!-- letterbox, fit-width, fit-height, crop, stretch, match-source  -->
    						<FitMode>fit-height</FitMode>
    						<Width>360</Width>
    						<Height>240</Height>
    						<!-- <Crop>0,0,0,0</Crop> -->
    						<!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    					</FrameSize>
    					<Profile>baseline</Profile>
    					<Bitrate>350000</Bitrate>
    					<KeyFrameInterval>
    						<FollowSource>true</FollowSource>
    						<Interval>60</Interval>
    					</KeyFrameInterval>
    					<Overlays>
    						<Overlay>
    							<Enable>false</Enable>
    							<Index>0</Index>
    							<ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    							<Opacity>100</Opacity>
    							<Location>
    								<X>5</X>
    								<Y>5</Y>
    								<Width>${ImageWidth}</Width>
    								<Height>${ImageHeight}</Height>
    								<!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    								<Align>left,top</Align>
    							</Location>
    						</Overlay>
    					</Overlays>
    					<Parameters>
    					</Parameters>
    				</Video>
    				<Audio>
    					<!-- AAC, PassThru -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    				</Audio>
    				<Properties>
    				</Properties>
    			</Encode>
    			<!-- Setup for 160p, low bandwith, baseline profile for 3G mobile devices such as iOS, Android, Blackberry -->
    			<Encode>
    				<Enable>true</Enable>
    				<Name>160p</Name>
    				<StreamName>mp4:${SourceStreamName}_160p</StreamName>
    				<Video>
    					<!-- H.264, PassThru -->
    					<Codec>H.264</Codec>
    					<!-- default, CUDA, QuickSync -->
    					<Transcoder>default</Transcoder>
    					<GPUID>-1</GPUID>
    					<FrameSize>
    						<!-- letterbox, fit-width, fit-height, crop, stretch, match-source  -->
    						<FitMode>fit-height</FitMode>
    						<Width>284</Width>
    						<Height>160</Height>
    						<!-- <Crop>0,0,0,0</Crop> -->
    						<!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    					</FrameSize>
    					<Profile>baseline</Profile>
    					<Bitrate>100000</Bitrate>
    					<KeyFrameInterval>
    						<FollowSource>true</FollowSource>
    						<Interval>60</Interval>
    					</KeyFrameInterval>
    					<Overlays>
    						<Overlay>
    							<Enable>false</Enable>
    							<Index>0</Index>
    							<ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    							<Opacity>100</Opacity>
    							<Location>
    								<X>5</X>
    								<Y>5</Y>
    								<Width>${ImageWidth}</Width>
    								<Height>${ImageHeight}</Height>
    								<!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    								<Align>left,top</Align>
    							</Location>
    						</Overlay>
    					</Overlays>
    					<Parameters>
    					</Parameters>
    				</Video>
    				<Audio>
    					<!-- AAC, PassThru -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    				</Audio>
    				<Properties>
    				</Properties>
    			</Encode>
    			<Encode>
    				<Enable>true</Enable>
    				<Name>100p</Name>
    				<StreamName>mp4:${SourceStreamName}_100p</StreamName>
    				<Video>
    					<!-- H.264, PassThru -->
    					<Codec>H.264</Codec>
    					<!-- default, CUDA, QuickSync -->
    					<Transcoder>default</Transcoder>
    					<GPUID>-1</GPUID>
    					<FrameSize>
    						<!-- letterbox, fit-width, fit-height, crop, stretch, match-source  -->
    						<FitMode>fit-height</FitMode>
    						<Width>284</Width>
    						<Height>100</Height>
    						<!-- <Crop>0,0,0,0</Crop> -->
    						<!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    					</FrameSize>
    					<Profile>baseline</Profile>
    					<Bitrate>60000</Bitrate>
    					<KeyFrameInterval>
    						<FollowSource>true</FollowSource>
    						<Interval>60</Interval>
    					</KeyFrameInterval>
    					<Overlays>
    						<Overlay>
    							<Enable>false</Enable>
    							<Index>0</Index>
    							<ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    							<Opacity>100</Opacity>
    							<Location>
    								<X>5</X>
    								<Y>5</Y>
    								<Width>${ImageWidth}</Width>
    								<Height>${ImageHeight}</Height>
    								<!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    								<Align>left,top</Align>
    							</Location>
    						</Overlay>
    					</Overlays>
    					<Parameters>
    					</Parameters>
    				</Video>
    				<Audio>
    					<!-- AAC, PassThru -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    				</Audio>
    				<Properties>
    				</Properties>
    			</Encode>
    		</Encodes>
    		<Decode>
    			<Video>
    				<Deinterlace>false</Deinterlace>
    				<Overlays>
    					<Overlay>
    						<Enable>false</Enable>
    						<Index>0</Index>
    						<ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    						<Opacity>100</Opacity>
    						<Location>
    							<X>5</X>
    							<Y>5</Y>
    							<Width>${ImageWidth}</Width>
    							<Height>${ImageHeight}</Height>
    							<!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    							<Align>left,top</Align>
    						</Location>
    					</Overlay>
    				</Overlays>
    				<Parameters>
    				</Parameters>
    			</Video>
    			<Properties>
    			</Properties>
    		</Decode>
    		<StreamNameGroups>
    			<!-- Note: Play stream using stream name ngrp:[stream-name] -->
    			<StreamNameGroup>
    				<Name>${SourceStreamName}_all</Name>
    				<Members>
    					<Member>
    						<EncodeName>source</EncodeName>
    					</Member>
    					<Member>
    						<EncodeName>720p</EncodeName>
    					</Member>
    					<Member>
    						<EncodeName>360p</EncodeName>
    					</Member>
    					<Member>
    						<EncodeName>240p</EncodeName>
    					</Member>
    					<Member>
    						<EncodeName>160p</EncodeName>
    					</Member>
    				</Members>
    			</StreamNameGroup>
    			<StreamNameGroup>
    				<Name>${SourceStreamName}_mobile</Name>
    				<Members>
    					<Member>
    						<EncodeName>240p</EncodeName>
    					</Member>
    					<Member>
    						<EncodeName>160p</EncodeName>
    					</Member>
    				</Members>
    			</StreamNameGroup>
    		</StreamNameGroups>
    		<Properties>
    		</Properties>
    	</Transcode>
    </Root>
    Last edited by optics; 11-19-2011 at 08:51 PM.

  2. #2

    Default

    the bitrate in the manifest for the transcoded files seems to adjust based on the bitrate of the source stream, very strange!

  3. #3

    Default

    Hi optics,

    The bitrate setting in transrate.xml applies only to the video portion. So, your audio stream is probably 128kbps, right? It looks ok to me.

  4. #4

    Default

    aha you are absolutely right, thanks

Similar Threads

  1. offloading a manifest from memory
    By tavius in forum Wowza nDVR
    Replies: 1
    Last Post: 04-07-2014, 06:03 PM
  2. HDS manifest
    By brayster99 in forum General Forum
    Replies: 5
    Last Post: 12-19-2013, 01:26 PM
  3. Replies: 9
    Last Post: 06-18-2013, 10:30 AM
  4. How to re-stream from manifest.f4m
    By kudrik in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 08-27-2012, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •