Viewing AVI files

I've tried using the AVI viewing example that comes with Vision ("read avi example") but it views the AVI file very slowly - often slowing down to a frame rate of about 1/second.  All of the AVI viewing examples do this.  It doesn't matter which codec is used in the file or the frame resolution.  My CPU usage exceeds 50% at this point.  Uncompressed AVI files are viewed ALMOST at the correct frame rate with a CPU usage of about 25%.  Can anyone tell me what's going on?
I'm running Labview 2009 with the Vision Development module installed, on a dual core pentium with 4 gigs or ram.
I have no problem playing AVI files with other programs.
Thanks.
Attachments:
Clip_9.jpg ‏59 KB

ratkindler1 wrote:
Thanks for the reply.  I can play AVI files with other players without any problems, so I don't think it's the hard drive.  When playing AVIs, the cpu usage is very low, but when playing then with Labview the cpu usage is very high and the frame rate drops down to almost 2 frames per second no matter what vi I'm using.  Loading the whole AVI into memory is completely impractical and wouldn't solve the read problem. 
I've tried converting the AVIs to many different codecs but the problem is still the same.  Is there any way to specify which decompression codec IMAQ AVI Read Frame uses?   I'm wondering if it's just using an inefficient decoder instead of one of my other installed decoders like FFDShow. 
Splitting the reading process from the viewing / analysis process also wouldn't solve the problem since it seems to take about 15 seconds to read in 1 second of video anyway and it is overtaxing my cpu still. 
You can always use ActiveX to read the AVI with whatever player you wish into LabVIEW but I don't think this would be a satisfying solution. I am surprised you can't get your AVI to play correctly in LabVIEW :-o
How did you create this AVI? Can you post it here or make it available somewhere?
Trying to help...
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Similar Messages

  • Is it possible to view AVI files in iTunes?

    is it possible to view AVI files in iTunes?  If yes, what codecs are required ?

    No, it is not possible, but you can always download any video converter. Or open your AVI file with QuickTime.
    Hope this was helpful

  • Cannot view avi files

    I am trying to view .AVI files in Quicktime, the screen opens blank and the timer moves forward but no picture appears. Help would be appreciated.
    Thankyou

    QT support .mov better, but not .avi. Besides to use another player, you can try to do a simple conversion with the video converter. It's kind of the tool to convert .avi to .mov for QuickTime, for the occasion that you need QT to edit your videos.

  • Can't view AVI files on Quick Time.

    I have several AVI files on my MAC hard drive brought over from PC. I can't view AVI files on Quick Time. How can I view or possibly convert AVI files to view on iMac?

    Download and install Perian. http://perian.org

  • Viewing .AVI files iin iTunes

    Hi, is there any way of viewing .AVI files in iTunes, and if so is it possible to make them viewable on a Video iPod?
    Thanks.

    I don't believe AVI is one of the supported formats. You are probably better off converting it to an MPEG format.

  • Out of memory error to view AVI files

    Hi everyone,
    I've imported 6 AVI files from the same source into the browser. All work fine except for 2 of them. When I click on those files in the browser to preview them in the viewer, I receive 2 messages: the first one is 'general error', the second 'out of memory'. What strikes me is that in the browser, the duration marks 0 although the files are respectively 4MB and 1,6MB. I've compared them to the 4 others and they are similar. Any idea would be welcome. Many thanks in advance.

    Welcome to the forum!
    AVI files don't work with FCP. FCP is based in Quicktime. You will need to convert all you AVI files to an quicktime editing codec like ProRes or DV-NTSC You can find a list of editing codecs in FCP's Easy Setup. You can use Compressor to convert the files.

  • View Avi files in Apple Tv 2

    I have just bought a Apple TV2, and when I tried to view some AVI files / movies on it, I couldn't since iTunes appears not to recognize it.
    What am I doing wrong?
    All I can see on Apple TV must be puted in iTunes? If I produce my own video I must share it on iTunes to see on TV?
    Thanks for any help
    Tiago B

    The Apple TV doesn't support AVI. Don't create your own videos in AVI, it is an old and outdated format, that even it's creators (M$) dropped 15 years ago.
    Video formats
    H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    Audio formats supported
    HE-AAC (V1), AAC (16 to 320 Kbps), protected AAC (from iTunes Store), MP3 (16 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, and 4), Apple Lossless, AIFF, and WAV; Dolby Digital 5.1 surround sound pass-through
    Photo formats
    JPEG, GIF, TIFF

  • How to view .avi files?

    i have some .avi files that i would like to convert to a format that can be viewed on the iphone. there were several applications from the windows world that i used to use, and i know there must be for some for osx too. any recommendations?
    regards,
    peter

    videomonkey, handbrake, mpeg streamclip-take your pick.
    All free, all work well.
    http://www.macupdate.com/info.php/id/30667
    http://www.squared5.com/
    http://handbrake.fr/

  • I can't view avi files - please help!

    I recently bought a Samsung Smartcam, which in the booklet says it saves in JMPEG format ("video compression format H.264, MJPEG"), however when I open the files they have been saved as AVI, which my Mac won't open.
    I have a MacBook Pro running the latest version of Yosemite.
    Will I have to download a converter and convert all the videos I want to view, or is there another way? I looked at the settings on the camera and it doesn't give me an option to change the format.
    Cheers,
    Wendi

    I recently bought a Samsung Smartcam, which in the booklet says it saves in JMPEG format ("video compression format H.264, MJPEG"), however when I open the files they have been saved as AVI, which my Mac won't open.
    H.264 (MPEG-4 AVC) and MJPEG are two different methods for compressing video data. Both are playback compatible with QT. AVI is a file container. It is also compatible with QT under Yosemite. However, QT is not programmed to play AVI files that do not contain MJPEG compressed video with or without some form of PCM encoded audio. So the primary question here is "What kind of data is in the AVI container?"
    Will I have to download a converter and convert all the videos I want to view, or is there another way? I looked at the settings on the camera and it doesn't give me an option to change the format.
    Unless the device records both H.264 and MJPEG simultaneously and stores both to AVI files (which alone would prevent playback), there must be a setting, either built into the device or controlled by separate software, that allows you to switch between H.264 (in a different file container) and MJPEG in the AVI file container. I would recommend trying to open the file in a third-party player like VLC to see if the file will play and what kind of data formats the file actually contains. As to the conversion of data—that would normally be a last resort to be used only if necessary.

  • Problem viewing AVI files with quicktime plugin

    I have quicktime 7.6 and perian installed
    When I try to stream an AVI file I can hear sound but no video is displayed
    If I download the file and I then play it with quicktime everything is fine
    If I remove perian then I will be able to stream from the website but of course unable to play MKV, Divx and Xvid files
    I have removed all obsolete codecs and I am running out of ideas on what is wrong with the system

    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them).
    However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from
    http://www.divx.com/divx/mac/

  • How to view AVI files in Powerbook G4?

    Hello again,
    I hope somebody could advise me on what to do to be able to view my review CD's which are in AVI format. I want to be able to use my Powerbook in my review kindly help me out. Thanks!

    Hello again,
    I hope somebody could advise me on what to do to be
    able to view my review CD's which are in AVI format.
    I want to be able to use my Powerbook in my review
    kindly help me out. Thanks!
    You need a media player such as VLC.
    can be found here - http://www.videolan.org/vlc/
    Hope this helps.
    Robin

  • Possible to view .avi files in Quicktime on an Intel?

    I can't seem to find a solution. Anyone else found one?

    Download and install the DivX codec for intel:
    http://community.divx.com/labs/viewEntry.php?id=157&cid=3
    Download and install the XviD codec for intel:
    http://n.ethz.ch/student/naegelic/download/
    95% of your avi playability issues (on up-to-date standard codecs anyway) will be solved.
    VLC for intel handles an additional 4%. Drag-n-drop iSquint conversions cover the remaining 1%.
    Popwire handles your WMVs - most anyway. And Flip4Mac handles your browser-based WMVs. Real Player for intel handles the balance.
    That covers most day-to-day playability issues for me.

  • Viewing avi and wmv files with QT 10.1 and OS 10.7.4

    In the last couple days, I think since I installed the last upgrade in the OS, my QT is 'unable to complete the process' of opening wmv files.
    Months ago, I think after I upgraded to Lion, QT stopped allowing me to view avi files.  The file opens, and I can scroll through the content, but to 'play' button doesn't work.  I can still view those files using DivX Player 8.2.2.
    These are all files that used to work just fine with QT.  Is there anything I can do to restore this functionality to QT?

    Use only QT 7 for those.
    Download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac and operating system, of:
    Flip4Mac WMV Player from  http://www.telestream.net/flip4mac-wmv/overview.htm  (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from  http://perian.org/
    You should read this support page  http://perian.org/#support   in case you need to delete older codecs.  In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them), particularly any DivX extension to Safari. However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from  http://www.divx.com/en/software/mac

  • Quicktime doesn't open AVI file with Perian installed

    I have installed Perian but Quicktime X doesn't open AVI files for a week. I have repaired permissions. But Quicktime only plays the AVI file if I reboot the Mac. VLC always plays the file. The AVI codec is XVID. Quicktime doesn't play other formats such as FLV. I have deleted .plist files, com.apple.QuickTimePlayerX.plist. I have found other files(com.apple.QuickTimePlayerX.plist.0GH3f31, com.apple.QuickTimePlayerX.plist.0h9MBzV...) that I deleted also. Any idea? Thanks

    And now ... surprisingly I view AVI files in Quicktime without Perian.
    QT has very limited AVI support (file type and a few older codecs) built in. Most common codecs use by Windows users, however, require the additional support provided by Perian. If the AVI files are now playing in QT without Perian, then simply check the Inspector, Properties, or Info window to see which codecs are in your AVI file and you should be able to tell if they are among those supported "natively" by QT. Also note that this regaining of the ability to play your files may indicate a component conflict of some sort may have existed previously.

  • AVI Files in 10.3 and 9.2

    Okay, I have a samll collection fo AVI files on my ibook. I have installed both codecs for OS 9 and X onto the Hard Drive. The videos are crisp in OS 9 when loaded onto the hard drive. Yet, some tends to drop frames in OS X. I have already maxed out the RAM and have a 5400 RPM Hard Drive. Is this possibly because of using QUICKTIME 7? Is the machine just too old? Thanx!

    I don't know if this helps but I haven't been able to view avi files in QT either. After trying many times I finally downloaded VLC Media Player and it works fine. You can find it at Version Tracker.

