Tool
Paste the text of an m3u8 file to see which variants it holds and each one's codecs and bandwidth in a table, then pick one and get the ffmpeg command that fetches it. Your input is processed only inside this browser and is never sent anywhere, and this tool never connects to the address.
Use it only on video you made or have the right to save. It does not cover getting around copy protection or removing DRM.
What you paste is analyzed only inside this browser and is never sent anywhere.
Paste m3u8 text to analyze it. Open the m3u8 address in a browser tab, or open the .m3u8 file in a text editor, and paste the text as it is.
HLS (HTTP Live Streaming) sends video as segments a few seconds long, and an m3u8 is the text file that lists them. There are two kinds. A master playlist is a list of variants: for each one it has an #EXT-X-STREAM-INF line followed by the address of that variant's media playlist. A media playlist is the segment list (#EXTINF) of one variant. A player reads the master and picks the variant that fits the network.
So if you pass the master straight to ffmpeg -i master.m3u8 -c copy out.mp4, you leave the choice of variant to ffmpeg's default. To get the variant you want you have to name the program, and this tool builds that command.
RESOLUTION and FRAME-RATE attributes. They are optional and may be missing.CODECS attribute. The box below the table explains strings like avc1.640028; the rules are covered in the Codec String Decoder.BANDWIDTH as the peak bitrate of the variant and AVERAGE-BANDWIDTH as the average. The average is shown when it exists.-map 0:p:N:v:0 -map 0:p:N:a?. If the audio is a per-language group you can pick one and it becomes -map 0:p:N:a:K.-protocol_whitelist file,http,https,tcp,tls,crypto is added automatically. Without it ffmpeg often fails to open the http addresses inside the file. For messages about aac_adtstoasc when putting AAC into MP4, the checkbox adds the filter. If an error persists, paste the log into the FFmpeg Error Log Explainer.-c copy moves the quality as it is. To shrink the file, re-encode it with the FFmpeg Command Builder and the CRF Recommender. You can check the codec and resolution of the MP4 you got with the Video File Info Viewer.Method 1 gives the master address as input and chooses the program with -map. It can fetch the audio linked to that variant even when the audio is a separate group.Method 2 gives the media playlist address of that variant directly. The command is simpler, but if the audio is a separate group you only get video. When a variant address is relative, Method 2 builds the full address from the master's full address.
ffmpeg -i.