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

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Apr 21 12:48:15 CEST 2011


On date Wednesday 2011-04-20 01:24:28 +0200, Michael Niedermayer encoded:
> On Tue, Apr 19, 2011 at 01:11:27PM +0200, Stefano Sabatini wrote:
> > On date Sunday 2011-04-17 15:17:22 +0200, Stefano Sabatini encoded:
> > [...]
> > > From 6566055251c75d5b2ddc3088cdfe256f46d9d760 Mon Sep 17 00:00:00 2001
> > > From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > > Date: Sun, 17 Apr 2011 01:32:23 +0200
> > > Subject: [PATCH] ffmpeg: redesign video resampling in case of mid-stream video size/format change
> > 
> > Updated.
> > -- 
> > FFmpeg = Fiendish & Fanciful Mere Purposeless Eccentric Gadget
> 
> >  ffmpeg.c |  185 ++++++++++++++++++++++++++++++---------------------------------
> >  1 file changed, 90 insertions(+), 95 deletions(-)
> > bc2f31f7efdf4f219d30f0a22f4fb61bf152459b  0001-ffmpeg-redesign-video-resampling-in-case-of-mid-stre.patch
> > From 13aa3f21311e6973d30ae1adb49d0d339ec14fad Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > Date: Sat, 16 Apr 2011 23:14:44 +0200
> > Subject: [PATCH] ffmpeg: redesign video resampling in case of mid-stream video size/format change
> 
> breaks stream copy
> ffmpeg -i ~/videos/matrixbench_mpeg2.mpg -vcodec copy tmp.avi
> [IMGUTILS @ 0x7fff8c6a1b70] Picture size 0x0 is invalid
> Cannot allocate temp picture, check pix fmt

Fixed by the pre_process_video_frmae() patch already applied.

Patch updated.
-- 
FFmpeg = Frenzy and Faithful Mastodontic Philosofic Ecumenical Gem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffmpeg-redesign-video-resampling-in-case-of-mid-stre.patch
Type: text/x-diff
Size: 13723 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110421/3d45fc64/attachment.bin>


More information about the ffmpeg-devel mailing list