Hello people,
I'm a newbie in mpeg files but i need to write a program to parse one. All was going smoothly when i got to one part where the hex dump of the mpeg stream looks like this:
... 00 00 01 00, 02 , 00 00 01 E0, ....
As you can see, separated by commas are the start codes for a Frame and a Video stream. What i don't get is that 02 in the middle, i mean wasn't it supposed to be followed by more 3 or 4 bytes? I suppose the answer is no because the mpeg file can be loaded into any mpeg player or inspector .
So my question is simples: What is happening here? I need to get the frame number and type, but i can't do that since the header has only one byte.....
Appreciate your help.
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
parse ts pcm stream
By niror in forum AudioReplies: 2Last Post: 2nd Oct 2011, 01:36 -
Problem converting from MPEG Program Stream to Transport Stream
By vivajam in forum Newbie / General discussionsReplies: 5Last Post: 24th Jan 2011, 04:40 -
Stream an MPEG file over UDP as MPEG-TS and convert back to MPEG.
By Tengil123 in forum Video Streaming DownloadingReplies: 0Last Post: 27th Nov 2009, 04:40 -
QT can't parse error converting mpeg-1 to DV
By jglass in forum ffmpegX general discussionReplies: 3Last Post: 22nd Jun 2008, 10:57 -
Quicktime parse error converting mpeg-1 muxed to DV or mpeg 4
By jglass in forum Newbie / General discussionsReplies: 0Last Post: 15th Jun 2008, 20:51