Opened 9 years ago

Closed 9 years ago

#9754 closed Bug Report - General (Fixed)

Audio upmixer fails to open codec after FFmpeg sync

Reported by: gregorio.gervasio@… Owned by:
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Using audio upmixer, avcodec_open gives this error message:

"Specified sample_fmt is not supported."

Since there is no error code returned, execution proceeds until there is then a floating point exception in AudioOutputBase::AddData? when calculating maxlength because encoder->FrameSize?() is zero.

The attached patch seems to fix it. Also, there is now a floating-point AC3 encoder available so the patch includes a change to select the encoder by name.

Attachments (1)

upmixer_fmt-v0.25pre-1859-g9bb864b (943 bytes) - added by gregorio.gervasio@… 9 years ago.
Select correct AC3 encoder and set sample format

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by gregorio.gervasio@…

Select correct AC3 encoder and set sample format

comment:1 Changed 9 years ago by gregorio.gervasio@…

Please close this ticket. The same fix was applied for #9755.

comment:2 Changed 9 years ago by sphery

Milestone: unknown0.25
Resolution: Fixed
Status: newclosed
Version: UnspecifiedTrunk Head
Note: See TracTickets for help on using tickets.