Opened 6 years ago
Closed 6 years ago
#7455 closed defect (fixed)
sr filter command get Segmentation fault
Reported by: | Steven Liu | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | avfilter sr |
Cc: | bygrandao@gmail.com | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
[root@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@chinaffmpeg sr]#
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed by commit id: 4b0033220361a6b61454da84f8bdf7f801ceda52
Note:
See TracTickets
for help on using tickets.
https://patchwork.ffmpeg.org/patch/10466/
have sent a patch for fix this ticket.