Bug 31259 - mplayer lavac3enc filter broken on Cauldron
Summary: mplayer lavac3enc filter broken on Cauldron
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 31360
Blocks:
  Show dependency treegraph
 
Reported: 2022-12-10 19:10 CET by Chris Denice
Modified: 2023-04-06 14:42 CEST (History)
1 user (show)

See Also:
Source RPM: mplayer-1.5-10.mga9.tainted.src.rpm
CVE:
Status comment:


Attachments

Description Chris Denice 2022-12-10 19:10:42 CET
I am a regular user of mplayer with:

-af lavcac3enc=0::2

filter that allows to re-encode audio streams on the fly to ac3 for a pure digital spdif output to my hi-fi system.

This got broken on Cauldon (works fine on Mageia 8):

mplayer -ac hwdts,hwac3, -ao alsa:noblock:device=hw=0.1 -af lavcac3enc=0::2

The filter dies with:

[ac3_fixed @ 0x7f06722fb060]Specified sample format s16p is invalid or not supported
Couldn't open codec ac3, br=448000.
[libaf] Reinitialization did not work, audio filter 'lavcac3enc' returned error code -2
Error at audio filter chain pre-init!

I've tested the same filter with mpv, and it works fine. Something bad happened to mplayer since mga8 :-/

Cheers,
Chris.
Comment 1 Marja Van Waes 2022-12-12 00:04:22 CET
No registered maintainer for mplayer, so assigning to all packagers collectively

Assignee: bugsquad => pkg-bugs
CC: (none) => marja11

Comment 2 Chris Denice 2022-12-17 23:35:12 CET
Yea, and it is full of other bugs, like this:

libavcodec version 59.37.100 (external)
[mpeg4 @ 0x7f6297cfb060]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe

I suspect this is due to the bad idea of using system ffmpeg which is more advanced than the one mplayer-1.5 is coded against. It builds but just does not work fine. I'am checking this now.
David Walser 2023-01-03 19:50:39 CET

Depends on: (none) => 31360

Comment 3 Chris Denice 2023-04-06 14:42:40 CEST
Just for the record, confirmed on the mplayer devel mailing list. The ac3enc filter is now only supporting 32 bits input. Patches on test on Cauldron.

Note You need to log in before you can comment on or make changes to this bug.