[FFmpeg-devel] [PATCH] ffmpeg: redesign video resampling in case of mid-stream video size/format change

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun Apr 17 12:26:00 CEST 2011


On date Sunday 2011-04-17 12:13:45 +0200, Stefano Sabatini encoded:
> The new design supports video resolution/format change with and
> without AVFILTER_CONFIG, thus avoiding the need for the
> av_vsrc_buffer_add_frame2() hack.
> 
> When a change in video resolution/format is detected, a scaling
> context is lazily initialized, and used for rescaling the input video
> always to the same destination size/format.
> 
> Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> ---
>  ffmpeg.c |  104 ++++++++++++++++++++++++++++---------------------------------
>  1 files changed, 48 insertions(+), 56 deletions(-)

Not yet ready...
-- 
FFmpeg = Fierce & Fostering Mournful Philosophical Extreme Gnome


More information about the ffmpeg-devel mailing list