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

Stefano Sabatini stefano.sabatini-lala at poste.it
Tue Apr 5 15:46:15 CEST 2011


On date Monday 2011-04-04 22:36:55 +0200, Stefano Sabatini wrote:
> On date Monday 2011-04-04 22:04:06 +0200, Michael Niedermayer wrote:
> > On Mon, Apr 04, 2011 at 05:45:31PM +0200, Stefano Sabatini wrote:
> > > On date Monday 2011-04-04 12:31:03 +0200, Michael Niedermayer wrote:
> > > > On Mon, Apr 04, 2011 at 02:46:47AM +0200, Stefano Sabatini wrote:
> > > [...]
> > > > > Check patch (not correct, working on it, some re-design required),
> > > > > treat sample_aspect the same way w/h is treated.
> > > > 
> > > > doesnt work, try:
> > > > ffmpeg -vframes 3 -y -i ~/videos/matrixbench_mpeg2.mpg test.avi
> > > > ffprobe test.avi
> > > > 
> > > > Now:
> > > > Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
> > > > 
> > > > Your patch:
> > > > Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], PAR 1:1 DAR 5:4, 25 tbr, 25 tbn, 25 tbc
> > > 
> > > $ ffprobe test.avi 
> > > Input #0, avi, from 'test.avi':
> > >   Metadata:
> > >     encoder         : Lavf52.104.0
> > >   Duration: 00:00:00.12, start: 0.000000, bitrate: 3384 kb/s
> > >     Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
> > >     Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
> > > 
> > > Works fine here, please elaborate. Patch updated with a fix.
> > 
> > This patch works for me, if you prefer it iam fine with it
> 
> Cool, so I'll committ soon unless I see more comments (or I change
> idea)...

Pushed.
-- 
FFmpeg = Fantastic Faithless Multipurpose Power Experimenting God


More information about the ffmpeg-cvslog mailing list