[FFmpeg-trac] #1264(undetermined:new): removelogo filter causes segmentation fault before processing begins
FFmpeg
trac at avcodec.org
Mon Apr 30 01:34:45 CEST 2012
#1264: removelogo filter causes segmentation fault before processing begins
-------------------------------------+-------------------------------------
Reporter: | Type: defect
haydonffmpeg | Priority: normal
Status: new | Version: git-
Component: | master
undetermined | Blocked By:
Keywords: removelogo | Reproduced by developer: 0
1920x1080 |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary describes problem.
Command line:
ffmpeg -v 9 -loglevel 99 -y -i Grimm_sample.wtv -r 29.97 -crf 20 -filter:v
yadif,removelogo=Logo_WBAL.gif,scale=1024:-1 -sws_flags spline -preset
slow -profile:v baseline -aq 90 -ac 2 Grimm_samplefail.mp4
The command line can be simplified significantly with the sample inputs
I've provided. I've been unable to get removelogo working with any
combination of options. Distribution is Gentoo.
ffmpeg output:
ffmpeg version N-40204-g9d7c1b4 Copyright (c) 2000-2012 the FFmpeg
developers
built on Apr 28 2012 17:23:57 with gcc 4.6.3
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc
--cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar
--optflags='-march=native -O2 -pipe -fomit-frame-pointer' --extra-
cflags='-march=native -O2 -pipe -fomit-frame-pointer' --extra-
cxxflags='-march=native -O2 -pipe -fomit-frame-pointer' --disable-static
--enable-gpl --enable-version3 --enable-postproc --enable-avfilter
--disable-stripping --disable-debug --disable-doc --disable-network
--disable-vaapi --disable-vdpau --disable-ffplay --enable-runtime-
cpudetect --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis
--enable-libx264 --enable-libaacplus --enable-nonfree --enable-libfaac
--enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --disable-
indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa
--disable-outdev=oss --disable-outdev=sdl --enable-pthreads --enable-
libvpx --enable-libopenjpeg --disable-altivec --disable-avx --disabl
libavutil 51. 48.100 / 51. 48.100
libavcodec 54. 17.100 / 54. 17.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.100 / 2. 72.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
libpostproc 52. 0.100 / 52. 0.100
[wtv @ 0x260bfb0] Format wtv probed with size=2048 and score=100
[wtv @ 0x260bfb0] unsupported metadata entry; key:VRD/PLACEHOLDER, type:2,
length:0x8
[wtv @ 0x260bfb0] File position before avformat_find_stream_info() is
294912
[wtv @ 0x260bfb0] parser not found for codec dvb_teletext, packets or
times may be invalid.
[wtv @ 0x260bfb0] All info found
rfps: 23.666667 0.016554
rfps: 23.750000 0.013702
Last message repeated 1 times
rfps: 23.833333 0.011651
Last message repeated 1 times
rfps: 23.916667 0.010402
Last message repeated 1 times
rfps: 24.000000 0.009953
rfps: 24.083333 0.010306
rfps: 24.166667 0.011459
rfps: 24.250000 0.013414
rfps: 24.333333 0.016170
rfps: 24.416667 0.019728
rfps: 35.583333 0.017093
rfps: 35.666667 0.014111
rfps: 35.750000 0.011930
rfps: 35.833333 0.010550
rfps: 35.916667 0.009972
rfps: 36.000000 0.010194
Last message repeated 1 times
rfps: 36.083333 0.011218
Last message repeated 1 times
rfps: 36.166667 0.013043
Last message repeated 1 times
rfps: 36.250000 0.015669
Last message repeated 1 times
rfps: 36.333333 0.019096
rfps: 59.416667 0.015809
rfps: 59.500000 0.011177
Last message repeated 1 times
rfps: 59.583333 0.007346
Last message repeated 1 times
rfps: 59.666667 0.004315
Last message repeated 1 times
rfps: 59.750000 0.002086
Last message repeated 1 times
rfps: 59.833333 0.000659
Last message repeated 1 times
rfps: 59.916667 0.000032
Last message repeated 1 times
rfps: 23.976024 0.010000
Last message repeated 1 times
rfps: 59.940060 0.000000
Last message repeated 1 times
[wtv @ 0x260bfb0] File position after avformat_find_stream_info() is
1998848
Input #0, wtv, from 'Grimm_Sample.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Grimm
WM/SubTitle : Cat and Mouse
WM/SubTitleDescription: Nick discovers that Monroe and Rosalee are
harboring a murder suspect (Neil Hopkins) whose crime spree began
overseas.
genre : Drama;General;Series;Sci-Fi/Fantasy
WM/OriginalReleaseTime: 0
WM/MediaCredits : David Giuntoli/Russell Hornsby/Bitsie Tulloch/Silas
Weir Mitchell/Reggie Lee/Sasha Roiz;;;Bree Turner/Sebastian Roche/Neil
Hopkins
service_provider: WBALDT
service_name : WBALDT (WBAL-DT)
WM/MediaNetworkAffiliation: NBC Affiliate
WM/MediaOriginalChannel: 511
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2012-04-20T04:00:00Z
WM/MediaIsStereo: true
WM/MediaIsRepeat: false
WM/MediaIsLive : false
WM/MediaIsTape : false
WM/MediaIsDelay : false
WM/MediaIsSubtitled: false
WM/MediaIsMovie : false
WM/MediaIsPremiere: false
WM/MediaIsFinale: false
WM/MediaIsSAP : false
WM/MediaIsSport : false
WM/ParentalRating: TV-14
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-04-21 00:58:15
WM/WMRVSeriesUID: !MCSeries!01418971
WM/WMRVServiceID: !MCService!28460388
WM/WMRVRequestID: -1
WM/WMRVScheduleItemID: -1
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 0
WM/WMRVOriginalSoftPostPadding: 0
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: true
Duration : 11676334
WM/WMRVBitrate : 14.791826
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 0
WM/WMRVActualSoftPostPadding: 0
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationDate: 9999-12-31 23:59:59
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : true
WM/MediaOriginalRunTime: 11676334
WM/WMRVEndTime : 2012-04-21 00:58:16
Duration: 00:00:00.97, start: 0.195556, bitrate: 19416 kb/s
Stream #0:0[0x5], 22, 1/10000000: Video: mpeg2video (Main), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 1001/60000, 65000 kb/s, 23.98 fps, 59.94
tbr, 10000k tbn, 59.94 tbc
Stream #0:1[0x6], 28, 1/10000000: Subtitle: dvb_teletext
Stream #0:2[0x7], 27, 1/10000000: Audio: ac3, 48000 Hz, 5.1(side),
s16, 384 kb/s
[buffer @ 0x2627370] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:flags=2
[yadif @ 0x2626270] mode:0 parity:-1 auto_enable:0
Segmentation fault
Should be very easy to reproduce. If not I can assist debug.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1264>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list