Чтобы видео с Gear360 приняло нормальный вид - решил использовать скрипт с гитхаба gear360video.sh Но ему аццки необходим multiblend Попробовал его компилировать , но выдает такую ошибку
g++ -msse2 -O3 -ltiff -ltiffxx -ljpeg -lpng multiblend.cpp -o multiblend
In file included from multiblend.cpp:55:0:
write.cpp: In function ‘void jpeg_out()’:
write.cpp:26:44: error: cannot convert ‘bool’ to ‘boolean’ for argument ‘3’ to ‘void jpeg_set_quality(j_compress_ptr, int, boolean)’
jpeg_set_quality(&cinfo,g_jpegquality,true);
^
write.cpp:27:33: error: cannot convert ‘bool’ to ‘boolean’ for argument ‘2’ to ‘void jpeg_start_compress(j_compress_ptr, boolean)’
jpeg_start_compress(&cinfo,true);
^
In file included from multiblend.cpp:52:0:
seaming.cpp: In function ‘void load_seams()’:
seaming.cpp:163:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(sig, 1, 8, f);
^
In file included from multiblend.cpp:54:0:
blending.cpp: In function ‘void copy_channel(int, int)’:
blending.cpp:341:68: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(g_temp, (I.width*I.height)<<(I.bpp>>4), 1, I.channels[c].f);
^