change ffmpeger examples
This commit is contained in:
parent
ac203e5de4
commit
124076dc87
|
@ -141,7 +141,8 @@ ____
|
||||||
Example usage in cron with Python:
|
Example usage in cron with Python:
|
||||||
```shell
|
```shell
|
||||||
# at every minute
|
# 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:
|
Example usage in terminal with make the script executable:
|
||||||
```shell
|
```shell
|
||||||
|
|
Loading…
Reference in New Issue
Block a user