Commit 3fa1a8e6 authored by hark's avatar hark
Browse files

lala

parent 7fd57c46
......@@ -10,8 +10,17 @@ rtmp_user=''
rtmp_pass=''
rtmp_url="rtmp://dock.lag/stream/leftover"
while [ true ]
do
ffmpeg -loop 1 -framerate 30 \
-i $image -i $stream \
-c:v libx264 -pix_fmt yuv420p \
-vf "drawtext=textfile=$text_file:reload=1:fontfile=$font:y=h-line_h-10:x=w-mod(max(t-4.5\,0)*(w+tw)/10.5\,(w+tw)):fontcolor=00dc90:fontsize=40:shadowx=2:shadowy=2"\
-vf "drawtext=textfile=$text_file:reload=1:fontfile=$font:y=h-line_h-10:x=w-mod(max(t-4.5\,0)*(w+tw)/10.5\,(w+tw)):fontcolor=00dc90:fontsize=30:shadowx=2:shadowy=2"\
-c:a aac -ar 44100 -f flv $rtmp_url
sleep 5
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment