Opened 14 years ago
Closed 14 years ago
#9754 closed Bug Report - General (Fixed)
Audio upmixer fails to open codec after FFmpeg sync
Reported by: | 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)
Change History (3)
Changed 14 years ago by
Attachment: | upmixer_fmt-v0.25pre-1859-g9bb864b added |
---|
comment:2 Changed 14 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → Fixed |
Status: | new → closed |
Version: | Unspecified → Trunk Head |
Note: See
TracTickets for help on using
tickets.
Select correct AC3 encoder and set sample format