Ask Your Question

DCT coefficients in MPEG

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

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



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

1 answer

Sort by » oldest newest most voted

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

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


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

Seen: 747 times

Last updated: Sep 19 '12