Opened 4 years ago

Closed 4 years ago

#8628 closed defect (needs_more_info)

Can't use 2.1 channel layout with libopus

Reported by: Maxime Gauduin Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: libopus
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

ffmpeg can't convert 2.1 files to opus using libopus, even when specifying mapping_family to 1. This works fine using opusenc.

[libopus @ 0x2f41f91a5c0] Invalid channel layout 2.1 for specified mapping family 1.

How to reproduce:

% ffmpeg -i 2_1.flac -mapping_family 1 2_1.opus
ffmpeg version 4.2.2
built on Arch Linux

Change History (3)

comment:1 by Carl Eugen Hoyos, 4 years ago

Component: ffmpegundetermined
Version: 4.2unspecified

Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output and an input sample to make this a valid ticket.

comment:2 by Jun Zhao, 4 years ago

Missed the opusenc command

comment:3 by Carl Eugen Hoyos, 4 years ago

Resolution: needs_more_info
Status: newclosed
Note: See TracTickets for help on using tickets.