Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- DATETIME=`date +%d-%H`
- #Set Path for ffmpeg Libraries
- export LD_LIBRARY_PATH=/usr/lib/
- echo="WE BE RUNNING!"
- ffmpeg -i http://serverip:1935/video -acodec copy -vcodec copy -t 2:00 ../var/www/vod/video-$DATETIME.mp4 > /dev/null 2>&1
- #EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement