Disable mp3float,internal opus decoder (keep libopus decoder)
Description:
Build ffmpeg with --disable-decoder=opus, but keep --enable-libopus.
This allows to link libavformat.so to Chromium based applications without breaking YouTube.
Keeping libopus decoder is important.
This is preliminary to fix chromium#16 (closed) .
Additional info:
- package versions:
ffmpeg 2:7.1-9,chromium 135.0.7049.84-1,electron35 35.1.5-1
Steps to reproduce:
- Install current
ffmpeg. - Replace
libffmpeg.soofelectronwith symlink oflibavformat.soand seeelectron -ozone-platform-hint=auto https://youtube.comcannot play video. - Build
ffmpegwith--disable-encoder=opus. Keep--enable-libopus. - See
ffmpeg -codecs|grep opusshowsDEAIL. opus Opus (Opus Interactive Audio Codec) (decoders: libopus) (encoders: opus libopus) - Repeat 1. and see
electronplay video.
It shoud be tested by linking chromium with system ffmpeg. But I can't get resources to build.
Edited by E