Otto Urpelainen wrote:
> This is unexpected, because one would expect that installing any variant
> of ffmpeg would improve video support, not degrade it. My hypothesis is
> that Firefox prefers ffmpeg over openh264, but is not careful enough to
> check if the ffmpeg it detects actually supports h264.

The thing is, ffmpeg-free actually does support H.264, using (dlopened) 
OpenH264. What it does not support is the decoder called just "h264" (the 
native FFmpeg decoder for H.264), which I presume Firefox hardcodes.

> It seems clear that there is a bug somewhere, but I cannot decide,
> where, hence this post to devel. Should Fedora's Firefox actually have
> media.ffmpeg.enabled set to false by default, because Fedora's variant
> of ffmpeg has this problem? Should upstream Firefox be smarted about
> which decoder library it attempts to use? Or should ffmpeg-free package
> do something to avoid this from happening. Any opinions are welcome!

As explained above, one issue is that Firefox seems to hardcode the name of 
the FFmpeg decoder to use. It should not do that. It should instead request 
any decoder for the H.264 format using the appropriate API (and also query 
whether the found FFmpeg supports H.264 to begin with, as you state).

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to