From 597b09d182f33cc4de1a4e7949165cab776135a4 Mon Sep 17 00:00:00 2001 From: kev Date: Sun, 31 Dec 2017 11:24:08 +0800 Subject: [PATCH] update red5 ffmpeg command --- red5/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/red5/README.md b/red5/README.md index 4fd79b3..c5a5a90 100644 --- a/red5/README.md +++ b/red5/README.md @@ -31,11 +31,13 @@ $ docker-compose restart # no watermark $ ffmpeg -i /dev/video0 -video_size 800x600 -b 512k -f flv rtmp://easypi.pro/live/webcam -# with watermark (bottom right with 10 pixel padding) -$ ffmpeg -i /dev/video0 -video_size 800x600 -vf "drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf:expansion=strftime:text='\%F \%T':fontcolor=white@0.8:x=w-tw-10:y=h-th-10" -b 512k -f flv rtmp://easypi.pro/live/webcam +# with watermark (top right with 10px padding) +$ ffmpeg -i /dev/video0 -video_size 800x600 -vf "drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf:expansion=strftime:text='\%F^L \%T':fontcolor=white@0.8:x=w-tw-10:y=10" -b 512k -f flv rtmp://easypi.pro/live/webcam ``` -> Please try [easypi/rtmp-client-arm][2] on Raspberry Pi. +> Note: `^L` was typed via pressing `Ctrl-V` + `Ctrl-L` + +Please try [easypi/rtmp-client-arm][2] on Raspberry Pi. ## Player Setup