Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Direct copy of pre-encoded file:

$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
@recall704
Copy link
Author

recall704 commented Dec 24, 2021

ffmpeg -i input.mp4 -profile:v baseline -strict -2 -level 3.0 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment