New submission from Christian Ebert <[email protected]>:

As issue2377 has been closed (segfault fixed), there is still the problem that
-vf setdar has no effect. (Re)Use the sample uploaded to:

Mplayer/incoming/vob-crop-yadif-segfault-issue2377/

and note:

[setdar @ 0x170b160] w:360 h:640 -> dar:16/9 par:1/1

contradicted by:

Stream #0.0: Video: rawvideo, yuv420p, 640x360 [PAR 16:15 DAR 256:135], q=2-31,
200 kb/s, 90k tbn, 25 tbc


ffmpeg -an -i vob-crop-yadif-segfault-issue2377.vob -vf
crop=720:432:0:72,yadif,scale=640:360,setdar=16:9 -f null -
FFmpeg version SVN-r25818, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 24 2010 02:43:17 with gcc 4.0.1 (Apple Inc. build 5493)
  configuration: --enable-gpl --enable-version3 --enable-nonfree
--disable-network --disable-ffserver --disable-ffplay --enable-shared
--enable-pthreads --enable-postproc --enable-libx264 --enable-libxvid
--enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis
--extra-cflags=-I/sw/include --extra-libs=-L/sw/lib
  libavutil     50.33. 0 / 50.33. 0
  libavcore      0.14. 0 /  0.14. 0
  libavcodec    52.97. 2 / 52.97. 2
  libavformat   52.86. 1 / 52.86. 1
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.64. 0 /  1.64. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mpeg @ 0x1802600] max_analyze_duration reached
Input #0, mpeg, from 'vob-crop-yadif-segfault-issue2377.vob':
  Duration: 00:00:13.73, start: 0.360000, bitrate: 5965 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3],
7000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0xa0]: Audio: pcm_s16be, 48000 Hz, 2 channels, s16, 1536 kb/s
[buffer @ 0x170aaa0] w:720 h:576 pixfmt:yuv420p
[yadif @ 0x170aeb0] mode:0 parity:-1
[setdar @ 0x170b160] a:16/9
[crop @ 0x170adb0] w:720 h:576 -> w:720 h:432
[scale @ 0x170aff0] w:720 h:432 fmt:yuv420p -> w:640 h:360 fmt:yuv420p
flags:0xa0000004
[setdar @ 0x170b160] w:360 h:640 -> dar:16/9 par:1/1
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf52.86.1
    Stream #0.0: Video: rawvideo, yuv420p, 640x360 [PAR 16:15 DAR 256:135],
q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding

----------
messages: 12650
nosy: blacktrash
priority: normal
status: new
substatus: new
title: -vf setdar has no effect
topic: avfilter
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2378>
________________________________________________

Reply via email to