Advertisement
ionstorm66

Untitled

May 6th, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. exec_options on;
  2. #Pull TGG1
  3. pull rtmp://127.0.0.1/tgg1/stream name=tgg1;
  4. #Push to HLS
  5. exec_push avconv -re -i rtmp://127.0.0.1/bypass/tgg1 -c:v copy -c:a copy -f flv rtmp://localhost/hls/tgg1 name=tgg1;
  6. #Push audio only HLS
  7. exec_push avconv -re -i rtmp://127.0.0.1/bypass/tgg1 -c:a copy -f flv rtmp://localhost/hls/tgg1_audio name=tgg1;
  8. #Push to HLS
  9. exec_push avconv -re -i rtmp://127.0.0.1/bypass/tgg1 -c:v copy -c:a copy -f flv rtmp://live.justin.tv/app/[snip] name=tgg1;
  10.  
  11. #Pull TGG2
  12. pull rtmp://127.0.0.1/tgg2/stream name=tgg2;
  13. #Push to HLS
  14. exec_push avconv -re -i rtmp://127.0.0.1/bypass/tgg2 -c:v copy -c:a copy -f flv rtmp://localhost/hls/tgg2 name=tgg2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement