FFMPEG Command to Convert HLS (m3u8) Live Video Streaming to MP4 Video File in Command Line

 

 

 

For AAC audio you will also need to add the the bit ststream filter. (Thanks @aergistal for pointing that out)

 

 

ffmpeg -i in.m3u8 -acodec copy -bsf:a aac_adtstoasc -vcodec copy out.mp4

 

Leave a Reply