Richard Fuchs
06efa83cb0
MT#55283 fix AVFrame linesize after resampling
At least the recording daemon uses the linesize directly, so this needs
to be corrected after returning a frame from the resampler.
Change-Id: Ia940d8acbbee3fb2d6564474ecb93ae27422d8af
3 years ago
Richard Fuchs
206ea9efd5
TT#14008 update for ffmpeg 5.1+
Starting with release 5.1, ffmpeg obsoletes the `channels` and
`channel_layout` fields, replacing them with a unified `ch_layout`
struct of type AVChannelLayout. Add wrapper defines into the
compile-time build-test headers fix_frame_channel_layout*.h to
accommodate both new and old versions.
Change-Id: I3d43b85dc3140155a61b1cf2269cda166ad88e9a
3 years ago
Richard Fuchs
c7431aa846
TT#122401 disable sample filter for CN resampler
Change-Id: I42085cc7952d86f2da1efa2d29ea85321b001da4
5 years ago
Richard Fuchs
5308208ee4
further rate limiting for log messages from libav
Change-Id: If19d736df87286559d4d3c0dfdda0a81d6c4d5cc
7 years ago
Richard Fuchs
e1e6fd4297
TT#50652 add explicit libav error reporting
Change-Id: Ib4bc3e89e54a1d4478dd32f7947dadeb262c18ec
7 years ago
Richard Fuchs
33b262af78
TT#33700 migrate from avresample to swresample
closes #465
Change-Id: Ib23ea0dbaf151182360db8ae8e0bc94c93a1743a
8 years ago
Richard Fuchs
5a73f12adb
TT#34050 replace ffmpeg version test macro
fixes #484
Change-Id: Ia7aa9d63e09a90afc2814f0edede480c06ecc53a
8 years ago
Richard Fuchs
4d586f2ec0
TT#28163 fix recording-daemon sample format selection for mixed output
reported in #462
Change-Id: Iea7f1e421d15375768a1f76dd36e5ef7726f66b8
8 years ago
Richard Fuchs
f8aad04948
TT#30404 move portions required for decoding from recording-daemon to lib
Change-Id: I4170dd3c93ca3c87954d2c1db5fd84ae071247bd
8 years ago
Richard Fuchs
0e60000001
use cloned frames to avoid race conditions
fixes #350
9 years ago
Richard Fuchs
af7b2d0508
refine version test for presence of av_frame_get_channels
Change-Id: I8591e2656694570b0241cc84e8de2de0132e4db9
9 years ago
Richard Fuchs
aef463f1bb
handle missing av_frame_get_channels from older versions
fixes #341
Change-Id: I881b63021c9aba0006bb35bd38b027fa3b0152f9
9 years ago
Richard Fuchs
2afbfa55a8
fix resampling if frame doesn't have number of channels set
fixes #336
Change-Id: Ic84734e4296ff8c807a605c67074b8b285c92666
9 years ago
Richard Fuchs
dab9fdb20e
additional logging and segfault fix
Change-Id: I95309cfe90efd17d6592f78e39c3732fa0d6e75d
9 years ago
Richard Fuchs
fb81332e80
handle multiple different sample types
fixes #306
9 years ago