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
Thread: MPEG 1 - Can't parse stream
Thread
-
Similar Threads
-
Stream an MPEG file over UDP as MPEG-TS and convert back to MPEG.
By Tengil123 in forum Video StreamingReplies: 0Last Post: 27th Nov 2009, 05:40 -
QT can't parse error converting mpeg-1 to DV
By jglass in forum ffmpegX general discussionReplies: 3Last Post: 22nd Jun 2008, 11: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, 21:51 -
Cant parse audio option 0ch
By zainka in forum DVD RippingReplies: 1Last Post: 10th Nov 2005, 06:04 -
Virtual Dub 1.3c Parse error -- too many segments
By toddler in forum Video ConversionReplies: 0Last Post: 11th Jan 2002, 16:00
-



Quote