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

Gyan Doshi ffmpeg at gyani.pro
Wed Jan 5 14:22:26 EET 2022



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

Regards,
Gyan


More information about the ffmpeg-user mailing list