Open jlyttle opened 2 years ago
Hardcode for now. If time is b/w 6-9a, 11:30-1:15p, or 4:30-6:15p & the stream is starting, the clock text should be overlaid on the stream. Use a font similar to the one shown here:
ffplay -i <video file> -vf drawtext="fontfile=monofonto.ttf: fontsize=96: fontcolor=white: x=(w-text_w)/10: y=(h-text_h)/10: text='%{localtime\:%H\\\\\:%M}'"
Hardcode for now. If time is b/w 6-9a, 11:30-1:15p, or 4:30-6:15p & the stream is starting, the clock text should be overlaid on the stream. Use a font similar to the one shown here: