a guest Sep 16th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ffmpeg -loglevel debug -re -f concat -safe 0 -stream_loop -1 -i playlist.txt -y -filter_complex [0:v]scale=640:360,setsar=sar=1[presplit];[presplit]split=1[split0];[split0]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2[out0] -map [out0] -map 0:a -s 640x360 -c:v libx264 -profile:v main -vb 56k -r 30 -g 30 -sc_threshold 0 -force_key_frames expr:gte(t,n_forced*30) -vbsf h264_mp4toannexb -movflags frag_keyframe+empty_moov+faststart -c:a:0 aac -b:a 64k -ar 44100 -ac 2 -strict experimental -f segment -segment_format mpegts -segment_time 6 -segment_list ./stream/84d2a8f3-6413-4ef0-b1fd-7df0337dda91/0/playlist.m3u8 -segment_list_flags live -segment_list_size 10 ./stream/84d2a8f3-6413-4ef0-b1fd-7df0337dda91/0/seg-%05d.ts
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand