[FFmpeg-cvslog] Insert setdar at the begin of a filter chain instead the end.

Michael Niedermayer michaelni at gmx.at
Fri Apr 1 17:43:47 CEST 2011


On Fri, Apr 01, 2011 at 04:58:05PM +0200, Michael Niedermayer wrote:
> On Fri, Apr 01, 2011 at 11:31:57AM +0200, Stefano Sabatini wrote:
> > On date Friday 2011-04-01 02:29:34 +0200, Michael Niedermayer wrote:
> > > ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Apr  1 02:13:51 2011 +0200| [859676dd426e7051b41b174886e6e64271e93cdc] | committer: Michael Niedermayer
> > > 
> > > Insert setdar at the begin of a filter chain instead the end.
> > > This fixes -vf setsar
> > 
> > What is this exactly fixing?
> 
> try -vf setsar=anything
> 
> it does not work because setdar is added after it
> or said differently the aspect ratio from the filter chain is totally
> ignored.
> 
> 
> > 
> > And setting the filter at the begin of the filterchain won't allow to
> > set the filterchain output DAR, as the filterchain may insert other
> > setdar/setsar filters and/or rescale the input video.
> 
> the output dar can be set with setdar
> 
> 
> 
> > 
> > Also there is the problem in the case "[in]" is specified at the begin
> > of the user-specified filtergraph description, which will cause a
> > syntax error.
> 
> i see the problem, iam not sure how to fix it best

i pushed an alternative fix, please comment

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20110401/bdc2e5f8/attachment.asc>


More information about the ffmpeg-cvslog mailing list