Skip to content

Instantly share code, notes, and snippets.

@arunkumartdr
Last active April 30, 2021 10:29
Show Gist options
  • Save arunkumartdr/b4fed058962bae27538a7f03201399fc to your computer and use it in GitHub Desktop.
Save arunkumartdr/b4fed058962bae27538a7f03201399fc to your computer and use it in GitHub Desktop.
FFmpeg hls creation
ffmpeg -i kmn.mp4 -codec: copy -sn -start_number 0 -hls_time 10 -hls_list_size 0 -f hls "test/kmn.m3u8"
ffmpeg -i tt.mkv -profile:v baseline -strict -2 -level 3.0 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls "test/tt.m3u8"
// -sn removes subtitles in input video
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment