Ignore:
Timestamp:
2011-09-30T14:48:57+02:00 (5 years ago)
Author:
florian
Message:

[package] ffmpeg: Allow for more configurable FFmpeg build options (#7837, #8465)

This patch allows broad control over FFmpeg's libav* build configuration
and fixes a typo in ffprobe's install section.

The patch resolves #7837 as the choice of building a full libav* is available.
This should also resolve #8465 as input devices such as cameras can be enabled.

The files created by a full libav* build will be large (several megabytes) and
not recommended for end users. Its use could help debugging other issues to
learn whether the problem is the openwrt build configuration or another cause.

Signed-off-by: Ian Leonard <antonlacon@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/multimedia/ffmpeg/Makefile

    r28101 r28323  
    1010PKG_NAME:=ffmpeg 
    1111PKG_VERSION:=0.8.2 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    240240                --enable-swscale \ 
    241241                \ 
    242                 --disable-bsfs \ 
    243                 --disable-devices \ 
    244                 --disable-filters \ 
    245                 --disable-hwaccels \ 
    246                 --disable-parsers \ 
    247                 --disable-protocols \ 
     242                $(if $(CONFIG_FFMPEG_BSFS),,--disable-bsfs) \ 
     243                $(if $(CONFIG_FFMPEG_OUTDEVS),,--disable-outdevs) \ 
     244                $(if $(CONFIG_FFMPEG_INDEVS),,--disable-indevs) \ 
     245                $(if $(CONFIG_FFMPEG_FILTERS),,--disable-filters) \ 
     246                $(if $(CONFIG_FFMPEG_HWACCELS),,--disable-hwaccels) \ 
     247                $(if $(CONFIG_FFMPEG_PARSERS),,--disable-parsers) \ 
     248                $(if $(CONFIG_FFMPEG_PROTOCOLS),,--disable-protocols) \ 
    248249                $(if $(CONFIG_FFMPEG_ENCODE),,--disable-encoders --disable-muxers) \ 
    249250                $(if $(CONFIG_FFMPEG_DECODE),,--disable-decoders --disable-demuxers) \ 
Note: See TracChangeset for help on using the changeset viewer.