Advertisement
Guest User

Untitled

a guest
Jul 20th, 2014
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/bin/sh
  2. DATETIME=`date +%d-%H`
  3. #Set Path for ffmpeg Libraries
  4. export LD_LIBRARY_PATH=/usr/lib/
  5. echo="WE BE RUNNING!"
  6.  
  7.  
  8. ffmpeg -i http://serverip:1935/video -acodec copy -vcodec copy -t 2:00 ../var/www/vod/video-$DATETIME.mp4 > /dev/null 2>&1
  9.  
  10.  
  11. #EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement