Commit Graph

27 Commits

Author SHA1 Message Date
Jan Kratochvil 62f01d7b36 ffmpeg: Add avi muxer
Otherwise one cannot produce *.avi containers needed for some H.264
camera codecs.

Signed-off-by: Jan Kratochvil <jan@jankratochvil.net>
2023-10-03 21:29:00 -07:00
Ian Leonard 5328a2f393 ffmpeg: update to 4.2.2
Drop upstreamed libfdk-aac patches.

ffserver was removed in 4.0. ffmpeg does not have a replacement.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-03-31 19:18:06 -07:00
Rosen Penev 178206410c
ffmpeg: do not list AAC as patented
Both libraries in the tree (fdk-aac and faad) have patented functionality
disabled when CONFIG_BUILD_PATENTED is off.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-21 15:55:57 -07:00
Rosen Penev 013162d079
ffmpeg: disable x86 asm for old CPU types
This is a workaround for NASM being totally broken.

I have two patches, one for master and another for 19.07 that upstream is
not merging.

https://patchwork.ozlabs.org/patch/1221696/
https://patchwork.ozlabs.org/patch/1221697/

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-16 19:33:08 -08:00
Ted Hess 7b49f60567 ffmpeg: Add choices to libffmpeg-custom to select and build CLI programs
Add postproc to libffmpeg-custom if x264 selected

Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-11-11 17:32:41 -05:00
Ted Hess 1fa9c1bc5f ffmpeg: Update to 3.2.10.
Re-organize configuration options to allow non-patented/un-licensed builds.
Include AAC and WMA codecs without BUILD_PATENTED

Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-03-22 13:54:43 -04:00
Rosen Penev 553e3fb63c ffmpeg: Remove BUILD_PATENTED for MPEG2 video.
According to the MPEG-LA, the last patent expired February 13, 2018.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-14 12:51:49 -08:00
Rosen Penev 224964e06b
ffmpeg: Remove BUILD_PATENTED for AC3
Dolby Digital patents expired February 1, 2017.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-01-25 19:00:01 -08:00
Ted Hess 808b28d173 ffmpeg: Add mpeg layer 2 audio support and mpeg2 demuxer to libffmpeg-mini
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-08-30 15:45:21 -04:00
Ian Leonard 08554be366 ffmpeg: fixup mpeg support in libffmpeg-mini
The demuxers mpegps is for VOB support and mpegvideo is for raw mpeg video.
mpegps was intended to be included with libffmpeg-mini; mpegvideo was not.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-08-19 11:55:18 -07:00
Ian Leonard 3998494f28 ffmpeg: let ffmpeg choose necessary parsers for audio-dec and custom
This change allows ffmpeg's configure script to determine the necessary parsers based on
selected decoders & encoders. For libffmpeg-audio-dec, this changes from our selecting:

aac, ac3, flac, mpegaudio, opus and aac_latm

to ffmpeg's configure script selecting:

aac_latm, ac3, flac, mpegaudio

for minor space savings and a simpler Makefile to manage on our end.

In libffmpeg-custom, don't select any parsers when choosing decoders/encoders. I'm undecided
on removing the parser selection in its entirety here.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-08-10 22:30:15 -07:00
Ian Leonard c2fa282431 ffmpeg: update to 3.2.7
Removes the x86 optimization disables from the SOFT_FLOAT portion. There are no i386 profiles that do
not use hard float, so these options accomplish nothing.

Target-os=linux rules out dxva2 and vda, so disable statements are unnecessary.

For x86-64 users of libffmpeg-full, optimize around performance instead of size.

Remove patented flag requirement from mp2 and mp3 audio files in libffmpeg-custom per expiration.

Tidies up some of the configure steps where only one option is being changed or cosmetic consistency.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-08-10 22:30:15 -07:00
Ian Leonard edc982430c ffmpeg: update to 3.2.4, add libshine support, add fdk-aac support to custom, cleanup
Also makes the following changes:

Updates project URL and moves libpthread to a common dependency;
Makes libopus support in libffmpeg-full contingent on selecting the
libopus package, like other external libraries;
Adds note regarding disabling altivec in ppc hard-float;
Reorganizes SIMD sections to be together;
Drops the need to specify decoder=libopus from -full, done by default;
Adds encoder=libopus to custom.

Expand options for libffmpeg-custom:
Build licensing: GPL, GPLv3, LGPLv3
Building for performance or size

Drops version 3 of GPL for -audio-dec, -mini, and -full. Version 3 is
at the discretion of the packager, per:
http://ffmpeg.org/doxygen/trunk/md_LICENSE.html

