I spent a few weekends editing footage together in Kdenlive, but now I can’t export it.
Exporting only a few minutes works. Exporting even 15 minutes of it leads to melt-7 segfaulting partway through. It doesn’t seem to emit any useful messages other than lots of:
[swscaler @ 0x7ffdfc000900] deprecated pixel format used, make sure you did set range correctly
I built a debug copy of upstream melt and tried to use that on a kdenlive exported script:
[swscaler @ 0x7ffe24000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe0c000900] deprecated pixel format used, make sure you did set range correctly
[aac @ 0x7ffed028f080] Input contains (near) NaN/+-Inf
[consumer avformat] error with audio encode: -22 (frame 8786)
[swscaler @ 0x7ffe24000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe04000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe2c000900] deprecated pixel format used, make sure you did set range correctly
[aac @ 0x7ffed028f080] Input contains (near) NaN/+-Inf
[consumer avformat] error with audio encode: -22 (frame 8788)
[swscaler @ 0x7ffe1c000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe2c000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe0c000900] deprecated pixel format used, make sure you did set range correctly
[aac @ 0x7ffed028f080] Input contains (near) NaN/+-Inf
[consumer avformat] error with audio encode: -22 (frame 8789)
[swscaler @ 0x7ffe00000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe2c000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe0c000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe2c000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe0c000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe08000900] deprecated pixel format used, make sure you did set range correctly
[aac @ 0x7ffed028f080] Input contains (near) NaN/+-Inf
[consumer avformat] error with audio encode: -22 (frame 8790)
[swscaler @ 0x7ffe0c000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffe00000900] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ffdf4000900] deprecated pixel format used, make sure you did set range correctly
Current Position: 8789
Thread 53 "melt" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffed567b6c0 (LWP 2702)]
0x00007fffb012717f in ?? () from /usr/lib/libswscale.so.5
(gdb) bt
#0 0x00007fffb012717f in ?? () from /usr/lib/libswscale.so.5
#1 0x00007fffb01272e6 in ?? () from /usr/lib/libswscale.so.5
#2 0x00007fffb011367c in ?? () from /usr/lib/libswscale.so.5
#3 0x00007fffb010650b in sws_scale () from /usr/lib/libswscale.so.5
#4 0x00007fffb01a6028 in encode_video (enc_ctx=0x7ffed0000b80, converted_avframe=0x7ffed27f9200,
video_outbuf=0x7ffecbfff040 "", video_outbuf_size=67108864, frame=0x7ffed13158f0,
img_fmt=mlt_image_yuv422)
at /home/valentine/scratch/mlt/src/modules/avformat/consumer_avformat.c:1787
#5 0x00007fffb01a8843 in consumer_thread (arg=0x5555cbb8ca00)
at /home/valentine/scratch/mlt/src/modules/avformat/consumer_avformat.c:2511
#6 0x00007ffff7bfe579 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448
#7 0x00007ffff7c78858 in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb)
Any tips for what to do from here? Is there a way I can rule out swscaler being the cause (is it something optional that I can temporarily turn off as a test & re-run melt?).
My computer died a few days ago (wouldn’t POST, wouldn’t even flip PS_ON on the power connector) and the fix was to clean some wet fuzzy dust next to a slightly corroded crystal on the motherboard. The system now passes memtest and mprime, but I am still worried this could be a hardware instability issue, so any thoughts on testing that would also be appreciated.