[FFmpeg-devel] [PATCH 14/38] lavu/opt: factor per-type dispatch out of av_opt_set()

James Almer jamrial at gmail.com
Wed Mar 6 01:14:41 EET 2024


On 3/5/2024 8:08 PM, Michael Niedermayer wrote:
> On Sat, Feb 24, 2024 at 07:41:24PM -0300, James Almer wrote:
>> On 2/23/2024 7:50 PM, Michael Niedermayer wrote:
>>> Hi Anton
>>>
>>> On Fri, Feb 23, 2024 at 02:58:36PM +0100, Anton Khirnov wrote:
>>>> Will be useful in following commits.
>>>> ---
>>>
>>> breaks:
>>>
>>> ./ffmpeg -y -request_channel_layout 3 -i bug/401/mlp_5point1_downmixof6channel.mlp -bitexact file-2-mlp_5point1_downmixof6channel.wav
>>
>> fwiw, request_channel_layout will be removed in the upcoming bump. You
>> should use -downmix stereo.
>>
>>>
>>> [mlp @ 0x55690e23ff80] Error setting option request_channel_layout to value 3.
>>> [mlp @ 0x55690e23ed00] Failed to open codec in avformat_find_stream_info
>>> [mlp @ 0x55690e23ff80] Error setting option request_channel_layout to value 3.
> 
> the error message should point to the new option

The error message points to the option you tried to set. 
request_channel_layout is a valid but deprecated option separate from 
downmix.

> 
> thx
> 
> [...]
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list