Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Stream Choppy for RTMP playback

  1. #1
    Join Date
    Sep 2013
    Posts
    18

    Default Stream Choppy for RTMP playback

    Hi all.

    I'm setting up Wowza Streming Engine 4.0.1 to use as a live encoder machine. My desired scenario is to have a set up that can ingest an RTMP live stream, transcode it into different bitrates and then republish to another server.

    Currently I have set up the server as a production server in WSE Manager, and that's all the performance tweak I've done. Hardware specs are:
    CPU i7 2600K
    RAM 8GB DDR3@1600MHz
    HDD Crucial C300 SSD

    I've been reading about this issue but haven't find any help. I've tried to use a freshly set up application for live streaming with only RTMP playback enabled and published a 500k stream just to test a simple scenario but I get choppy playback under this circumstances. Obviously I get choppy playback for 2Mbps stream @ 720p encoded to other 5 bitrates that are then republished using WSE addon.

    CPU utilization and RAM utilization is way under 20% at all time. For transcoding I'm using Intel Quick Sync 1.4 with the HD3000 GPU in the 2600k and CPU usage is really low, but it's important to note I'm getting choppy playback even if I'm not transcoding at all.

    Hope this describes my scenario pretty well.

    Thanks in advance for any help you can provide.

    Regards
    Eduardo

  2. #2

    Default

    Hi Eduardo,
    Can you provide detail about the incoming stream:
    What is the source?
    What is the video and audio codec?
    Keyframe interval(GOP length)?
    FPS?
    Profile setting?

    What player are you testing playback in?

    Salvadore

  3. #3
    Join Date
    Sep 2013
    Posts
    18

    Default

    Quote Originally Posted by salvadore View Post
    Hi Eduardo,
    Can you provide detail about the incoming stream:
    What is the source?
    What is the video and audio codec?
    Keyframe interval(GOP length)?
    FPS?
    Profile setting?

    What player are you testing playback in?

    Salvadore
    Ni Salvadore. Thanks for the answer

    Codec is H264 for video and AAC -LC for audio.
    The encoder is FMLE. Bitrate for video is 500kbps and for audio 64kbps. Encoding parameters are baseline profile, level 3.1 and keyframe interval of 3 seconds. Frame rate is 29.97 and the source is analog TV captured by a blackmagic intensity pro through HDMI in NTSC 720x480.
    Playback was tested on osmf (SMP) and flvplayback (as3 video).

    There is no buffer nor frame drops on the publish side.

    One thing that happens during playback is sudden fast forwards as well as choppyness.

    By the way video plays fine when published to adobe media server.

  4. #4

    Default

    Do you experience the same issues if you test playback in one of the Wowza example players?

    If you change the fps to 30 and the GOP length to 2 seconds, so every 60 frames, do you notice any improvement?

    Salvadore

  5. #5
    Join Date
    Sep 2013
    Posts
    18

    Default

    Quote Originally Posted by salvadore View Post
    Do you experience the same issues if you test playback in one of the Wowza example players?

    If you change the fps to 30 and the GOP length to 2 seconds, so every 60 frames, do you notice any improvement?

    Salvadore
    Wowza test player for rtmp is Strobe Media Playback (the same I am using). I'll try to change GOP size and report any changes, but I don't think that is the problem. Also I'm forced to encode at 29.97 fps, but I don't think that's the problem either.

  6. #6
    Join Date
    Sep 2013
    Posts
    18

    Default

    Salvadore, I changed keyframe interval to 2 seconds, and I checked and even though the capture card is set to 29.97, FMLE encodes @30fps constant.

    Here are 2 live streams that I am publishing right now, one to Adobe Media Server and the other to Wowza Streaming Engine, can you tell the difference? I'll leave it streaming some minutes. Thanks

    WSE : http://usa3.lineadgroup.com/embed/?s...inst_/testlive

    AMS: http://usa3.lineadgroup.com/embed/?s...inst_/testlive

  7. #7
    Join Date
    Sep 2013
    Posts
    18

    Default

    Still problems with frame drops. Any ideas?

  8. #8
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Eduardo,

    500 + 64kbs is not very high, but for RTMP playback, choppiness is usually a bitrate/bandwidth problem. It might be a bottle-neck between the encoder and Wowza, or between Wowza and the playback client you are testing.

    You can use this tool at the playback client location to measure bandwith between Wowza and that client location.

    And you can use this tool at the encoder location to measure client to Wowza bandwidth

    You can eliminate the encoder-side, for testing purposes, by creating a server-side stream using this scheduler.

    Richard

  9. #9
    Join Date
    Sep 2013
    Posts
    18

    Default

    Quote Originally Posted by rrlanham View Post
    Eduardo,

    500 + 64kbs is not very high, but for RTMP playback, choppiness is usually a bitrate/bandwidth problem. It might be a bottle-neck between the encoder and Wowza, or between Wowza and the playback client you are testing.

    You can use this tool at the playback client location to measure bandwith between Wowza and that client location.

    And you can use this tool at the encoder location to measure client to Wowza bandwidth

    You can eliminate the encoder-side, for testing purposes, by creating a server-side stream using this scheduler.

    Richard
    My upload and download values are okay, way above the streams I'm trying to play, what I've realized is that Strobe Media Playback (the player I'm using) and I think Flash Player Video, drop frames when they're not able to play a single stream, while Strobe Media Playback buffers content when I provide an Adaptive bitrate stream to playback.

    So I think choppyness is a bandwidth related issue and sometimes FlashPlayer issue when there is some frame drops in low bandwidth streams. Overall in Adaptive bitrate I'm getting a relatively good playback but it's definitely not perfect.

    Another issue I'm having, that I'll be posting in the Transcoder forum, is that Wowza Transcoder produces variable frame rate streams. I am using Intel Quick Sync H.264 encoder version 1.4 with a i7 2600k CPU. CPU utilization is really low and I have lots of RAM available. I tried to tweak some params in the Transcoder but with not much success. Any ideas?

    Thanks.

    Eduardo

  10. #10
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Eduardo,

    The transcoder params you indicate you are working with might help, but in my own tests and other customers remarks, I haven't seen significant differences. I think it depends on the source and many other factors, that is difficult to transcode to actual CBR. I think if anything it is a constrained VBR, i.e. with high and low thresholds.

    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. Trancode on edge for RTMP stream playback
    By andy_c in forum AddOn: Transcoder
    Replies: 1
    Last Post: 09-12-2013, 05:57 AM
  2. RTMP Streaming is Choppy
    By rickhall in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 09-05-2013, 08:31 PM

Posting Permissions

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