[FFmpeg-trac] #4157(undetermined:new): ffmpeg does not recognize drawtext command
FFmpeg
trac at avcodec.org
Thu Dec 4 12:16:27 CET 2014
#4157: ffmpeg does not recognize drawtext command
-------------------------------------+-------------------------------------
Reporter: illumilore | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
After compiling ffmpeg with the --enable-filter=drawtext, when launching
the command, it does not recognize the option.
$ ./ffmpeg -f alsa -itsoffset 0.7 -ar 24000 -i plughw:2 -f video4linux2
-input_format mjpeg -s 960x720 -r 5 -i /dev/video0 -map 0:a -map 1:v
http://127.0.0.1:8090/cam.ffm -f segment -segment_time 3600
-segment_atclocktime 1 -r 5 -s 640x480 -reset_timestamps 1
-segment_list_flags live -vf
"drawtext='fontfile=/usr/share/fonts/truetype/DejaVuSans.ttf:fontcolor=white:fontsize=30:x=1:y=2:shadowx=1:shadowy=1:text=%{localtime\:%Y-%m-%d
%H\\\\\:%M\\\\\:%S}'" -segment_start_number 504 /media/cam/test_%04d.avi
ffmpeg version N-68199-g5fe026f Copyright (c) 2000-2014 the FFmpeg
developers
built on Dec 4 2014 04:06:36 with gcc 4.8 (SUSE Linux)
configuration: --enable-filter=drawtext
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'plughw:2':
Duration: N/A, start: 1417691649.389935, bitrate: 768 kb/s
Stream #0:0: Audio: pcm_s16le, 24000 Hz, 2 channels, s16, 768 kb/s
Input #1, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 2046885.891824, bitrate: N/A
Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown),
960x720, 0 kb/s, 5 fps, 5 tbr, 1000k tbn, 1000k tbc
[swscaler @ 0x1ea07e0] deprecated pixel format used, make sure you did set
range correctly
[swscaler @ 0x1f07b80] deprecated pixel format used, make sure you did set
range correctly
[swscaler @ 0x1f23900] deprecated pixel format used, make sure you did set
range correctly
[AVFilterGraph @ 0x1f31080] No such filter: 'drawtext'
Error opening filters!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4157>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list