Help us understand the problem. What is going on with this article?

convert m3u8 to mp4

ストリーミングで動画を配信してるサービスでたまに見かけるm3u8をmp4ファイルに変換した時のメモ

m3u8ファイルってどんなの?

こんなの
https://www.lifewire.com/m3u8-file-2621956

convert m3u8 to mp4

ffmpeg を使います

ffmpeg -protocol_whitelist "file,crypto,http,https,tcp,tls"  -i "<ファイル名.m3u8 or URL>" -c copy -bsf:a aac_adtstoasc "<出力ファイル名.mp4>" 

ディレクトリ内の全m3u8ファイルを変換する

for m3u8 in *.m3u8; ffmpeg -protocol_whitelist "file,crypto,http,https,tcp,tls"  -i "$m3u8" -c copy -bsf:a aac_adtstoasc "${m3u8%%.*}.mp4"
JUN_NETWORKS
やってみた系とメモはこっち。 何か制作した系はブログ。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした