Recorded avi is played too fast

I am actually using Labview 8.6 with NI Vision Acquisition Software and USB camera. I made an application, that simply captures the images from the camera and write them to avi file. The issue is that when I want to play recorded movie, it goes like fast forward during play.
Example: I record 10s movie and when I play it, the length is shortened to 5s and it goes like fast-forward.
Anyone had similar issue?? Thank you in advance for your help!!

Hi Chaded,
I've had a look at your code and set it up with a camera at my end. It seems that although the fps is set within the express VI, it is not always operating at that rate. This makes it difficult to synchronise the two parts of your code. So what we can do is create a producer consumer architecture that will solve this issue. Iv attached the standard Producer/Consumer to this post so you can build onto that.
To explain the concept of a Producer/Consumer first. It works because it has two loops, which can run at different rates. The aptly named producer loop "produces" the data, and places this data into a queue. This is then "consumed" or "processed" within the consumer loop.
So specific to your application. You will need to build your image acquisition into the producer loop, running at X fps, then in the consumer loop you will need to set up the build .avi functionality as you have in your previous example again running at the same X fps.
Post back if you have any more questions.
Richard S
Applications Engineer
Certified LabVIEW Associate Developer
National Instruments UK&Ireland
Attachments:
ProducerConsumer.vi ‏12 KB

