AAC audio causes stuttering in live video stream playback

I am using the Spark VideoDisplay component and setting the mx_internal bufferTime to 0.  (videoDisplay.mx_internal::videoPlayer.bufferTime = 0)  I am doing this because I need to have the absolute minimum delay in the live video stream.  I am broadcasting video files as a live stream using ffmpeg, through Red5, then to the client.  ffmpeg is not re-encoding the video or audio.  I am using h.264 video format.  I have tried encoding videos using Adobe Media Encoder and ffmpeg.
When I have a video stream only and no audio stream this works fine, but when I have an AAC audio channel with the video, I frequently see the video jitter badly.  It looks like the video is quickly going forward and back a few frames.  When this problem occurs it will go on for some time and sometimes eventualy starts playing normal.  When the video is playing normally the audio sounds fine.  When I play the videos in a regular media player (like VLC) they play and sound fine.  Also if I use an mp3 audio channel I don't see the jittering
Does anyone have any idea what the cause of this problem might be or how it can be resolved?

Ah, yes, I am not serving high-def video myself. H264 is probably better, but my understanding is that you need hardware acceleration to get good performance from it (again, not an expert on the topic, that's just what my understanding has been...)
This document [pdf] may have some usefull info on choosing an optimal encoding for your needs.
(Or you can see the full lecuture here [Adobe TV])

Similar Messages

  • Playback pauses and audio sync issues with live video stream

    I'm seeing playback pauses about every three seconds and audio sync issues with our live demo stream when using the OSMF/Strobe player.  It happens on both our 2Mbps 720p stream and our 480p 750Kbps stream so it does not seem to be related to higher resolution/bandwidth streams.  It also happens if I point directly to a stream asset or if I point to a .f4v with both streams listed for dynamic so it does not seem to be related to dynamic streaming specifically.
    The same live streams play back very well without pauses or audio sync issues in the Akamai's dynamic player and even slightly better with JW 5.2.
    I have viewed the OSMF/Strobe playback on three different laptops of various age (3 months to 2 years) and two are Windows and one is Linux.  I have also tried the various buffering options on the Flash Media Player Setup and Strobe setup and it has not made a noticeable difference.
    To see the stream with the Akamai player, go to:  http://live.kulabyte.com
    To see the stream with the OSMF/Strobe player, go to:  http://live.kulabyte.com/osmf
    I do not have JW set up for public viewing yet, but the two above show the distinct difference.
    We are really hoping to start pointing our customers towards the OSMF player because of the support provided by the community and Adobe, but we have to get the quality of the playback to be acceptable first.
    If someone has ideas on debugging I can PM the actual video assets to you.
    Thanks,
    Tim

    Hi Tim,
    You need to add this setting:
    dynamicStreamBufferTime=8
    The actual value can be higher or lower. The best practice is to use a value that is twice the keyframe distance. Anyway, try different values and see which performs the best for your content.
    I know that the setup page does not contain this option and it is not documented in the UserGuide. We simply missed it. Sorry.
    Also note that the dynamic buffering algorithms are not being used for dynamic streaming content. I tried to explain this here:
    https://sourceforge.net/adobe/smp/wiki/Dynamic%20Buffering/
    Looking forward to your confirmation that this solved your issue.
    -Andrian

  • Audio several seconds out of sync with live video stream.

    I did a live stream last week using 282,482,832,1500Kbps streams. What would cause the audio to get out of sync with the live video stream? I'm trying to determine if it was  bandwidth related, cpu/memory issue on the FMIS 4.5 server, or an issue with encoding PC exceeding it's limits?
    Thanks,
    Dave

    Which device are you using? Are audio and video coming from the same device or different devices?
    Is it a USB device? Try changing the device and see if there is any difference. Changing bitrates will not affect audio-video sync.

  • How to play live Video Stream with Flex?

    I'm trying to get Flex Builder 3 to play a live video stream with Flash Media
    Server and Flash Live Media Encoder.
    I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
    I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not
    with Flex.
    This code streams pre-recorded Video on Demand flvs, but not live streams:
    If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
    What am I doing wrong?
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:Label text="RTMP FMS 2.0"/>
            <mx:VideoDisplay
                autoBandWidthDetection="false"
                source="rtmp://localhost/vod/Legend.flv"/>
        </mx:HBox>
    </mx:Application>
    Oh and sorry for the double post. I didn't know there was a seperate FMS forum.

    That worked! Thanks  *very* much. Stupid of me to forget to set the live attribute to true. Also removed the .flv. BTW: what video component do you prefer?
    Here's the working code:
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:VideoDisplay
                live="true"
                autoBandWidthDetection="false"
                source="rtmp://localhost/live/livestream"/>
        </mx:HBox>
    </mx:Application>

  • Live video stream to both Flash and iOS problem

    Hi everyone, I'm Lucas. I Have learnt how to deliver a single live video stream to both Flash and iOS from this video
    But after that I got a problem with the ".f4m" file and ".m3u8" file (I think)  like this video below here. I don't know what happen with the server because my camera is still working perfectly.
    I now using Flash Media Server 4.5
    Does anyone know how to fix it?

    Try this :
    1: stop any stream.
    2: go to  root_install\applications\livepkgr\events\_definst_\liveevent and delete any .stream file that is in there
    3: Go to   root_install\applications\livepkgr\streams\_definst_ any livestream folder that is in there for example if you streamed with name livestream12 there should be a folder with the name livestream12, delete it.
    4: Then try streaming a single bitrate stream by adding to the FMLE the following parameters 
    FMS Url :  rtmp://localhost/livepkgr
    Stream: livestream?adbe-live-event=liveevent
    5: go to sample player and add this url to the field : http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m
    *If you have a public IP do the following :
    1: go to http://www.osmf.org/configurator/fmp/#
    and add this url  : http://public_ip/hds-live/livepkgr/_definst_/liveevent/livestream.f4m (replace localhost with your public IP)
    and from the advanced tab say that it is live.
    Give it a try!

  • Switching video source for live video streaming

    Is it possible to switch the video source from a video
    capture card to a standalone video during live video streaming? We
    are streaming live TV and we want to skip playing any
    advertisements.
    If this is not possible, what is the best way skip playing
    any advertisements? Do we have to do it at the client player level
    i.e. catch an event from the video player and play a predefined
    video when the live video stream is stopped?

    Thanks for reporting your fix. That news could be very important to those who delete events from their hard drive to save space, but may want to reload them later to do some editing.
    It sounds like the key is re-importing with exactly the same name as before.
    Just curious: What kind of camcorder? Was it MiniDV tape? Flash? Hard drive? DVD?
    It strikes me that with tape it might be difficult to reimport an exact match. If you start on a different frame, the pointers could be off. But if that is not the case, it is very good news.

  • How do you auto reconnect a live video stream broadcast in flash action script 3?

    how do you auto reconnect a live video stream broadcast in flash action script 3?
    so i don't have to ask people to refresh the page if the connection drops
    i copy pasted the live video stream broadcast files and script from here;
    http://www.adobe.com/devnet/adobe-media-server/articles/beginner_live_fms3.html
    http://www.adobe.com/content/dotcom/en/devnet/adobe-media-
    server/articles/beginner_live_fms3/_jcr_content/articlePrerequistes/multiplefiles
    /node_1278314297096/file.res/beginner_live_fms3.zip
    i don't know what i'm doing

    Why don't you use several layers with appropriate alpha properties, and move these layers according to the mouse events?

  • Director 11 using a webcam or live video streaming input

    I am looking for a solution to use input from a webcam or from any other live video stream in Director 11.
    I have tried using a Flash component but this does not work.
    The MyronXtra does not work with Director 11 too!
    Anyone has an idea?
    Thank you

    You can use this demo from valentin :
    http://valentin.dasdeck.com/xtras/ar_xtra/win/arxtra_win_v019.zip
    it could help
    Brahim AYI

  • Live video stream play permission on server-side

    I have a live video stream application one-to-many for
    example, and i want to send video only to few clients, not to all.
    Like:
    quote:
    application.onConnect = function(client, canSeeVideo) {
    // canSeeVideo = boolean
    this.acceptConnection(client);
    if (!canSeeVideo) client.receiveVideo(false);
    // and after this, can be swich to TRUE or FALSE ?
    client.receiveVideo(true);
    I only want to do restriction for Video, from server-side
    with FMS, or if can't be possible.. how can i put for example a
    black screen on video ? :) and after can be removed, etc...

    1.
    necesary client.receiveVideo() and client.receiveAudio()
    server-side functions
    Thank you fmslove for you trying to help me but
    client.readAccess property can NOT be set after client
    connection was accepted, and for me is useless. Any other
    solution(s) ? i strong recomend to Adobe FMS dev staff to implement
    this feature because is refering to security client-side solution
    from server-side. I have bad experience with users trying to modify
    the Flash Player (plug-in) run memory and set values for my swf
    without my accept, and is nothing that i can do from client-side
    like NetSream.receiveVideo(false) on many-to-many or one-to-many
    live A/V stream.
    2.
    a necesary server-side video encoder solution better than
    Sorenson Spark
    If in future FMS staff from Adobe will implement this
    necesary security feature on server-side like a copy of
    NetSream.receiveVideo() function from client-side, i will be happy
    if i see a solution to encode LIVE video stream on server-side
    because
    Sorenson Spark video encoder built-in Flash Player (plug-in) is
    very old and unuseful.
    If this can't be possible i hope the future Flash Player
    version (10) will have a better video encoder built-in than
    Sorenson Spark !!!

  • Live video stream keeps replaying parts of stream.

    While watching live video stream the video jumps back and replays what has already played.  It doesn't skip forward only replays, no problems with chopping stream or anything else.  Thanks for your help.

    Dear RahiSC.
    We actualy never found the solution to this problem. This issue was only there when we were using BlackMagic Studio cards using SDI link. Now we use Osprey video capture card using composite input and now everything works perfectly.
    After that we didn't yet try to resolve the issue when using BlackMagic Studio cards using SDI link.
    best regards,
    Borut.

  • Live video streaming not working

    My live video streaming is not work properly. I can watch video for a few seconds to a few minutes before it stops. Why??? What can be done to fix this?

    I downloaded a new version of the app NDTV , but the problem still persists .
    I am using iPhone 5 .
    Please advise, if there are any specific updates you are pointing to . Because I dont have any pending updates showing in App store

  • Hello, on an ipad 4 when watching a live video stream , came up with a blank picture with the quick time symbol in the middle, the sound worked perfectly but no picture ? any suggestions please ?

    hello, on an ipad 4, when watching a live video stream , came up with a blank picture with the quick time symbol in the middle, the sound worked perfectly but no picture ? any suggestions please ?

    We have a solution that allows you to do most of what you want, including bulding the form, having people fill it out either in Reader (as an XFA-PDF) or on the iPad (as an HTML form).
    You design the form once, and it will by styled correctly on the appropriate platform.
    For more information, check out these links:
    http://www.avoka.com/blog/2012/02/style/
    http://www.avoka.com/content/avoka/en/products/sff3/smartform-composer/features_and_demos. html
    http://www.avoka.com/content/avoka/en/products/sff3/avoka-smartform-factory.html

  • FMS3: Multiple live video streams

    Hi,
    After reading the features and documentation I have a doubt:
    Can I have multiple live video streams with FMSS at the same time?
    E.g.: Different TV stations broadcast to a single server, and
    then the user chooses what station wants to watch.
    Thanks,
    Oriol

    Contact them and ask them which video streaming standards they use.  The most popular are:
    Windows Media, Windows Media with DRM enabled, MPEG-4, Realplayer, Adobe Flash, and Silverlight. Microsoft has released a Silverlight update for Lion.  http://www.flip4mac.com/ allows native non-DRM Windows Media.  Alternatively, you may need virtualization*. Realplayer's latest update is Lion compatible.  MPEG-4 make sure the version of Quicktime you have installed is the latest.  Adobe's Flash, the same thing.  Also ask them if their website depends on ActiveX.  Again, with ActiveX, virtualization may be your only solution.

  • Rtmp live video streaming in ios

    Hello all ,
    I am trying to play rtmp live video streaming from my app developed in flash builder. The video is played in simulator. On Iphone the video is not played. Its a blank screen. Any idea how to rectify this ?
    rtmp used - rtmp://fms5.visionip.tv/live/RT_2 , stream id - RT_2

    Well, JMF doesn't support MPEG-4, so you'll want to do whatever you need to do to get the JPEG feed.
    The following code should allow you to view the web cam steam:
    MediaLocator ml = new MediaLocator("rtsp://whatever.blah:1234");
    DataSource ds = new DataSource(ml);
    Player p = Manager.createRealizedPlayer(ds);
    p.start();

  • Live Video Streaming from Remote Location?

    Hey guys,
    I have a semi-off topic question. I have a mac book pro and final cut studio. I need to stream a live video and audio feed from a live event in a few months. This feed has to get to another location in a format so they can stream it live over the internet. I will be receiving a composite video connection to stream. My job is to take the video and get it to the server room for streaming. Here are my three questions:
    1) What kind of connection should I request at the event location?
    2) How is the best way to get the video into my computer and then stream it?
    3) What format is the best and what's the best way to encode it on the fly? Hardware I guess?
    Thanks in advance for any help you can give me!!!!!!!!!!!!!

    1. You've already stated they're supplying you with a composite video feed. That would either be BNC (likely) or RCA (not so likely). Since composite video signals are analog, you'll need a DV device (camcorder, VTR or converter) to convert the incoming analog signal to a digital signal.
    2. Here's one method: http://www.apple.com/quicktime/tutorials/delivery.html Also take a look at the Tricaster family of products.
    3. See #2
    -DH

