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

Trying to crop of the letterbox from a pal vob, the crop,yadif filter chain
leads to a segfault:

$ ffmpeg -i test.vob -vf crop=720:432:0:72,yadif,scale=640:360,setdar=16:9 -f
mp4 -b 500k -acodec libfaac -ab 128k -y test.mp4
FFmpeg version SVN-r25817, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 24 2010 01:20:15 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 'test.vob':
  Duration: 00:01:32.59, start: 0.360000, bitrate: 5666 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 @ 0x1701a20] w:720 h:576 pixfmt:yuv420p
[yadif @ 0x1701e30] mode:0 parity:-1
[setdar @ 0x17020e0] a:16/9
[crop @ 0x1701d30] w:720 h:576 -> w:720 h:432
[scale @ 0x1701f70] w:720 h:432 fmt:yuv420p -> w:640 h:360 fmt:yuv420p
flags:0xa0000004
[setdar @ 0x17020e0] w:360 h:640 -> dar:16/9 par:1/1
Output #0, mp4, to 'test.mp4':
  Metadata:
    encoder         : Lavf52.86.1
    Stream #0.0: Video: mpeg4, yuv420p, 640x360 [PAR 16:15 DAR 256:135], q=2-31,
500 kb/s, 25 tbn, 25 tbc
    Stream #0.1: Audio: libfaac, 48000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
Segmentation fault


1) moving yadif to the start of the filter chain prevents the segfault, but
leaves a green band at the bottom of the picture.

2) setdar has virtually no effect, neither has -aspect (is -aspect deprecated 
now)?

See also:  https://roundup.ffmpeg.org/issue1931 
And: http://thread.gmane.org/gmane.comp.video.ffmpeg.user/29103

----------
messages: 12643
nosy: blacktrash
priority: normal
status: new
substatus: new
title: -vf crop,yadif,setdar: segfault, setdar w/o effect
topic: avfilter
type: bug

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

Reply via email to