[FFmpeg-devel] [PATCH] vf_scale: Detecting changes of incoming frame properties and dinamically evaluate width and height expressions

Bodecs Bela bodecsb at vivanet.hu
Tue Jan 19 21:34:20 CET 2016



2016.01.19. 21:09 keltezéssel, wm4 írta:
> On Tue, 19 Jan 2016 19:00:18 +0100
> Bodecs Bela <bodecsb at vivanet.hu> wrote:
>
>> 2016.01.19. 16:53 keltezéssel, Carl Eugen Hoyos írta:
>>> Bodecs Bela <bodecsb <at> vivanet.hu> writes:
>>>   
>>>> To retain the current behaviour and not to break any
>>>> earlier app, a new config parameter has been introduced.
>>> Is the current behaviour useful or do you consider it a bug?
>> First I thought that it was a bug, but I borrowed an idea from
>> vf_overlay filter, where there is a very same config parameter causing a
>> very similar behaviour distinction on expression evaluation.
>> I will soon post a patch to vf_overlay where there was really a bug in
>> this behaviour.
> I think it's actually a bug. From what I can tell libavfilter's design
> doesn't actually support mid-stream reconfiguration, although it
> happens to work in some cases?
via the zmq command interface you can send a command to alter 
width/height anytime in vf_scale filter.
vf_scale filter handles this correctly. I think, this is definitely a 
sign of "mid-stream reconfiguration support".

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list