-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.txt
3 lines (3 loc) · 992 Bytes
/
test.txt
1
2
3
ffmpeg -v verbose -i rtmp://127.0.0.1:1936/live/stream -c:v libx264 -c:a aac -ac 1 -strict -2 -crf 18 -profile:v baseline ffmpeg -v verbose -i rtmp://127.0.0.1:1936/live/stream -c:v libx264 -c:a aac -ac 1 -strict -2 -crf 18 -profile:v baseline -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -start_number 1 /home/thomas/Documents/rtmpserver/nginx_hls_converter/hls/stream.m3u8
-maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 /home/thomas/Documents/rtmpserver/nginx_hls_converter/hls/stream.m3u8
gst-launch-1.0 rtmpsrc location=rtmp://127.0.0.1:1936/live/stream ! decodebin ! videoconvert ! x264enc ! h264parse ! queue ! mux. audiotestsrc is-live=true ! audioconvert ! avenc_aac ! aacparse ! queue ! mux. mpegtsmux name=mux ! hlssink location=/home/thomas/Documents/rtmpserver/nginx_hls_converter/hls/stream.m3u8 playlist-length=6 max-files=10 target-duration=10