0

Hello,

I need to read mp4 video files, perform basic (simple file cut) on-line editing functions and write edited files to disk.

Question: Is there a means to programmatically access the video file playing time file information without having to play the file on media video player such as Quick time player and similar?

Without the exact knowledge of the playing time i will have to use unrelliable approximations.

I looked at the "video file inspector report " from the presentation tab of the Quick time player and similar player , and tried to establish a relation between file size, frame per seconds, sampling rates , throughput (kbits/secs) and playing time, but calculation results are not consistant with real playing time.

Thanks

monere

4
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by skatamatic
0

You need to search out the binary AVI file format and read the file header. The length should be in the header.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.