[mythtv-commits] [MythTV/mythtv] 228e57: Fix ac3 encode to work with FFmpeg 4.4.1
Peter Bennett
noreply at github.com
Tue Nov 9 18:06:55 UTC 2021
Branch: refs/heads/devel/ffmpeg-resync
Home: https://github.com/MythTV/mythtv
Commit: 228e576bb964ff4094b09e5f2f0d69a6d08ee9fa
https://github.com/MythTV/mythtv/commit/228e576bb964ff4094b09e5f2f0d69a6d08ee9fa
Author: Peter Bennett <pbennett at mythtv.org>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M mythtv/libs/libmyth/audio/audiooutputdigitalencoder.cpp
Log Message:
-----------
Fix ac3 encode to work with FFmpeg 4.4.1
MythTV encodes ac3 audio when using the "Upconvert stereo to 5.1 Surround"
option and when using time stretch on content already encoded with ac3
5.1 sound.
FFmpeg 4.4.1 "ac3_fixed" encoder now only supports 32bit samples. We were
using 16bit samples, so a change was needed.
With this commit, ac3 encoding now uses "ac3" encoder instead of "ac3_fixed".
This is a superior encoder that uses floating point instead of integer
arithmetic. The code can still support "ac3_fixed" by setting
If needed this can be made a configure option.
More information about the mythtv-commits
mailing list