On Wed, Jan 20, 2016 at 09:05:49AM +0000, Paul B Mahol wrote: > On 1/19/16, Bodecs Bela <bode...@vivanet.hu> wrote: > > Hi All, > > > > currently scale video filter accepts expressions in its width and height > > parameters but evaluates them only once at init and replaces them with > > their actual values. Later on, if any parameter of incoming frames > > changes - ie those were used in the original size expressions - then > > they new values will not have any affect for width and heigth values. > > They remain the same. This patch makes possible that width and height > > expressions be evaluated frame-by-frame basis if width/height/sar/format > > properties of incoming frame would change. To retain the current > > behaviour and not to break any earlier app, a new config parameter has > > been introduced. Its name is "eval" and it has two distinct values: > > "init" and "frame". The default value is "init". > > This feature is very usefull in case of DVBT mpeg-ts streams where SAR > > may change > > time-by-time from 4/3 to 16/9 and vica-versa and the size remains the > > same and > > and you want to create a variable sized output with 1/1 SAR. > > > > > > Please consider to put this patch into the official ffmpeg source tree. > > > > thank you, > > > > Bela Bodecs > > > > probably ok
applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel