[FFmpeg-trac] #7455(avfilter:new): sr filter command get Segmentation fault
FFmpeg
trac at avcodec.org
Sun Sep 23 16:40:13 EEST 2018
#7455: sr filter command get Segmentation fault
-------------------------------------+-------------------------------------
Reporter: stevenliu | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-
Keywords: avfilter sr | master
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
[root at chinaffmpeg sr]# ./ffmpeg -v debug -f lavfi -i nullsrc=s=320x240 -vf
"sr=dnn_backend=2:model=2:scale_factor=4" -y a.ts
ffmpeg version N-92000-g59256de Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
configuration: --enable-ffnvcodec --enable-gpl --enable-libtensorflow
libavutil 56. 19.101 / 56. 19.101
libavcodec 58. 30.100 / 58. 30.100
libavformat 58. 18.102 / 58. 18.102
libavdevice 58. 4.103 / 58. 4.103
libavfilter 7. 32.100 / 7. 32.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
}}}
{{{
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument 'debug'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'lavfi'.
Reading option '-i' ... matched as input url with argument
'nullsrc=s=320x240'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with
argument 'sr=dnn_backend=2:model=2:scale_factor=4'.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Reading option 'a.ts' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url nullsrc=s=320x240.
Applying option f (force format) with argument lavfi.
Successfully parsed a group of options.
Opening an input file: nullsrc=s=320x240.
detected 4 logical cores
[Parsed_nullsrc_0 @ 0x399e880] Setting 's' to value '320x240'
[Parsed_nullsrc_0 @ 0x399e880] size:320x240 rate:25/1 duration:-1.000000
sar:1/1
[AVFilterGraph @ 0x399d800] query_formats: 2 queried, 1 merged, 0 already
done, 0 delayed
[lavfi @ 0x399c9c0] All info found
Input #0, lavfi, from 'nullsrc=s=320x240':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0, 1, 1/25: Video: rawvideo, 1 reference frame (I420 /
0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 0/1, 25 tbr, 25 tbn, 25
tbc
Successfully opened the file.
Parsing a group of options: output url a.ts.
Applying option vf (set video filters) with argument
sr=dnn_backend=2:model=2:scale_factor=4.
Successfully parsed a group of options.
Opening an output file: a.ts.
[file @ 0x39e0180] Setting default whitelist 'file,crypto'
Successfully opened the file.
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
[rawvideo @ 0x39a0a00] PACKET SIZE: 115200, STRIDE: 480
[Parsed_sr_0 @ 0x39e2d00] Setting 'dnn_backend' to value '2'
[Parsed_sr_0 @ 0x39e2d00] Setting 'model' to value '2'
[Parsed_sr_0 @ 0x39e2d00] Setting 'scale_factor' to value '4'
Segmentation fault (core dumped)
[root at chinaffmpeg sr]#
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7455>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list