in reply to mpeg headers

you might try reading the source of MPEG::Info ... I have no idea what you'll find.