Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657576 - www-client/firefox - need older ffmpeg libs to play H.264?
Summary: www-client/firefox - need older ffmpeg libs to play H.264?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-08 04:59 UTC by deterenkelt
Modified: 2018-06-08 09:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deterenkelt 2018-06-08 04:59:01 UTC
Both ESR (52.8) and unstable (60.0.1) have broken playback for H.264 files: MP4 videos cannot be played: “Video format or MIME-type is not supported”.

Opening Youtube HTML5 page shows, that H.264 and H.264 MSE are not available any more.

Fedora has a package, that solves the issue: https://forums.fedoraforum.org/showthread.php?317721-fedora-28-and-firefox-video(h264-youtube-gstreamer1)

The package itself: https://fedora.pkgs.org/28/rpmfusion-free-x86_64/compat-ffmpeg28-2.8.14-1.fc28.x86_64.rpm.html

Gentoo probably needs something like that, too.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2018-06-08 05:33:10 UTC
works fine for me with ffmpeg-3.4.2-r1 and ff-60.0.1

which version of ffmpeg you have installed? 
Can you please provide emerge --info firefox output?

bottom part (that says  Package Settings)  of emerge --info ffmpeg can be useful as well.
Comment 2 deterenkelt 2018-06-08 09:12:25 UTC
I used ffmpeg-9999.

Yes, as I could see with

┎ /var/tmp/portage/www-client/firefox-52.8.0/work                                                                     
┖ at home # grep -F  'sLibs[]' -A12  firefox-52.8.0esr/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
static const char* sLibs[] = {                                                       
#if defined(XP_DARWIN)                                                            
  "libavcodec.57.dylib",                                                            
  "libavcodec.56.dylib",                                                                
  "libavcodec.55.dylib",                                                                                           
  "libavcodec.54.dylib",                                                                                           
  "libavcodec.53.dylib",                                                                                      
#else                                                                                                                
  "libavcodec-ffmpeg.so.57",                                                                                        
  "libavcodec-ffmpeg.so.56",                                                                                       
  "libavcodec.so.57",                                                                                                
  "libavcodec.so.56",                                                          
  "libavcodec.so.55", 

it links at runtime against specific libavcodec version(s?), and as upstream ffmpeg is in subslot 56.58.58, there were no libraries to link against. I decided to downgrade for a time being.