hi,
building with static ffmpeg on Ubuntu 18.10 leads to crash when trying to use ffmpeg with formats .mp4 or .matroska - others (.avi, etc.) seem to work.
here's the bt:
Thread 49 "x64" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffae709700 (LWP 21651)]
0x0000555556142342 in x264_slicetype_slice_cost ()
(gdb) bt
#0 0x0000555556142342 in x264_slicetype_slice_cost ()
#1 0x00005555560fcde6 in x264_stack_align ()
#2 0x00005555560f61f7 in x264_threadpool_thread ()
#3 0x00007ffff69b4164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#4 0x00007ffff5509def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
I've tested this on Ubuntu 18.10 in a VBox VM, recording of avi and mp4 work both using static and external ffmpeg. No segfaults, and playing the videos on my host with VLC works. (Trying to play them inside my VM causes immediate crashes, seems to be VBox issue).
My test cases were ~10 seconds of the blinking cursor on the x64sc boot screen.
I have the same problem. Fresh build with
./configure --enable-native-gtk3ui --enable-static-ffmpeg --prefix $HOME/vice-3.3
and the same h264 slicetype_slice_cost segfault.
Does this still happen?
No activity in years and statically linking against ffmpeg was removed from VICE years ago. Closing.