Skip to main content
March 12, 2014
Question

how to create a .f4m manifest files to play .FLV files

  • March 12, 2014
  • 0 replies
  • 1373 views

I typically use .f4v files for my on demand playback media files, however I converted a .mov to a .flv file...  How do I create a .f4m and .m3u8 manifest file that plays .flv files?  Below is the code I normally use for the .f4m and .m3u8 files.  This works great with .f4v files.  I also included my player code.  What am I doing wrong?  The only difference is I'm using a .flv that I didn't use the f4vpp cleaner on..  That shouldn't give me the parse error I'm getting.

022714.f4m is the name of my .f4m Flash manifest file.  Below are the contents.

<manifest xmlns="http://ns.adobe.com/f4m/2.0">

  <baseURL>http://IPaddress/hds-vod/</baseURL>

  <media href="02-27-14-640-480.f4v.f4m" bitrate="1000"/>

  <media href="02-27-14-320-240.f4v.f4m" bitrate="450"/>

  </manifest>

022714.m3u8 is the name of my HTML 5 manifest.  Below are the contents.

#EXTM3U

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1000000

http://IPaddress/hls-vod/02-27-14-640-480.f4v.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=450000

http://IPaddress/hls-vod/02-27-14-320-240.f4v.m3u8

Flash multi bit rate player

<object width="448" height="336">

<param value="http://IPADDRESS/strobeplayer/StrobeMediaPlayback.swf" name="movie">

<param value="src=http%3A%2F%2FIPADDRESS%2Fvod%2F022714.f4m&streamType=recorded&autoPlay=false" name="flashvars">

<param value="true" name="allowFullScreen">

<param value="always" name="allowscriptaccess">

<param value="direct" name="wmode"><embed src="http://216.37.94.194/strobeplayer/StrobeMediaPlayback.swf" type="application/x-shockwave-flash" flashvars="src=http%3A%2F%2FIPADDRESS%2Fvod%2F022714.f4m&streamType=recorded&autoPlay=false" wmode="direct" allowfullscreen="true" allowscriptaccess="always" height="336" width="448"></object>

HTML5 player

<p style="text-align: center;"><a href="http://IPaddress/vod/022714.m3u8"><img alt="" src="/portals/0/Silver-Play-Button.jpg" style="width: 150px; height: 151px;" />

    This topic has been closed for replies.