Blender Git Loki

Git Commits -> Revision 9225fe9

Revision 9225fe9 by Sebastian Parborg (master)
May 28, 2021, 16:37 (GMT)
Make encoded video fps correct with ffmpeg < 4.4

Before the FFmpeg commit: github.com/FFmpeg/FFmpeg/commit/1c0885334dda9ee8652e60c586fa2e3674056586
FFmpeg would use deprecated variables to calculate the video fps.

We don't use these deprecated variables anymore, so ensure that the
duration is correct in ffmpeg versions without this fix.

Reviewed By: Sergey, Richard Antalik

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

Commit Details:

Full Hash: 9225fe933ae9904ea7bb646110308a921b37fc86
Parent Commit: 3311350
Lines Changed: +63, -5

3 Modified Paths:

/intern/ffmpeg/ffmpeg_compat.h (+49, -0) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+11, -5) (Diff)
/source/blender/imbuf/intern/indexer.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021