Hi!
Current a52 plugin is not compatible with recent changes in the FFmpeg lib.
The symptom is that using newest FFmpeg the a52 plugin produces silent in the speakers. During the weekend I was able to bisect the problem and shed some light on this, and here is what I found out:
After the commit in point 1 the a52 output plugin is not working anymore
I was asking the commit author @jamrial about the commit and he said that the main culprit could rather be the commit:
https://github.com/FFmpeg/FFmpeg/commit/2d85e6e7230406e33e61d903b9c29ab562e158bd
which is changing the S16 to S32 for ac3fixed encoder while the a52 plugin "is ignoring the kind of format the encoder takes as input (Starting from the aforementioned commit, ac3fixed takes S32 planar audio), and unconditionally feeding it S16 planar audio."
I was trying to change the a52 from S16 to S32 but I think some more work is needed on this...
I was also try to change the do_encode() function from avcodec_encode_audio2 to avcodec_send_frame() with no luck...
Hi! Current a52 plugin is not compatible with recent changes in the FFmpeg lib. The symptom is that using newest FFmpeg the a52 plugin produces silent in the speakers. During the weekend I was able to bisect the problem and shed some light on this, and here is what I found out:
I was asking the commit author @jamrial about the commit and he said that the main culprit could rather be the commit: https://github.com/FFmpeg/FFmpeg/commit/2d85e6e7230406e33e61d903b9c29ab562e158bd which is changing the S16 to S32 for ac3fixed encoder while the a52 plugin "is ignoring the kind of format the encoder takes as input (Starting from the aforementioned commit, ac3fixed takes S32 planar audio), and unconditionally feeding it S16 planar audio."
I was trying to change the a52 from S16 to S32 but I think some more work is needed on this... I was also try to change the do_encode() function from avcodec_encode_audio2 to avcodec_send_frame() with no luck...