Blender Git Loki
Git Commits -> Revision 74aede4
Revision 74aede4 by Sergey Sharybin (master) January 13, 2012, 09:20 (GMT) |
Fix #29824: Error writing frame if 3D scene starts after first frame of animation and output is H264 Issue was caused by incorrectly set PTS value frames came form Scene strip renderer. This value used to be calculated from RenderData current and start frame which lead to non-uniformuly counting which totally confuses encoder. Switch append_avi and append_ffmpeg to use current frame from rendering scene (which was already passing to this functions and was used mostly for logging) and start frame of rendering scene (it's new parameter added). This allowed to calculate correct PTS value easily and get rid of global static sframe variable in writeavi.c file. |
Commit Details:
Full Hash: 74aede4d71aff4795178885ad5b82d4bfddadcb1
SVN Revision: 43349
Parent Commit: 14e75b6
Lines Changed: +25, -17
9 Modified Paths:
/source/blender/blenkernel/BKE_writeavi.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_writeffmpeg.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_writeframeserver.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/writeavi.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/writeframeserver.c (+2, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+2, -1) (Diff)
/source/blender/editors/screen/screendump.c (+3, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+2, -1) (Diff)
/source/blender/blenkernel/BKE_writeffmpeg.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_writeframeserver.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/writeavi.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/writeframeserver.c (+2, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+2, -1) (Diff)
/source/blender/editors/screen/screendump.c (+3, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+2, -1) (Diff)