Paker strumieniowania HLS/DASH
Pakuj filmy do strumieniowania w sieci. Generuj listy odtwarzania HLS i manifesty DASH z wieloma wariantami jakości.
Standard HLS (VOD)
Create a .m3u8 playlist and segments.
ffmpeg -i input.mp4 -c:v libx264 -c:a aac -f hls -hls_time 10 -hls_list_size 0 output.m3u8
Note:Creates 10-second segments.
-hls_list_size 0 includes all segments in the playlist (required for VOD).HLS Single File (Byte Range)
One large .ts file with byte ranges.
ffmpeg -i input.mp4 -c:v libx264 -c:a aac -f hls -hls_time 10 -hls_flags single_file output.m3u8
Note:Instead of hundreds of small files, creates one output.ts and uses byte ranges in the .m3u8 playlist. Easier to manage.
VIDEO API
Odkryj, dlaczego Hunt jest preferowanym dostawcą API dla programistów.