Hi all, Attached is a trivial patch that speeds up encoding for key frame only streams. It skips the motion vector search which is not needed when there are never going to be any delta frames. It was made against thusnelda SVN revision 14589. Tested on Fedora 8 x64_64. -Phil -------------- next part -------------- A non-text attachment was scrubbed... Name: thusnelda-14589-keyframe-only.patch Type: text/x-patch Size: 437 bytes Desc: not available Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20080315/ce430cc9/thusnelda-14589-keyframe-only.bin
xiphmont@xiph.org
2008-Mar-15 22:20 UTC
[theora-dev] [PATCH] thusnelda keyframe only speedup
On Sat, Mar 15, 2008 at 4:01 PM, Philip Heron <phil@sanslogic.co.uk> wrote:> Hi all, > > Attached is a trivial patch that speeds up encoding for key frame only > streams. It skips the motion vector search which is not needed when > there are never going to be any delta frames. It was made against > thusnelda SVN revision 14589.The results of the current frame's (and previous frame's) MV search are needed by subsequent frames to seed constant speed and constant accelleration candidates. That includes INTRA frames. This breaks that part of the analysis. It would be valid to skip MV analysis on scene-change INTRA frames so long as you also reset the persistent MV analysis state, but it is incorrect behavior for INTRA frames forced by the keyframe max interval. That said-- I appreciate that others are looking at (and hacking on) the Thusnelda branch :-) Monty