[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 15:17:22 CEST 2011


On date Sunday 2011-04-17 12:26:00 +0200, Stefano Sabatini encoded:
> 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...

Re-designed and updated.
-- 
FFmpeg = Formidable & Fast Mystic Pitiless Ecumenical Gospel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-ffmpeg-redesign-video-resampling-in-case-of-mid-stre.patch
Type: text/x-diff
Size: 13553 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110417/dc73ee08/attachment.bin>


More information about the ffmpeg-devel mailing list