how can open raw data video file

asked 2018-10-23 01:12:07 -0500

kishan patel gravatar image

updated 2018-10-23 01:12:34 -0500

Hello, I could not open raw-data video file(BGR format) in OpenCV. This file can be open in media-player software. So, is it possible to open that type of file? If yes, then how can?

Regards, Kishan Patel.

edit retag flag offensive close merge delete

Comments

it's unclear, what you mean here. can you try to explain it a little better ?

berak gravatar imageberak ( 2018-10-23 02:07:27 -0500 )edit

Yes, can we open video-file(contains raw data, BGR format) using Videocapture?

kishan patel gravatar imagekishan patel ( 2018-10-23 02:15:32 -0500 )edit

Hello Berak,Have you got my question?

kishan patel gravatar imagekishan patel ( 2018-10-23 05:11:06 -0500 )edit

yea, but no idea. we also don't know what your data is, exactly, or what code you're tring with

berak gravatar imageberak ( 2018-10-23 05:13:36 -0500 )edit

I am using simple demo of opencv to raed videofile and display.

kishan patel gravatar imagekishan patel ( 2018-10-23 05:16:43 -0500 )edit

Is it possible to open video file(contains raw data in BGR format) using "Videocapture"?

kishan patel gravatar imagekishan patel ( 2018-10-23 05:25:58 -0500 )edit

You said it didn't work, therefore the answer is no. You cannot open it using VideoCapture.

Now, I personally know at least 30 "raw data" formats, so you'll have to be just a bit more specific.

Tetragramm gravatar imageTetragramm ( 2018-10-24 21:11:24 -0500 )edit

Ok Tetragramm, The raw data file format is BGR, width=640, height=480. As you told we can not open raw data file directly using Videocapture, i had doubt about it. So, i had open that raw data file and convert into Matrix then it can display by imshow function.

kishan patel gravatar imagekishan patel ( 2018-10-24 23:15:56 -0500 )edit