Skip navigation
Currently Being Moderated

I am trying to build an adaptive bitrate VOD player for AMS 5.

Jan 6, 2014 2:29 PM

Tags: #f4m #manifest_files #asm_5 #flash_media_server_5 #hds_vod

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:

http://help.adobe.com/en_US/adobemediaserver/devguide/WS36639d9e8574ac 3f4741126212dea232fa8-8000.2.3.html#WS196aaf3cddfd5bd77166280a1304ebf7 33f-7fff.2.3

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>

 

Source:
http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649b f23d103e5512e08f3a338-8000.html

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#ve rsion=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?

 
Replies
  • Currently Being Moderated
    Jan 25, 2014 3:43 PM   in reply to KMPGH

    1. Have you verified that the server is streaming properly? The individual streams in the manifest file stream?

     

    2. Use the generator at rootinstall/tools/f4mconfig/configurator/f4mconfig.html to generate the manifest file.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points