PDA

View Full Version : Raw video playback


Sohaib
27th June 2006, 16:29
Hi there ... I was wondering if someone can help me with decoding and playing raw video files (M1V and M4V/MP4 which contain raw MPEG1 and MPEG4 data).

Is there any info in the stream (VO/VOL) or GOV/GOP headers for these that will give away the length of the stream? .... For AVI files, you can expect the length to be accurate in the avih header section ... but raw files such as these do not have a container and as far as I know, i cant find this info ... any help?

GodofaGap
28th June 2006, 14:30
The length of raw mpeg (e.g. mp3, m1v, m4v) and .mpg streams is an unknown. You can only determine it by parsing the whole file.