Created attachment 499556 [details, diff] ffmpegthumbnailer-2.2.0-to_string.patch media-video/ffmpegthumbnailer does not build on GCC 4.9.x because its C++11 support is incomplete. In this specific package, std::to_string is not implemented. The following patch works around this by using a stringstream object.
This is unlikely to get accepted upstream, which will be the prerequisite for adding this patch to the ebuild. I can only recommend to make the upgrade to latest stable GCC sooner than later. @video, should the ebuild check for min active gcc version instead?
Please attach your build.log and emerge --info.