[FFmpeg-devel] implement process_command for vf_scale and vf_crop

Bernd Blessmann bb at it-entwicklung.de
Mon Jul 6 08:24:36 CEST 2015


Am 25.06.2015 um 16:20 schrieb Bernd Blessmann:
> Hi all,
>
> I want to implement process_command for vf_scale.c and vf_crop.c in order to use zmq to change
> scaling and cropping dynamically.
>
> I have implemented it using av_opt_set() and calling config_props() for scale and config_input() and
> config_output() for crop. I am using the config_-functions because they handle variable parsing and
> checking of the values. But I do not know if this is the right way to do it and if it is safe to
> call these functions from process_command.
>
> Maybe someone can comment on these implementation or outline a way to implement process_command for
> these filters.
>
> I attach patches including my implementation so far.
>

I just answer myself to my posting as a reminder. Maybe my posting has been overseen.
If I am totally wrong here (in this list, with my implementation or with the patch format), please 
let me know.

Thanks a lot
   Bernd




More information about the ffmpeg-devel mailing list