PDA

View Full Version : MPEG4 and H.264 video format



edesign
05-07-2009, 04:00 AM
Hi,

I want to read header of MPEG4 and H.264 videos, (no decoding) , in fact I just want their start codes...but I don't seem to find them on net...can anybody help?

-Edesign

matsp
05-07-2009, 04:14 AM
H.264/MPEG-4 AVC - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/H.264)
MPEG-4 Part 14 - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/MPEG-4_Part_14)
Perhaps of any help?

--
Mats

edesign
05-07-2009, 05:34 AM
Nope...I had a look at them... Basically I want a detailed header kind of stuff. bytes and their meanings....but can't find anywhere.. :(

Thanks for trying..

Edesign

stevesmithx
05-07-2009, 06:13 AM
http://www.wotsit.org/

bithub
05-07-2009, 10:19 AM
Maybe you should go into a little more detail on what you're looking for. MPEG4 start codes are anything that starts with 0x00 0x00 0x01. H.264 may or may not have start codes. If it does, then they will also start with 0x00 0x00 0x01.

edesign
05-08-2009, 01:03 AM
Basically my task was to check incoming data stream and set the status which stream is that.. mpeg4 or H.264...

Elysia
05-08-2009, 02:38 AM
I believe this kind of thing is more commonly stored inside the containers, so you should probably specify what kind of container you're looking to use?
Not 100% sure, but there are raw H264 streams out there, so it's certainly possible to the, if there is one.
I'd recommend mkv as a container format, btw.

edesign
05-08-2009, 04:00 AM
You are right, they are contained in some container.. but my task is not to bother abt container format...

My part comes into picture ater the video is moved out of container, so it's now a video stream compressed either in MPEG4 or H.264 ... Well checking a few files reveal that for MPEG4 it is 00 00 01 BX... and for H264 it is 00 00 01 mostly...

Btw, Thanks all for help..

Edesign