[FFmpeg-devel] Support forced first frame in image sequences

Jimmy Christensen jimmy
Sat Sep 19 09:37:26 CEST 2009


I've attached a proposal for adding forced first frame in image 
sequences. It's a sort of proof of concept and the code is not pretty. 
But what do you think of the implementation?

Current :
input.%04d.dpx -
	input.0000.dpx
	input.0001.dpx
	input.0002.dpx
	input.0003.dpx
	input.0004.dpx

After patch :
input.%04d.dpx -
	input.0000.dpx
	input.0001.dpx
	input.0002.dpx
	input.0003.dpx
	input.0004.dpx

input.%04~25d.dpx -
	input.0025.dpx
	input.0026.dpx
	input.0027.dpx
	input.0028.dpx
	input.0029.dpx

I wanted to avoid another parameter. It's only relevant for image 
sequences, since they don't always start at 0-4.

-- 
Best Regards
Jimmy Christensen
Developer
Ghost A/S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpegForcedFrame.diff
Type: text/x-patch
Size: 2109 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090919/313ce8c6/attachment.bin>



More information about the ffmpeg-devel mailing list