Skip to main content
Participant
October 26, 2009
Answered

FLVPlayback & FLV Multibitrate Problem?

  • October 26, 2009
  • 1 reply
  • 755 views

Our QA department ran into an issue when testing dynamic streaming with multple encodings in the FLV format that results in a stream cannot be found exception thrown by the FLVPlayback component. An interesting note is that dynamic streaming works when we use F4V files. At first I thought perhaps this was a limitation with Flash, but when I traced the code inside the FLVPlayback component I realized that the video delivery using NetStream should be supported by the Flash video player. So I'm a little confused why this error is happening. We're using the SMIL playlist format to supply the FLVComponent with the videos. I've also tested each video with a direct RTMP connection and they playback fine, so there doesn't appear to be anything wrong with the server or the files.

I've included the sample XMIL playlists below.

FLV Playlist Fails

<smil>
    <head>
        <meta base="rtmp://localhost/vod/" />
    </head>
    <body>
        <switch>
            <video src="sample_500.flv" system-bitrate="500000"/>
            <video src="sample_1000.flv" system-bitrate="1000000"/>
            <video src="sample_2000.flv" system-bitrate="2000000"/>
            <video src="sample_4000.flv" system-bitrate="4000000"/>
        </switch>
    </body>
</smil>

F4V Playlist Works

<smil>
     <head>
         <meta base="rtmp://localhost/vod/" />
     </head>
     <body>
         <switch>
             <video src="mp4:sample_500.f4v" system-bitrate="500000"/>
             <video src="mp4:sample_1000.f4v" system-bitrate="1000000"/>
             <video src="mp4:sample_2000.f4v" system-bitrate="2000000"/>
             <video src="mp4:sample_4000.f4v" system-bitrate="4000000"/>
         </switch>
     </body>
</smil>

Thanks.

    This topic has been closed for replies.
    Correct answer Asa_-_FMS

    Stefan Richter blogged about this very item.  I agree that it's aggravating, even though I was the one forced into making this API concession thanks to legacy behaviors and MP4.  Anyway, you need to pull the .flv off the file extension for the FLVs

    http://www.flashcomguru.com/index.cfm/2009/6/12/flvplayback-smil

    It should work then.

    1 reply

    Asa_-_FMS
    Adobe Employee
    Asa_-_FMSCorrect answer
    Adobe Employee
    October 26, 2009

    Stefan Richter blogged about this very item.  I agree that it's aggravating, even though I was the one forced into making this API concession thanks to legacy behaviors and MP4.  Anyway, you need to pull the .flv off the file extension for the FLVs

    http://www.flashcomguru.com/index.cfm/2009/6/12/flvplayback-smil

    It should work then.

    Participant
    October 26, 2009

    Thanks Asa, that indeed fixed it.