Skip to content

Instantly share code, notes, and snippets.

@manueldev
Created February 2, 2023 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manueldev/953477fd5ec2bf4881c72defb6597a2e to your computer and use it in GitHub Desktop.
Save manueldev/953477fd5ec2bf4881c72defb6597a2e to your computer and use it in GitHub Desktop.
FFmpeg command for Mpeg Dash mpd to HLS streamcopy.
ffmpeg -hide_banner -loglevel 24 -fflags +igndts -i "http://mpd-link" -map 0:2 -map 0:3 -c copy -c:a aac -b:a 128k -af aresample=async=1 -f hls -hls_time 3 -hls_list_size 5 -segment_list_flags +live -hls_flags independent_segments+delete_segments -hls_segment_type mpegts -hls_segment_filename data_chv_%02d.ts master_chv.m3u8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment