Ask Your Question
0

how can open raw data video file

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

kishan patel gravatar image

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

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 -0600 )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 -0600 )edit

Hello Berak,Have you got my question?

kishan patel gravatar imagekishan patel ( 2018-10-23 05:11:06 -0600 )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 -0600 )edit

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

kishan patel gravatar imagekishan patel ( 2018-10-23 05:16:43 -0600 )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 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-10-24 23:15:56 -0600

kishan patel gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-10-23 01:12:07 -0600

Seen: 1,071 times

Last updated: Oct 23 '18