Last active
January 2, 2017 18:03
-
-
Save ykzts/eeef396e3771a2f4fd336ff84e95aee8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
rivarun --b25 --sid 23608 --ch GR/16 - - | \ | |
~chinachu/Chinachu/usr/bin/ffmpeg \ | |
-i pipe:0 \ | |
-map 0:0 \ | |
-map 0:1 \ | |
-c:v h264 \ | |
-c:a aac \ | |
-bsf:v h264_mp4toannexb \ | |
-f segment \ | |
-segment_format mpegts \ | |
-segment_time 2 \ | |
-segment_list /tmp/live/stream/index.m3u8 \ | |
-hls_time 2 \ | |
/tmp/live/stream/%03d.ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment