PHP really isn't suited to reading video files due to their sheer size, it would be extremely resource intensive.
Nonetheless, you can get some docs on video file formats
here
[edit]FYI, most video files have some form of complex compression algorithms and thusly, about the only thing you could realistically do with these files in PHP is maybe read in their length, codec etc.[/edit]