Similar Messages

  • When i record the track plays too fast

    when i record the track plays fast and when i pause it and press play it play normal but when i press record it starts playing squeeky and faster?? any one can help

    What audio interface are you using with Audition? Make sure all Windows Sounds are turned off because otherwise Windows may grab the soundcard and change the sample rate without you knowing.
    Yes upgrade route/price to AA3 is available for any previous version of Audition.
    https://store5.adobe.com/cfusion/store/index.cfm?&store=OLS-UK&view=ols_prod&category=/App lications/Audition&distributionMethod=UPGRADE&nr=0#store=OLS-UK&view=ols_prod&loc=en_gb&ca tegory=/Applications/Audition

  • CS4 premiere Imported .avi files play too fast

    Hi Guys
    I have a problem. I'm new to CS4 having used Adobe Premiere 6.0 in the past and I have never had this issue when importing .AVI files. What happens is that the file play fine in my windows enviroment and on all my players VLC,DIVX, Windows media player.
    But as soon as I import these files into my project at 29.97 frames the video plays really really fast and the sound plays at the normal rate. If I try to change the frame rate the sound also changes. Now here is the strange part. If I convert the files to MP4 they play fine! but the quailty of the video takes a massive hit as you know.
    I tried to convert the files to .MOV, MPG (which the program won't play) and most other types of video files but MP4 seems to be the only one that works! When I really want the higher quailty .AVI. Again the files play fine outside of CS4 Premiere and I have already converted them from a Panasonic AVCHD encode format.
    Please if anyone has any advise it would be great as I have to get this sorted for a x-mas present!
    Richard
    Running
    Windows Vista Ulimate
    4GB RAM
    Quad core Intel chip
    CS4 version 4.1.0

    First, work through all of the steps here http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with the DETAILS asked for in the questions at the end of that link
    PS you are in the wrong forum http://forums.adobe.com/community/premiere/premierepro_current

  • Videos play too fast on ipad - sounds like super high speed mini mouse

    We just bought the ipad and when we play videos on vimeo or youtube they play at an ultra high speed like the fps is messed up - it sounds like a record being played too fast
    Is this our ipad or a setting - we are worried because we do not see the problem listed anywhere else.
    Thanks!

    Have your rebooted/restarted your iPad? you do that by pressing the Home and power/sleep button at the same time until the slider to power off the iPad appears. Slide the slider and when screen activity stops depress the two buttons again until the Apple logo appears. When the iPad completes rebooting try again to see if that solved your problem.

  • Music plays too fast-help!

    I have downloaded itunes to my Compaq laptop and all music plays too fast. I don't think it's an itunes problem, i think it's something i need to adjust on the laptop, but I can't figure out what to adjust. Any thoughts?

    Hi- thanks for the direction.. unfortunatey, same problem but no answers there on that link that I could see.. Also, i'm not recording my voice but am plugging in MP3 songs. Any other ideas?

  • FLV inserted to page no probs but plays too fast!

    I've used the Insert Flash Video feature on dreamweaver 8 to
    add a video clip to one of my family web pages
    www.nzgreens.me.uk/house
    It has up loaded and plays, but is far too fast.
    We've moved to New Zealand and it's for our family and
    friends in the UK to view. Please please please can someone tell me
    why it would be playing too fast?

    Green Kiwi wrote:
    > Could be. I used a piece of free software from
    1and1.co.uk (they host my site)
    > its called Prism Video Converter. Never used it before
    but was very simple. So
    > simple that it never even talked about encoding.
    >
    > I do have flash 8, but I've only had it about a week and
    don't really know
    > what I'm doing. I know that it can convert video into
    FLV format. Do you think
    > I should try converting it through Flash 8 instead?
    I think you should give it ago, the Flash Encoder is straight
    forward
    from what I remember.
    Steve

  • How can I fix corrupted audiobooks category--plays too fast and is gravelly?

    How can I fix corrupted audiobooks category--plays too fast and is gravelly? Other music categories are unaffected..

    On the audio book (and podcast) playing screen there is a playback speed selector. It is the box on the right hand side of the screen right below the scrubber bar. It say either 1/2X, 1X or 2X, the playback speeds. Tap the box to cycle through the playback speeds.

  • My podcasts play too fast in my iphone

    I did not had a problem before but now with the same podcasts I use to listen to they play too fast. You can still understand them but it is not pleasant at all. Does anyone has the same problem and was able to solve it?

    It's likely you accidentally touched the button that speeds up playback to 1.5x.

  • Bounced tracks play too fast in iTunes

    This is a continuation of an old thread that was never resolved:
    http://discussions.apple.com/thread.jspa?threadID=853393
    Basically, nothing has changed. I can bounce my tracks from Logic, and they play fine everywhere except iTunes, where they play too fast. I can play them on my iPod in the car and everything works at normal speed.
    All my iTunes tracks (including the ones bounced from Logic) share the following characteristics:
    192 kbps
    44.1 kHz
    Profile: Low Complexity
    However, the Logic tracks play fast, whereas everything else plays normally.
    I have a standard G5 sound card, not a 3rd party one.
    I'm about to conclude that this is a standard limitation with Logic, that tracks created there cannot be listened to at regular speed in iTunes. Is that a known issue? Is this limitation by design?

    Sorry for the slow reply. Yes, that is the problem I'm having, and it's so weird, I thought maybe there was some wacky glitch in the program. Logic is not without its bizarre idiosyncrasies, as you've probably noticed yourself.
    Check this out for bizarre: I've bounced these tunes down to my iPod, where I can listen to them over headphones, in my car, etc, with the tracks playing at the right speed. However, if I plug that same ipod into my home stereo in the living room (where the laptop is also plugged in), and play those same tracks, they play too fast. I know, it doesn't make sense. But I'm not imagining it. It's completely crazy.
    In Audio Midi Setup my audio output is set for 44.1khz.
    Anyhow, the problem is less consistent these days. That is, sometimes I can bounce a track down and it plays right. Othertimes, not. I still haven't found the common denominator to this problem, but if I discover anything, I'll post it here.

  • Music/audio plays too fast

    using a new laptop (this compaq) and installed itunes. All music/audio, whether from a CD, or itunes or the audio from a website, plays too fast. I've tried lots of things -found a page in the support section (tried all except the driver thing) -- ANY THOUGHTS?? THis is driving me crazy and can't do anything w/ my ipod except listen to what's already on there!

    You may want to check your soundcard output in QuickTime. See this post for directions on the process: http://discussions.apple.com/message.jspa;jsessionid=aXxb7IZbMDPmI_4E?messageID=814726&ft=y&#814726
    And this Article: iTunes and QuickTime for Windows: Songs and other audio don't play correctly
    And before you do any of the above, make sure that you have all the recent Windows Updates from windowsupdate.com. Make sure you have the latest drivers for your particular sound card, and make sure you have the latest DirectX installed. Any of these could also cause this problem without QuickTime being the culprit.

  • FLV sometimes plays too fast

    Hi,
        Can any one help how to resolve the issue some flvs play too fast but same flvs play normal most of the time. I am using NetStream class to play the flv.
    here is play method I am using   and link of demo and entire source.
    private function play():void 
    if(btnPP.label == "Play"){
    stream.resume();
    else
    stream.pause();
    Please see this link : http://ec202.classicinformatics.com/demo/cropper/
    Thanks in advance,
    Prem

    Green Kiwi wrote:
    > Could be. I used a piece of free software from
    1and1.co.uk (they host my site)
    > its called Prism Video Converter. Never used it before
    but was very simple. So
    > simple that it never even talked about encoding.
    >
    > I do have flash 8, but I've only had it about a week and
    don't really know
    > what I'm doing. I know that it can convert video into
    FLV format. Do you think
    > I should try converting it through Flash 8 instead?
    I think you should give it ago, the Flash Encoder is straight
    forward
    from what I remember.
    Steve

  • Microsoft 2000 OS, all videos playing too fast, what to do?

    Have MS 2000 Professional OS
    All online streaming videos (like youtube) playing too fast, extremely annoying rushing "chipmunk" effect.

    Word is getting around on the internet that Apple has basically stopped monitoring and moderating these forums. Expect to see this sort of thing increasing. If Apple isn't going to keep a lid on trolling like this then they had better just shut the forums down. It won't take long for these forums to be totally overrun by Mac bashers, trolls, and Windows fanboys. There's something about the Mac that scares them and makes them feel insecure.

  • Audio book plays too fast on the ipad - how do i fix it?

    audio book plays too fast on the ipad - how do i fix it?

    While I don't listen to audiobooks on myh iPad, the following might apply in your case:
    When you navigate to the player controls in the iPod app, in older OS's, and perhaps still in the Music app in iOS 5, you will see a variable speed control on the right hand side of the scrubber bar. Sequential taps on that change the speeds.
    This does appear in spoken content only, I think, as I see it in podcasts all the time. It's not there for video or music content, so I'd expect it to appear for Audiobooks as well.

  • Streaming audio plays too fast on car stereo

    Streaming audio plays too fast on car stereo with iPhone 4S

    how do you play it on the car stereo?
    because if it's using the 3.5mm headset connector or even the analog out from the pin30 then it's
    100% the same sound output from the phone as it provide a headset

  • Audio recording/playback plays too fast, faster than Video

    : Whenever I record sound from my computer, whether it's from my mic or just sounds playing on the computer, the recorded file always plays the audio faster than the video. I've checked the drivers and re-installed several times, even reformatted and it's still the same thing. I even played around with the hardware acceleration meter with trial and error and it end's up always the same.
    What could be the problem?

    Try turning off automatic exposure in the settings. And adjust some of the other settings (gamma, brightness, exposure) until you get a picture which you're happy with. And try that. In the UK, films are made at 24fps (frames per second) PAL format, and in America it's 30fps NTSC format. So yes, 30fps is as good as it gets! It's as good as TV and better than a lot of other webcams.

Maybe you are looking for

  • I restored my ipod and when i try to see my pics, it says they're downloading and its been 5 hours and it wont come off. help??

    I have a 4th gen white iTouch and I use iMessage alot. Sometimes the messages on there won't send and I don't know why. Today I clicked on "Reset All Settings", because last time I did that, the iMessage started working again. But today it locked me

  • DAQCard6024e & USB-RS232 Conflicts?

    Has anyone had problems using both a DAQCard-6024E in a notebook computer that also uses a generic USB to RS232 converter? We've had several instances in different computers and different USB-RS232 converters where not long after installing and using

  • Create materialized view from Designer9i

    Is there a way to create a materialized view from Oracle Designer 9i that will that have a header that look like this : CREATE MATERIALIZED VIEW XXXXXXXXX REFRESH COMPLETE ON DEMAND WITH PRIMARY KEY Instead of this : CREATE MATERIALIZED VIEW XXXXXXXX

  • Can't export as Html (Waiting for all files to be ready...)

    Made a bunch of updates last night to a client site.  Everything looks great except I can't export as Html. Had my sister try to export on her computer and we both get to 87%, then it permanently stalls, saying "Waiting for all files to be ready" (Se

  • Not able to see sid

    Hi, Pls tell me the way by which i'll get output for ps -ef|grep pmon as i'm getting only.. # ps -ef|grep pmon root 5137 5132 0 21:03:27 pts/4 0:00 grep pmon even sid also set for this.. due to this i'm notable to create database. pls help.. see outp