[FFmpeg-devel] [PATCH 8/8] avformat/img2enc: add support for specifying protocol options

Marton Balint cus at passwd.hu
Sat Dec 28 01:51:42 EET 2019



On Fri, 27 Dec 2019, Lou Logan wrote:

> On Fri, Dec 27, 2019, at 12:14 PM, Marton Balint wrote:
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>>
>> +ffmpeg -f x11grab -r 1 -framerate 1 -video_size hd1080 -i :0.0 -qscale 
>> 6 -update 1 -protocol_opts method=PUT http://example.com/desktop.jpg
>
> What's the reason this examples uses both -r and -framerate?

Good point... It turned out it was needed because a recent change of 
mine in xcbgrab broke timestamps... Will send fix.

>
> Please use -qscale:v to avoid the "-qscale is ambiguous" warning.

Ok, will change.

Thanks,
Marton


More information about the ffmpeg-devel mailing list