Currently I use this command :įfmpeg -protocol_whitelist "file,http,https,tcp,tls" -i input.m3u8 output.mp4Īlthough even if the video quality is almost perfect it's a little below the quality of the original m3u8 file. So a mp4 file is always a MPEG-4 (H.264) video. mp4 is the file extension of the MPEG-4 (H.264) video format. Then I searched and found on Wikipedia and on the Apple website that this protocol embeds the MPEG-4 (H.264) video format. ts files are video files where each one are a little part of the whole video. Once you have that list and the files in proper format, you can use whatever method you choose to deliver them to your media source player. This protocol consists of an index file (the m3u8 file) that is a text file containing several URL redirecting to. ffmpeg -i bunny.mp4 -f hls -hlssegmenttype fmp4 -c:v copy playlist.m3u8 will generate a playlist file that lists the files, an init.mp4, and the video segments. I saw that this file extension corresponds to a HTTP Live Streaming protocol also called HLS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |