Opened 15 years ago
Closed 15 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)
by , 15 years ago
| Attachment: | upmixer_fmt-v0.25pre-1859-g9bb864b added |
|---|
comment:2 by , 15 years ago
| 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