Maybe you are looking for

  • Cannot login, and lots of more of these problems

    I used to use the HP eprintcenter. This used to work properly. Then it changed into HPconnect. The worst site I ever seen. Let me sum up: 1) I cannot login... Initially I used Chrome as a browser, but his does not work, so HP does not know there are

  • Visited links using Safari on my iPad 2 won't stay the "visited" color

    Visited links using Safari on my iPad 2 won't stay the "visited" color after I close the tab, put the iPad in sleep mode (or whatever it's called), or when I power off the iPad. There are certain sites I visit where it comes in very handy to be able

  • Do I use DnD or MouseMotionListener ?

    I am wondering about the pros and cons of using dnd api vs. MouseListener/MouseMotionListener. I am experimenting with drag-and-drop using a simple app that allows components to be rearranged by dragging. Here is a description of desired test program

  • How to use ipad in its full potential with iTunes?

    I was using android tab for all these years , bought a iPad mini last month and am stuck with the main issue File transfer from PC to ipad Using ITunes is similar to learning automobile engineering to drive a car . Is there any simple software for fi

  • My iWeb links don't reflect the correct 'rollover' color once published.

    On one of my sites (I have several 'practice' ones that I use before publishing the real one), the hyperlinks don't show the formatted 'rollover' color or underline as I set them in the Inspector. The setting is exactly the same as my other pages, bu