![]() serenity/360p.m3u8 – path of the playlist file – also tells ffmpeg to output HLS (.m3u8).-hls_segment_filename beach/360p_d.ts – explicitly define segments files’ names.-hls_playlist_type vod – adds the #EXT-X-PLAYLIST-TYPE:VOD tag and keeps all segments in the playlist.-hls_time 4 – segment target duration in seconds – the actual length is constrained by key frames.-b:v 800k -maxrate 856k -bufsize 1200k – limit video bitrate, these are rendition specific and depends on your content type.-sc_threshold 0 – don’t create key frames on scene change – only according to -g.-g 48 -keyint_min 48 – create key frame (I-frame) every 48 frames (~2 seconds) – will later affect correct slicing of segments and alignment of renditions.-crf 20 – Constant Rate Factor, high level factor for overall quality. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |