View Single Post
Old 1st February 2016, 14:56   #4  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,373
Quote:
Originally Posted by lansing View Post
there should be a counter in the mpg that's keeping track of the frame speed, and eventually there a way to extract this timecode?
There is a piece of metadata attached to every frame called the "Presentation Time Stamp" and another one called "Display Time Stamp" - the time the media player should throw the frame on the screen (frames are decoded "out of order"). Play the file with ffprobe.exe (included with ffmpeg) using this batch file
http://forum.doom9.org/showthread.ph...02#post1692702
You are probably going to be most interested in pkt_pts_time or best_effort_timestamp_time.
raffriff42 is offline   Reply With Quote