View Single Post
  #2  
Old 08-05-2016, 04:09 AM
j3443694 j3443694 is offline
Junior Member
 
Join Date: Jan 2016
Posts: 7
j3443694 is on a distinguished road
Default

Re: How I can put text on the streaming with ffmpeg?


use "drawtext" in the ffmpeg

for example :
ffmpeg -i input.mp4 -vf drawtext="fontfile=/path/to/font.ttf: \
text='Stack Overflow': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: \
boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy output.mp4

Reply With Quote