First time here? Check out the FAQ!

Ask Your Question
0

how can open raw data video file

asked Oct 23 '18

kishan patel gravatar image

updated Oct 23 '18

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.

Preview: (hide)

Comments

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

berak gravatar imageberak (Oct 23 '18)edit

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

kishan patel gravatar imagekishan patel (Oct 23 '18)edit

Hello Berak,Have you got my question?

kishan patel gravatar imagekishan patel (Oct 23 '18)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 (Oct 23 '18)edit

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

kishan patel gravatar imagekishan patel (Oct 23 '18)edit

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

kishan patel gravatar imagekishan patel (Oct 23 '18)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 (Oct 25 '18)edit

1 answer

Sort by » oldest newest most voted
0

answered Oct 25 '18

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.

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Oct 23 '18

Seen: 1,168 times

Last updated: Oct 23 '18