Add enable-nonfree toggle support to libffmpeg-custom build licensing
to allow inclusion of libfdk-aac.

Use ffmpeg's names for its external libraries in libffmpeg-custom config
Alphabetize same

Correct @BUILD_PATENTED flags for libffmpeg variants

Split libffmpeg-full into hard/soft float:
Hard float configures itself for lame / libx264 using GPL license
Soft float for libshine and LGPL license

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-02-17 15:39:18 -05:00
Ted Hess 785159fcaf ffmpeg: Upgrade to 3.2.2. Remove Speex support
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-01-06 13:47:30 -05:00
Ian Leonard 3b624ce56e ffmpeg: Update 2.8.8, add codecs, update dlna profile, correct libopus use
Update ffmpeg to 2.8.8.

Adds HEVC, Opus, VC-1 and Vorbis to custom and minidlna profiles. This should
more closely match formats media being streamed on the local network via
DLNA/UPNP.

Removes raw aac, ac3 and h264 from minidlna profile. Most players expect
this content to come within a container (mkv, mov, mp4, mpegts, etc...),
so this was unnecessary for the profile's goals.

Remove libopus from being selected by the -custom's audio-dec profile, and as
a depend on -audio-dec. -audio-dec uses ffmpeg's internal Opus decoder, not
the external library.

Don't select specific parsers in libffmpeg-mini profile. The demuxers separate
streams from containers. Parsers break up the streams. These are not needed
for DLNA/UPNP. If a parser is needed, the ffmpeg configure script should grab
it.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2016-09-26 18:58:39 -07:00
Ted Hess ec133992b7 ffmpeg: Dependency cleanup
Custom builds need to select x264 and/or lame-lib explictly. Automatic
CONFIG_ALL builds of ffmpeg-full include x264 and lame.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2016-08-19 18:50:29 -04:00
Adrian Panella 3f124e2b8e ffmpeg: Update to 2.8.7. Add support for x264 and libmp3lame
Add support for libmp3lame & libx264 to 'full' and optional in 'custom'.
Enable some optimizations according to ARCH and CPU type.
Cleaup options and dependencies.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
Signed-off-by: Ted Hess <thess@kitschensync.net>
2016-08-02 11:21:08 -04:00
Ian Leonard ae13b1441d ffmpeg: libffmpeg-audio-dec and -custom use integrated opus decoder
For libffmpeg-audio-dec:

Remove @DEVEL flag from libffmpeg-audio-dec. Reasoning for this is
that choosing this package does not rquire any further action by the
builder in what codecs or formats should be built in.
libffmpeg-custom, the other libffmpeg to require @DEVEL, does need
further interaction.

Add @BUILD_PATENTED as at least one of the audio codecs is likely
patent protected.

Add ffmpeg's native Opus decoder to libffmpeg-audio-dec

Remove libopus dependency to libffmpeg-audio-dec as libopus provides
decode and encode support for Opus audio. Since FFmpeg can decode
Opus audio on its own, and libffmpeg-audio-dec is intended for audio
decoding, libopus is no longer required for Opus audio support.

For libffmpeg-custom:

Add in options for ffmpeg's integrated Opus decoder

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-05-22 22:43:08 -07:00
Nicolas Thill 9828cf1ea1 ffmpeg: add icecast transport
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-04-26 18:58:08 +02:00
Ian Leonard ad20ef1147 ffmpeg: add libopus support
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-10-11 22:13:15 -07:00
Ian Leonard 8bbe2c06fa ffmpeg: improve minidlna profile
Minidlna has no need to mux streams, or be able to read network streams at this point in time, so remove this support from
libffmpeg.

Synchronize the minidlna profile between libffmpeg-ucstom and libffmpeg-mini.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard 2b414271f5 ffmpeg: add external libraries section to Config.in
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard bcb2eea7a4 ffmpeg: add audio-dec profile to libffmpeg-custom
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard 77366562a5 ffmpeg: Drop the libdlna profile from the Custom ffmpeg option. Libdlna is no longer in the package feed, and has an inactive
upstream.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard b246dadc45 ffmpeg: Have the custom Vorbis decoder support select the Ogg demuxer.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
thess f61fe11ce0 FFMPEG: Add more custom options, add audio-only decoder option, update pkg release, copyright, add myself as pkg maintainer
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-07-16 15:32:17 -04:00
Ted Hess 93df7dde30 Import ffmpeg from oldpackages 2014-07-16 12:31:58 -04:00