Ask Your Question
1

DCT coefficients in MPEG

asked 2012-07-13 07:01:43 -0600

adeesha gravatar image

I want to find the DCT coefficients in MPEG video. I know OpenCV can decode MPEG videos and give frames as images. But I want to know the DCT coefficients for a frame. This should be somewhere middle in the decoding process. can anyone tell me, is there any method to get DCT coefficients or the method that OpenCV uses to decode the MPEG video and where is it implemented? Thanks in advance.

edit retag flag offensive close merge delete

Comments

3

OpenCV uses ffmpeg, I'm not sure that it is possible to get DCT coefficients...

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-07-13 10:56:44 -0600 )edit

1 answer

Sort by » oldest newest most voted
2

answered 2012-09-19 06:14:29 -0600

Vadim Pisarevsky gravatar image

It's not possible with OpenCV and it's out of the current scope of OpenCV. You can use ffmpeg or other similar library for accessing low-level information in video streams.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-13 07:01:43 -0600

Seen: 920 times

Last updated: Sep 19 '12