[FFmpeg-devel] [PATCH] dpx.c: Better support for reading fps from headers

Bob Maple bobm-ffdev at burner.com
Fri Jul 4 09:08:15 CEST 2014


Relatively simple patch to better support fetching the fps from DPX files.

DPX has 2 separate "industry" headers -- both which are required, but
not to actually be legitimately filled with anything.  Currently ffmpeg
only looks in the Film header to get the FPS, but many industry apps
write into the TV header since it's more applicable.  Some write to
both...  I've found the DPX landscape to be the wild wild west, all
sorts of abuse of the standard (which its self is vague in several places.)

In any case, this looks in the Film header first then tries the TV
header.  Nothing too crazy.  I'd like to add timecode support next but
this is my first real foray into the ffmpeg source and I'm still totally
lost as to the flow of things.


More information about the ffmpeg-devel mailing list