Results 1 to 10 of 10

Thread: video plays abnormally fast for a short time while streaming from FMS (issue appears

  1. #1

    Default video plays abnormally fast for a short time while streaming from FMS (issue appears

    I am streaming (live, no recording) video using Flash Media Server 4.5. I created to 2 applications -

    1) Publisher: Publishes (streams) video using FMS.
    2) Receiver: Plays the published stream.

    Everything works good as expected because its very simple application on WEB or in (Desktop) browser.

    But when I port Receiver app to iPad, video, it plays fine but in between it plays fast (like you are fast forwading in VCR or DVD player) for few mili seconds and then back to normal.

    Note: I tried using Wowza server in place of FMS but no luck.

    To resolve this issue I played with some settings like - lowering the camera fps to 10, quality to 50, favoring to false. It results lil bit improvement but my client cannot compromise on low quality video, that too on iPad.

    Thanks in advance!

  2. #2
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    Are you able to stream directly to Wowza and play the stream without issue?,
    Please find a live streaming tutorial below which should answer any Wowza configuration questions you may have,
    How to set up live streaming using an RTMP based encoder

    The stream should be H.264 with MP3/AAC, around 25 FPS, have a keyframe ever 1-4 seconds and Profile Baseline 3.0 for majority compatibility for streaming clients.
    I think this may be a source stream issue and recommend adding a sort buffer to the Streams/Properties container in the Application.xml file.

    <Property>
    <Name>sortPackets</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>sortBufferSize</Name>
    <Value>2000</Value>
    <Type>Integer</Type>
    </Property>

    Please keep me informed with your progress.

    Thanks
    Jason

  3. #3

    Default thanks for prompt reply. I will try the configs and revert.

    Thanks for the reply, Jason.

    Issue is replicated in case Wowza as well.

    I will give a try changing config you mentioned and revert.

    Thanks again!

    Quote Originally Posted by JasonH View Post
    Hi,
    Are you able to stream directly to Wowza and play the stream without issue?,
    Please find a live streaming tutorial below which should answer any Wowza configuration questions you may have,
    How to set up live streaming using an RTMP based encoder

    The stream should be H.264 with MP3/AAC, around 25 FPS, have a keyframe ever 1-4 seconds and Profile Baseline 3.0 for majority compatibility for streaming clients.
    I think this may be a source stream issue and recommend adding a sort buffer to the Streams/Properties container in the Application.xml file.

    <Property>
    <Name>sortPackets</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>sortBufferSize</Name>
    <Value>2000</Value>
    <Type>Integer</Type>
    </Property>

    Please keep me informed with your progress.

    Thanks
    Jason

  4. #4

    Default NetStream.Play.Failed with H264 video stream settings

    I tried configuring source stream with settings you suggested.

    For some reason, Stream is not playing when I set videoStreamSettings to H.264

    h264Settings = new H264VideoStreamSettings();
    h264Settings.setProfileLevel( H264Profile.BASELINE, H264Level.LEVEL_3);
    ns.videoStreamSettings = h264Settings;
    ns.publish("liveStream");

    Stream plays fine when no setting (h264) is applied.

    NetStream info displays the following when I try to play stream using H264 in iPad:

    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Failed
    NetStream.Play.Stop
    NetStream.Buffer.Flush

    Any ideas?

    Much appreciated

    Quote Originally Posted by Gurpreet Singh View Post
    Thanks for the reply, Jason.

    Issue is replicated in case Wowza as well.

    I will give a try changing config you mentioned and revert.

    Thanks again!

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Take a look at steps 1a, b and c in this Flash h.264 guide.

    Richard

  6. #6

    Default

    Richard,
    I looked into Flash H264 guide and still no luck.
    I am sure that my Publisher app is publishing H264 Baseline 3 and transcoder is transcoding SPEEX to AAC. But it has not affect on Receiver app on iPad.

    NetStream says (on iPad):

    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Failed
    NetStream.Play.Stop
    NetStream.Buffer.Flush

    Any ideas?

  7. #7
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    What are you using to create a NetStream on iOS device? Streaming to iOS is done with HLS (cupertino) streams, generally. I have heard of rtmp libararies for iOS, but am not sure how well they work.

    Are you playing back a transcoded rendition? (The source is not transcoded.)

    Richard

  8. #8

    Default NetStream is over RTMP

    Quote Originally Posted by rrlanham View Post
    What are you using to create a NetStream on iOS device? Streaming to iOS is done with HLS (cupertino) streams, generally. I have heard of rtmp libararies for iOS, but am not sure how well they work.

    Are you playing back a transcoded rendition? (The source is not transcoded.)

    Richard
    Receiver is a simple Flex application on iPad that gets stream to play over RTMP in very traditional way. Its not a native app, so no HLS or any RTMP libs are required I think.

  9. #9

    Default Any suggestions? Ideas?

    Quote Originally Posted by Gurpreet Singh View Post
    Receiver is a simple Flex application on iPad that gets stream to play over RTMP in very traditional way. Its not a native app, so no HLS or any RTMP libs are required I think.
    We are working on a product and can seriously considering switch to Wowza from FMS if we get signs to resolve this issue.

    POC, I am working upon is very basic and I can send you code if you want to peep in it.

    Please let me know.

    Thanks

  10. #10
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    If the playback issue is not effecting cupertino streaming (Apple HLS) why would you need to use the RTMP app?
    Hi,
    Are you able to stream directly to Wowza and play the stream without issue?,
    Please find a live streaming tutorial below which should answer any Wowza configuration questions you may have
    I asked earlier in the thread if the stream was effected when you publish to Wowza and play the stream back, I was meaning with the traditional method with an Apple iOS device.
    Please find the playback URL examples here,
    http://www.wowza.com/forums/content.php?36#playback

    If the above method is working without issue I can only assume that the issue lies with the App which you're using which is not supported by Wowza.

    Jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •