DSPRelated.com
Forums

Internal Structure of an MPEG Frame

Started by ambi...@yahoo.co.in March 9, 2010
Hi,
I want to know the internal structure of an MPEG frame.I am doing my project on "motion detection in the compressed domain".So my first step of the project is to parse the MPEG video and get the header information.I was able to get the frames(Like which is the I frame or B frame).But as I don't know the internal structure of the frame,I am not able to proceed further.So please provide me with the required information.
Waiting for your reply.
Thanks,
Ambili S
Hi Ambili,

If you are talking about mpeg2 encoded video, then you can take a look into mplayer code for this. There is a folder called "libmpeg2" where you find the .c files for decoding mpeg2 encoded streams. I think header.c is the file where you can find how to parse the stream.
If you need more details I can help you further: for getting the decoded row frames and also with motion detection in frames.
Good luck !
Elis

--- In i..., ambili157@... wrote:
>
> Hi,
> I want to know the internal structure of an MPEG frame.I am doing my project on "motion detection in the compressed domain".So my first step of the project is to parse the MPEG video and get the header information.I was able to get the frames(Like which is the I frame or B frame).But as I don't know the internal structure of the frame,I am not able to proceed further.So please provide me with the required information.
> Waiting for your reply.
> Thanks,
> Ambili S
>