jlyttle / dizquetv

Create live TV channels from your own media. Access the streams using the simulated HDHomerun tuner or the generated M3U URl.
zlib License
0 stars 0 forks source link

Add time clock to top left corner of the stream #2

Open jlyttle opened 2 years ago

jlyttle commented 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:

image

jlyttle commented 2 years ago

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}'"