Whenever I try to encode a blu-ray (dumped via MakeMKV) that has PGS subtitles I get segmentation fault. The following is all I get from gdb. #0 0x00007ffff6a98ef3 in avcodec_decode_subtitle2 () from /usr/lib64/libavcodec.so.54 #1 0x0000000000466bf3 in ?? () #2 0x0000000000486b32 in ?? () #3 0x000000000045934b in ?? () #4 0x00007ffff431cec6 in start_thread () from /lib64/libpthread.so.0 #5 0x00007ffff19c56ed in clone () from /lib64/libc.so.6 This issue was raised on the HandBrake forum (see bug url) and the solution was to use bundled ffmpeg. I understand this is not an option for Gentoo. Are there any other possible solutions?
Created attachment 352142 [details] emerge --info
I'll look into making bundled available through an USE flag. The last comment seems to say something about version; so, I'm wondering whether this might be fixed in newer versions (or if not, if a patch was sent upstream for this)...
Can you confirm if this affects libav also? Upstream bundle libav rather than ffmpeg so that could be a starting point.
I switched to libav-9.7 and no segfault. With ffmpeg, handbrake would always segfault before the encode got to 1% complete.
Can you confirm whether it works with the tightened up ffmpeg dep? Thanks for your help with this!
It doesn't work. I assume HandBrake wants ffmpeg-1.2.1. That's the version I had when I first encountered this issue and the version that's installed now.
Any update on this? Upstream only supports very specific libav versions, so give a libav:9 ebuild a try if you are still struggling.
I made the switch to libav 6 months ago because of this bug and have not had any problems since.