[FFmpeg-devel] [PATCH] libavfilter/vf_drawtext.c:add support to generte ms level timestamp

Siyuan Huang saber.huang at samsung.com
Mon Jun 1 12:01:03 EEST 2020


On 6/1/20, Siyuan Huang <saber.huang at samsung.com> wrote:

> Look email client will auto format the patch ,

> 

> 

> 

> So , patch file is attached ,

> 

> 

 

What is meaning of generte ?

 

 

--> this is used for generate  ms level watermark which burn in video . 

After that  it can test whole system latency (from camera to client ) or
said black box test . 

 

 

If there is other way which can burn ms level watermark , then  maybe  this
patch no need . 

 

Here is my script to generate live stream with watermark :

 

ffmpeg  -i inputfile -an -vcodec libx264 \

-vf
"drawtext=expansion=strftime:text='mspts':fontsize=50:fontcolor=yellow:box=1
:x=10:y=10:boxcolor=black at 0.5:fontfile=./FreeSerif.ttf"



More information about the ffmpeg-devel mailing list