Blender Git Loki

Git Commits -> Revision c8a7e3a

March 3, 2021, 17:15 (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: c8a7e3a5722378e6e0c44c69e0d647ef06436196
Parent Commit: 9d08f2d
Committed By: Julian Eisel
Lines Changed: +1, -1

1 Modified Path:

/source/blender/imbuf/intern/anim_movie.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021