Blender Git Commit Log

Git Commits -> Revision 88604b7

Revision 88604b7 by Richard Antalik (master)
March 2, 2021, 11:23 (GMT)
FFmpeg: Improve scrubbing performance

Applying negative offset to seek position before scanning doesnn't have
any effect. This change results in 1.5x faster seeking (random frame,
average value) in sample file with 30 frame GOP length.

If I am not mistaken, B frames can have pts that can be less than
pts of I frame that must be decoded. Even in this case though, B frame
packet will be stored after that I frame.

In addition, preseek value is de facto hardcoded so seeking would fail
if it could. This can be hard to spot though.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10529

Commit Details:

Full Hash: 88604b79b7d15f8aa86fbd2d23d58541aa927313
Parent Commit: bbb1936
Lines Changed: +1, -1

1 Modified Path:

/source/blender/imbuf/intern/anim_movie.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021