Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475068 - =media-video/handbrake-0.9.9 - system ffmpeg breaks PGS subtitle processing
Summary: =media-video/handbrake-0.9.9 - system ffmpeg breaks PGS subtitle processing
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL: https://forum.handbrake.fr/viewtopic....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 06:47 UTC by BT
Modified: 2014-03-19 15:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.91 KB, text/plain)
2013-06-28 06:48 UTC, BT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BT 2013-06-28 06:47:53 UTC
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?
Comment 1 BT 2013-06-28 06:48:11 UTC
Created attachment 352142 [details]
emerge --info
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-28 11:54:59 UTC
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)...
Comment 3 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2013-06-29 17:38:36 UTC
Can you confirm if this affects libav also? Upstream bundle libav rather than ffmpeg so that could be a starting point.
Comment 4 BT 2013-06-29 23:44:06 UTC
I switched to libav-9.7 and no segfault. With ffmpeg, handbrake would always segfault before the encode got to 1% complete.
Comment 5 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2013-07-05 18:55:15 UTC
Can you confirm whether it works with the tightened up ffmpeg dep?

Thanks for your help with this!
Comment 6 BT 2013-07-06 01:36:05 UTC
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.
Comment 7 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2014-02-06 21:39:33 UTC
Any update on this?

Upstream only supports very specific libav versions, so give a libav:9 ebuild a try if you are still struggling.
Comment 8 BT 2014-02-07 00:04:38 UTC
I made the switch to libav 6 months ago because of this bug and have not had any problems since.