[FFmpeg-trac] #4945(undetermined:new): potential regression on drawtext timecode
FFmpeg
trac at avcodec.org
Tue Oct 20 09:56:26 CEST 2015
#4945: potential regression on drawtext timecode
-------------------------------------+-------------------------------------
Reporter: | Owner:
lorenzo.angeli | Status: new
Type: defect | Component:
Priority: important | undetermined
Version: git-master | Resolution:
Keywords: crash | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by lorenzo.angeli):
Hi , sorry for the delay.
the external x264 is not needed and I can reproduce with the other flags.
Here is a command which uses both and segfault.
{{{
./ffmpeg -y -r 25.0 -f lavfi -i testsrc -vcodec mpeg4 -qscale 2
-filter_complex "[0:v]null,scale=1920:1080,
drawtext=timecode=\'00:00:00:00\':r=25.0:fontcolor=white at 1:fontsize=28:x=50:y=50-text_h[clip];[clip]scale=1920:1080,
fps=25.0, setdar=16:9[v]" -map [v] -v debug
/home/efesto/Desktop/foobar.mov
ffmpeg version N-50577-g777b305-static http://johnvansickle.com/ffmpeg/
Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.3 (Debian 4.9.3-5)
configuration: --enable-gpl --enable-version3 --disable-shared
--disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-
libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-
libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
--enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls
--enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi
--cc=gcc-4.9
libavutil 55. 4.100 / 55. 4.100
libavcodec 57. 7.100 / 57. 7.100
libavformat 57. 8.100 / 57. 8.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '25.0'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'lavfi'.
Reading option '-i' ... matched as input file with argument 'testsrc'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'mpeg4'.
Reading option '-qscale' ... matched as option 'qscale' (use fixed quality
scale (VBR)) with argument '2'.
Reading option '-filter_complex' ... matched as option 'filter_complex'
(create a complex filtergraph) with argument '[0:v]null,scale=1920:1080,
drawtext=timecode=\'00:00:00:00\':r=25.0:fontcolor=white at 1:fontsize=28:x=50:y=50-text_h[clip];[clip]scale=1920:1080,
fps=25.0, setdar=16:9[v]'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '[v]'.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument 'debug'.
Reading option '/home/efesto/Desktop/foobar.mov' ... matched as output
file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option filter_complex (create a complex filtergraph) with
argument [0:v]null,scale=1920:1080,
drawtext=timecode=\'00:00:00:00\':r=25.0:fontcolor=white at 1:fontsize=28:x=50:y=50-text_h[clip];[clip]scale=1920:1080,
fps=25.0, setdar=16:9[v].
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file testsrc.
Applying option r (set frame rate (Hz value, fraction or abbreviation))
with argument 25.0.
Applying option f (force format) with argument lavfi.
Successfully parsed a group of options.
Opening an input file: testsrc.
detected 8 logical cores
[Parsed_testsrc_0 @ 0x36311c0] size:320x240 rate:25/1 duration:-1.000000
sar:1/1
[AVFilterGraph @ 0x362fda0] query_formats: 2 queried, 1 merged, 0 already
done, 0 delayed
[lavfi @ 0x362f6c0] All info found
Input #0, lavfi, from 'testsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0, 1, 1/25: Video: rawvideo, 1 reference frame (RGB[24] /
0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 1/25, 25 tbr, 25 tbn, 25
tbc
Successfully opened the file.
[Parsed_scale_1 @ 0x3634280] Setting 'w' to value '1920'
[Parsed_scale_1 @ 0x3634280] Setting 'h' to value '1080'
[Parsed_scale_1 @ 0x3634280] w:1920 h:1080 flags:'bilinear' interl:0
[Parsed_drawtext_2 @ 0x3634c00] Setting 'timecode' to value '00:00:00:00'
[Parsed_drawtext_2 @ 0x3634c00] Setting 'r' to value '25.0'
[Parsed_drawtext_2 @ 0x3634c00] Setting 'fontcolor' to value 'white at 1'
[Parsed_drawtext_2 @ 0x3634c00] Setting 'fontsize' to value '28'
[Parsed_drawtext_2 @ 0x3634c00] Setting 'x' to value '50'
[Parsed_drawtext_2 @ 0x3634c00] Setting 'y' to value '50-text_h'
Segmentation fault
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4945#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list