Skip to main content
Known Participant
May 5, 2010
Question

Dynamic Stream not playing f4v files

  • May 5, 2010
  • 1 reply
  • 797 views

In my .smil file, if I put this line it works:

<video src="sample.flv" system-bitrate="150000"/>

But if I put the following line it doesn't work:

<video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/>

Both video files are in the webroot\vod folder.

I am using the sample dynamicStream.smil code, so my syntax should be right.

Does anyone see what I am doing wrong?

Thanks

    This topic has been closed for replies.

    1 reply

    Known Participant
    May 5, 2010

    Testing.  I found out that If I have one video line in my .smil file, it will play the .f4v, but two lines don't work.

    This works:

    <video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/>

    But this doesn't work:

    <video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/>
    <video src="mp4:sample1_500kbps.f4v" system-bitrate="500000"/>

    I am using the code snippet from the index.html page

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    May 6, 2010

    When you add multiple lines in the .smil file, does it play the first video? Did you try switching the streams and found that it not switching to the streams? What you see when you switch to another stream?

    Regards,

    Janaki L

    Known Participant
    May 6, 2010

    Hi Janaki,

    When I add two lines to the .smil file, I get the following error message:

    "Connection Error.  Please press Play to try again."

    When I move my mouse of the - and + signs to change the stream, I get the tooltip "Not Available".

    My HTML file only contains the basic HTML, HEAD, BODY tags, plus the code snippet to display the video file.

    Is any javascript required?