From 124076dc876db4f8f22a5bafb8d412171c947d01 Mon Sep 17 00:00:00 2001 From: "pavel.muhortov" Date: Thu, 15 Sep 2022 20:01:31 +0300 Subject: [PATCH] change ffmpeger examples --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d905c0..11ee67f 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,8 @@ ____ Example usage in cron with Python: ```shell # at every minute -* * * * * /usr/bin/python3 ~/ffmpeger.py -s rtsp://user:pass@host:554/Streaming/Channels/101 --dst rtmp://a.rtmp.youtube.com/live2/YOUKEY --mono --watchdog --sec 30 >> /dev/null 2>&1 +* * * * * /usr/bin/python3 ~/ffmpeger.py -s rtsp://user:pass@host:554/Streaming/Channels/video,http://Streaming/Channels/audio --dst rtmp://a.rtmp.youtube.com/live2/YOUKEY --mono --watchdog --sec 30 >> /dev/null 2>&1 +* * * * * /usr/bin/python3 ~/ffmpeger.py -s ~/media.mp4 --dst rtmp://b.rtmp.youtube.com/live2?backup=1/YOUKEY --mono >> /dev/null 2>&1 ``` Example usage in terminal with make the script executable: ```shell