Mailing List Archive

[MythTV/mythtv] 1512a0: Change ac3 encode to use better encoder
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 1512a0243bb963b33d46746c99ab3d7b735fa647
https://github.com/MythTV/mythtv/commit/1512a0243bb963b33d46746c99ab3d7b735fa647
Author: Peter Bennett <pbennett@mythtv.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)

Changed paths:
M mythtv/libs/libmyth/audio/audiooutputdigitalencoder.cpp

Log Message:
-----------
Change ac3 encode to use better encoder

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.


Commit: 09c2c7718fa8aa55f68dd2c61d74607994d2ea62
https://github.com/MythTV/mythtv/commit/09c2c7718fa8aa55f68dd2c61d74607994d2ea62
Author: Peter Bennett <pbennett@mythtv.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)

Changed paths:
M mythtv/libs/libmyth/audio/audiooutputdigitalencoder.cpp
M mythtv/libs/libmyth/audio/audiooutputdigitalencoder.h

Log Message:
-----------
Cleanup libmyth/audio/audiooutputdigitalencoder

Fix buffer type definitions to eliminate usage where they need to
be cast to the correct type. Make buffer names more logical. Fix
buffer usage calculation.


Compare: https://github.com/MythTV/mythtv/compare/da3f00653588...09c2c7718fa8
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits