Log in

View Full Version : problem about 'esds' box in mp4 file


sun_ryan
9th January 2008, 03:15
i'm writing a mp4 parser.

The 'esds' box in the 'stsd' box that descirbe mpeg4 stream gives the Elementary Stream Data.

but i don't know where Elementary Stream Data begins and ends.

The 'esds' box is like this:
0 1 2 3 4 5 6 7 8 9 A B C D E F
00h: 00 00 00 43 65 73 64 73 00 00 00 00 03 35 00 01
10h: 00 04 2D 20 11 00 00 00 00 00 FA 00 00 00 FA 00
20h: 05 1E 00 00 01 B0 03 00 00 01 B5 09 00 00 01 00
30h: 00 00 01 20 00 86 C4 2E D7 0C 88 2C 20 90 A3 1F
40h: 06 01 02

and i guess that Elementary Stream Data begins at "22h" with "00 00 01 B0".

But where it ends ?? to the end of the 'esds' box ?

Can anybody tell me?

thanks

can

bond
11th January 2008, 19:53
try to open the file with mp4dump from mpeg4ip, i am not sure, but it might display what you want