madhawa

Sample "/usr/sbin/keepalive" for Apple HLS on FFMpeg Encoder

May 30th, 2012
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.91 KB | None | 0 0
  1. #!/bin/sh
  2. # (C) Copyright 2012 by Madhawa Jayanath ([email protected])
  3. #
  4. #
  5. # This program is free software; you can redistribute it and/or modify it under
  6. # the terms of the GNU General Public License as published by the Free Software
  7. # Foundation; either version 3 of the License, or (at your option) any later
  8. # version.
  9. #
  10. # This program is distributed in the hope that it will be useful, but WITHOUT
  11. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  12. # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
  13. # details.
  14. #
  15. # You should have received a copy of the GNU General Public License along with
  16. # this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
  17. # Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. while [ 1 ]
  19. do
  20. sleep 10
  21. nohup /usr/sbin/makem3u8_128k 2>/dev/null &
  22. nohup /usr/sbin/makem3u8_256k 2>/dev/null &
  23. done
Add Comment
Please, Sign In to add comment