Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exec_options on;
- #Pull TGG1
- pull rtmp://127.0.0.1/tgg1/stream name=tgg1;
- #Push to HLS
- 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;
- #Push audio only HLS
- exec_push avconv -re -i rtmp://127.0.0.1/bypass/tgg1 -c:a copy -f flv rtmp://localhost/hls/tgg1_audio name=tgg1;
- #Push to HLS
- 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;
- #Pull TGG2
- pull rtmp://127.0.0.1/tgg2/stream name=tgg2;
- #Push to HLS
- 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