I am trying to build an adaptive bitrate VOD player for AMS 5.
I can't get a f4m to play to save my life. It also doesnt help that i have yet to find a resource that has a proper f4m structure. Every single one, from Adobe.com to Lynda.com all set it up differntly and none of them are for AMS 5. I keep getting error messages from the StrobeMediaPlayback.swf saying that the f4m is not formed correctly.
Also, all of the tutorials use LOCALHOST, which does not apply to me because i have access to a server with AMS 5 on it.
I can get a single video to stream if i do a direct path to the video rather than a path to the F4M file, but that's not what i am trying to do.
IN MY PLAYER, i have a full URL for the VOD.f4m. For privacy reasons, i removed it.
These are the 3 ways i have tried to format my F4M file (all of them were from 'official' tutorials)
This does not work:
?xml version="1.0" encoding="utf-8"?>
<manifest xmlns="_http://ns.adobe.com/f4m/1.0">
<id>dynamicStream</id>
<mimeType>video/f4v</mimeType>
<streamType>recorded</streamType>
<baseURL>http://XX.XXX.XX.XXX/vod/</baseURL>
<media url="sample1_1500kbps" bitrate="1500" />
<media url="sample1_700kbps" bitrate="800" />
<media url="sample1_150kbps" bitrate="400" />
</manifest>
Source:Adobe.com/forums
This does not work:
<manifest xmlns="http://ns.adobe.com/f4m/2.0">
<media href="http://10.100.34.145/hds-vod/sample1_150kbps.f4v.f4m" bitrate="150"/>
<media href="http://10.100.34.145/hds-vod/sample1_700kbps.f4v.f4m" bitrate="700"/>
<media href="http://10.100.34.145/hds-vod/sample1_1500kbps.f4v.f4m" bitrate="1500"/>
</manifest>
Source:
Also used by Jodie B in the youTube video that Adobe is still using despite its 3 years old.
This does not work:
manifest xmlns="http://ns.adobe.com/f4m/2.0">
<baseURL>http://XX.XXX.XX.XXX/hds-vod/</baseURL>
<media href="sample1_150kbps.f4m" bitrate="150"/>
<media href="sample1_500kbps.f4m" bitrate="500"/>
<media href="sample1_700kbps.f4m" bitrate="700"/>
</manifest>
Also used on Lynda.com
PLAYER CODE:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"
width="470" height="320">
<param name="movie"
value="http://www.cecity.com/ktest/StrobeMediaPlayback.swf"> </param>
<param name="flashvars"
value="src=vod.f4m
&streamType=recorded
&loop=true
&autoPlay=true
&playButtonOverlay=false
&controlBarAutoHide=false"> </param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed
src="http://www.cecity.com/ktest/StrobeMediaPlayback.swf"
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="470" height="320"
flashvars="src=vod.f4m
&streamType=recorded
&loop=true
&autoPlay=true
&playButtonOverlay=false
&controlBarAutoHide=false">
</embed>
</object>
Can anyone shed light as to why this does not work?
