[FFmpeg-user] Has FFplay no option for video size?

Michael Koch astroelectronic at t-online.de
Wed Jan 5 14:27:32 EET 2022


Am 05.01.2022 um 13:22 schrieb Gyan Doshi:
>
>
> On 2022-01-05 04:23 pm, Michael Koch wrote:
>> Hello,
>>
>> when I use the -s option in this command line
>>
>> ffplay -noborder -s vga -left 0 -top 200 udp://239.0.0.1:1234
>>
>> then I get this error message:
>> "Option -s is deprecated, use -video_size. Option video_size not found."
>>
>>
>> When I use the -video_size option
>>
>> ffplay -noborder -video_size vga -left 0 -top 200 udp://239.0.0.1:1234
>>
>> then I get this error message:
>> "Option video_size not found."
>>
>>
>> I can use the -x and -y options as a workaround, that works as expected.
>> But why does -video_size not work?
>
> video_size is available for a few raw frame capture device demuxers, 
> and meant to signal the dimensions in formats without metadata.
>
> It's not meant for ffplay playback window size. Those are -x and -y

ok, thank you!

Michael



More information about the ffmpeg-user mailing list