LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2015 - IMAQ codec issue

I have problem with processing AVI file with such kind of specification (taken from ffprobe):

Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p(pc), 640x480 [SAR 1:1 DAR 4:3], 3141 kb/s, 25 fps, 25 tbr, 25 tbn

 

When I try to open this file I get error:

Bez tytułu2.png

 

Here is response from "get codec names" component:

Bez tytułu.png

 

I have LabVIEW 2015 (32-bit) and Windows 7. It's similar topic here. Anyway it doesn't solve my problem. It's looks like I don't have proper codec for my file. What should I install? I guess MPEG-4 V4???

0 Kudos
Message 1 of 3
(968 Views)

Hello maciej_fajfer,

Try to understand which codec was used for creating your AVI, because error said that there is no appropriate codec for processing.

Find that codec where/whom you got this AVI from and install it.

0 Kudos
Message 2 of 3
(927 Views)
Thank you for your response. It's looks like I have proper codec but LabVIEW can't find it. This AVI file works perfect under Windows with for example Windows Media Player. There's also second issue with large AVI file (about 2 GB). It's sometimes give frame reading error. Due to that I don't use "AVI open" and so on. I've found this: https://forums.ni.com/t5/Example-Program-Drafts/Labview-MP4-Video-File-Read-Write/ta-p/3976751 It works perfect with IMAQ and I can read AVI and MP4 files. Anyway I had to edit "ffmpeg_VideoSize.vi" file because there was some issue with LabVIEW 2015.
0 Kudos
Message 3 of 3
(916 Views)