[FFmpeg-trac] #1196(avfilter:new): drawtext parameter keys "n" and "t" not working
FFmpeg
trac at avcodec.org
Fri Apr 13 05:35:10 CEST 2012
#1196: drawtext parameter keys "n" and "t" not working
----------------------------------+---------------------------------------
Reporter: ad | Type: defect
Status: new | Priority: important
Component: avfilter | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
I tried using drawtext's "n" and "t" parameter keys using the example
below:
ffmpeg -vsync 0 -t 10 -i in)video.mp4 -vf
drawtext="fontfile=/usr/share/fonts/truetype/ttf-
dejavu/DejaVuSerif.ttf:text='Text at 5 Looks
good':fontsize=20:fontcolor=red:x=100:y=100:n=688" out.mp4
[drawtext @ 0xa64ca40] Key 'n' not found.
[drawtext @ 0xa64e6c0] Error parsing options string:
'fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf:text=Text
at 5 Looks good:fontsize=20:fontcolor=red:x=100:y=100:n=688'
Error initializing filter 'drawtext' with args
'fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf:text=Text
at 5 Looks good:fontsize=20:fontcolor=red:x=100:y=100:n=688'
I get same error with "t" parameter.
If anyone knows if these parameters work, please give a usage example.
Otherwise, do you have any advice on how to achieve objective "1--" and
"2--" below?
1-- Overlay text 10 seconds into the video.
2-- Overlay text over video at 1 second intervals into the video.
The text last for 1 second or specified duration.
I am trying to use drawtext filter to overlay text 10 seconds into the
video. I couldn't find any solution using drawtext filter. i.e.
How to overlay text at specified seconds/frame into the video?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1196>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list