Page MenuHome

QT Animation Crash
Closed, DuplicatePublic

Description

System Information
Windows 10 GTX 106

Blender Version
Broken: latest build from buildbot and 2.79b
Worked: dont recall

Short description of error
Rendering any animation sequence to QT Animation codec with ffmpeg, crashes blender on frame 9.

Exact steps for others to reproduce the error
Open blender
Set output settings to FFmpeg Video, RGB
Under Video codec go QT rle / QT Animation
hit the opengl video renderer (for a faster test)
at frame 9 blender will crash.

if need any files to test let me know!

Details

Type
Bug

Related Objects

Event Timeline

Philipp Oeser (lichtwerk) claimed this task.
Philipp Oeser (lichtwerk) triaged this task as Confirmed, Medium priority.

crashes in 2.79b / 2.78c as well.
Works when you set it to RGBA instead of RGB though.

I dont get the crash if I enforce AV_PIX_FMT_ARGB vs. AV_PIX_FMT_RGB24 (even if RGB is chosen in the UI) like

1
2
3diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c
4index fc719634ff5..811b79359d0 100644
5--- a/source/blender/blenkernel/intern/writeffmpeg.c
6+++ b/source/blender/blenkernel/intern/writeffmpeg.c
7@@ -663,9 +663,9 @@ static AVStream *alloc_video_stream(FFMpegContext *context, RenderData *rd, int
8 }
9
10 if (codec_id == AV_CODEC_ID_QTRLE) {
11- if (rd->im_format.planes == R_IMF_PLANES_RGBA) {
12+ //if (rd->im_format.planes == R_IMF_PLANES_RGBA) {
13 c->pix_fmt = AV_PIX_FMT_ARGB;
14- }
15+ //}
16 }
17
18 if (codec_id == AV_CODEC_ID_PNG) {

(even though this doesnt seem like a nice solution)

Couldnt find info if QT RLE requires alpha?
Will do some further research, if that doesnt succeed, I'll need to get help from @Sergey Sharybin (sergey)...

it doesnt require alpha, but its supported.