Maybe you are looking for

  • Smartforms: How 2 fire print & download 2 PDF simultaniously 4  my forms

    Dear Murugesh, Cristian   The following is my piece of code which directly downloads my forms into PDF but not creating any spool 4 firing print , 1) I need the both to happen simultaniously . 2) I need to include the o/p(either SAPScript/report o/p)

  • WMI filter working for some Windows 7 machines but not for others

    I'm trying to use this WMI filter for our Windows 7 64bit machines: select * from Win32_OperatingSystem where (Caption like "Microsoft Windows 7%") or (Version like "6.1%" and ProductType = "1" and OSArchitecture = "64 ビット") or (OSArchitecture like "

  • Group Policy Configure Automatic Updates to DISABLED

     Single Primary Site running SCCM 2012 R2. SUP configured using port 8530/8531. Group Policy Configure Automatic Updates to DISABLED. is in place. Do we need to disable the group policy for SCCM to deploy updates? if it stays then how do we distribut

  • Licensing for my cs4 has stopped working?

    i have a macbook pro with yosemite osx installed. photoshop cs4. i get this error message at least once a day, if not more. it usually opens without a problem after closing the program and reopening it, but i am still concerned about this. i'm not su

  • Bridge and ACR

    Does any body else suspect that Adobe may release Bridge+ACR as a stand along package at some point in the future? If they did than they could satisfy almost all raw work flow needs: 1) File tree based raw converter (Bridge+ACR) 2) Data base based ra