windows - OpenCV videos across platform -


I am writing a video on Linux machine using OpenCV . I want to read the same video on Windows machine using OpenCV I am not able to use the standard codec provided in openCV .

Can someone suggest how can I read / write videos in two platforms?

OpenCV wiki directly addresses this issue. Unfortunately, only codec 'DIB' supported on all three platforms (Linux, Windows and OSX) are 'I420' and 'IUUUV', which are all uncompressed video codecs and thus really create large file sizes.

Also lists some codecs in the wiki which can work on any two platforms, but not all three.

If you decide to use uncompressed video files, you can convert them to something with a small file, like they are on your windows machine just like the program.

Edit: FYI, I have given OpenCV output in Motion-JPEG, and then I would like to correct a bug with the movie's index Use virtualdube to retrieve directstream copy mode. These M-JPEG video files then play on Mac and Windows by default.

If I'm trying to read the video in OpenCV, then I will often convert my video to CinePak (using virtual dub, QuickTime etc.) and then open it in OpenCV Will feed I use cinepak because for some reason cinepak encoders seem more mjpeg encoders.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -