View various examples of .M3U8 files formatted to index streams and .ts media segment files on your Mac, iPhone, iPad, and Apple TV.
It works by breaking the overall stream into a sequence of small HTTP-based file downloads, each download loading one short chunk of an overall potentially unbounded transport stream. M3U8 is a computer file format that contains multimedia playlists. You've only got half the equation, as.m3u8 files are playlist files. Can you see the contents of the file? I'll wager the actual address for the video is listed inside. I'm trying to convert m3u8 to mp4 on a Mac. I have followed the instructions of a person who does it using VLC in Windows, however I can not find the option in the mac version. Media - Open Network Stream. Streaming Examples. View various examples of.M3U8 files formatted to index streams and.ts media segment files on your Mac, iPhone, iPad, and Apple TV.
Advanced stream
View example (TS)
View example (fMP4)
View example (fMP4)
- TS stream compatible with macOS v10.7 or later, iOS 6 or later, and tvOS 9 or later
- fMP4 stream compatible with macOS v10.12 or later, iOS 10 or later, and tvOS 10 or later
- Supports 'EXT-X-INDEPENDENT-SEGMENT' tag
- AVERAGE-BANDWIDTH, CODECS, RESOLUTION, FRAME-RATE attributes in variant definitions
- Floating point durations as separate segment files
- H.264 @ 30Hz and 60Hz
- 16x9 aspect ratio
- 8 video variants
- Gear 1 - 480x270 @ 775 kbps
- Gear 2 - 640x360 @ 1.2 Mbps
- Gear 3 - 768x432 @ 1.5 Mbps
- Gear 4 - 960x540 @ 2.5 Mbps
- Gear 5 - 1280x720 @ 3.5 Mbps
- Gear 6 - 1920x1080 @ 5 Mbps
- Gear 7 - 1920x1080 @ 6.5 Mbps
- Gear 8 - 1920x1080 @ 8 Mbps
- I-Frame variants (fast-forward / rewind support)
- 3 audio renditions
- AAC-LC - 48 kHz stereo @ 161 kbps
- AC-3 - 48 kHz 5.1 @ 384 kbps
- EC-3 - 48 kHz 5.1 @ 192 kbps
- 1 subtitle rendition (WebVTT)
- English
Advanced stream (HEVC/H.264)
- Stream backwards compatible with macOS v10.7 or later, iOS 6 or later, and tvOS 9 or later
- HEVC variants compatible with macOS v10.13 or later, iOS 11 or later, and tvOS 11 or later
- Floating point durations as separate segment files
- H.264 and HEVC @ 30Hz and 60Hz
- 16x9 aspect ratio
- Nine HEVC video variants
- Gear 9 - 1920x1080 @ 5.8 Mbps
- Gear 8 - 1920x1080 @ 4.5 Mbps
- Gear 7 - 1920x1080 @ 3.2 Mbps
- Gear 6 - 1280x720 @ 2.4 Mbps
- Gear 5 - 960x540 @ 1.7 Mbps
- Gear 4 - 768x432 @ 990 kbps
- Gear 3 - 640x360 @ 660 kbps
- Gear 2 - 480x270 @ 350 kbps
- Gear 1 - 416x234 @ 145 kbps
- Nine H.264 video variants
- Gear 9 - 1920x1080 @ 7.8 Mbps
- Gear 8 - 1920x1080 @ 6.0 Mbps
- Gear 7 - 1920x1080 @ 4.5 Mbps
- Gear 6 - 1280x720 @ 3.0 Mbps
- Gear 5 - 960x540 @ 2.0 Mbps
- Gear 4 - 768x432 @ 1.1 Mbps
- Gear 3 - 640x360 @ 730 kbps
- Gear 2 - 480x270 @ 365 kbps
- Gear 1 - 416x234 @ 145 kbps
- I-Frame variants (fast-forward / rewind support)
- 3 audio renditions
- AAC-LC - 48 kHz stereo @ 160 kbps
- AC-3 - 48 kHz 5.1 @ 384 kbps
- EC-3 - 48 kHz 5.1 @ 192 kbps
- 1 subtitle rendition (WebVTT)
- English
![Download M3u8 Stream Mac Download M3u8 Stream Mac](/uploads/1/2/4/8/124845813/508533452.jpg)
Basic stream
- Compatible with macOS v10.7 or later and iOS 4.3 or later
- 4x3 aspect ratio
- H.264 @ 30Hz
- floating point durations as separate segment files
- CODECS attribute in master playlist
- 4 video variants
- Gear 1 - 400x300 @ 232 kbps
- Gear 2 - 640x480 @ 650 kbps
- Gear 3 - 640x480 @ 1 Mbps
- Gear 4 - 960x720 @ 2 Mbps
- 1 audio-only variant
- Gear 0 AAC - 22.05 kHz stereo @ 40 kbps
Basic stream
Download M3u8 Linux
Note: The primary audio in the stream should be used for any sync testing. The second alternate audio demonstrates the use of an alternate audio option, but was not designed as a true sync verification.
- Compatible with macOS v10.7 or later and iOS 5 or later
- 16x9 aspect ratio
- H.264 @ 30Hz
- single .ts file, with byte-ranges in the playlists
- floating point durations
- CODECS and RESOLUTION attributes in master playlist
- I-Frames (fast forward rewind support)
- closed captions
- timed metadata (timecode every 5 seconds)
- 5 video variants
- Gear 1 - 416x234 @ 265 kbps
- Gear 2 - 640x360 @ 580 kbps
- Gear 3 - 960x540 @ 910 kbps
- Gear 4 - 1280x720 @ 1 Mbps
- Gear 5 - 1920x1080 @ 2 Mbps
- 1 audio-only variant
- Gear 0 - AAC - 22.05 kHz stereo @ 40 kbps
- 1 alternate audio
- alt audio - AAC - 22.05 kHz stereo @ 40 kbps
- subtitles (WebVTT)
折腾:
期间,需要想办法去下载m3u8为单独的,比如mp4的视频文件
所以再去搜:
m3u8如何下载
有各种下载器
后者用ffmpeg
“什么是 m3u8
说到 m3u8 就要先说说 HLS(HTTP Live Streaming)。HLS 是 Apple 公司针对 iPhone、iPod、iTouch 等移动设备,而研发的基于 HTTP 协议的流媒体解决方案。在 HLS 技术中,Web 服务器可以向客户端提供接近实时的音视频流,但是它又是使用的标准的 HTTP 协议。所以基本上,比较大型的点播直播类服务,都是基于 HLS 的。
而该技术的原理,就是将视频文件或者视频流,进行切片(ts文件),并建立索引文件(m3u8),它支持的视频流编码为 H.264,音频流编码为 AAC。
简单来说,基于 HLS 的视频流,会将完整的视频,切割成一个个比较小的视频片段(ts 文件),然后根据协议组合成一个 m3u8 文件。这些比较小的 ts 文件,是可以单独播放的。而视频播放器,拿到 m3u8 文件之后,根据对其内 ts 片段的索引,连续播放不同的视频片段,来达到流畅的播放效果。”
mac中去安装ffmpeg
然后去试试:
Download M3u8 Stream Mac Download
输出很多:
下载期间,速度很慢啊:
下载了好多分钟,才下载了4多分钟的视频:
最后终于下载完毕了。。。
结果是115MB的视频
的确够大。
【后记 2018-03-23】
后来遇到:
希望在输出的文件名中包含子文件夹,或者是完整路径。不知道具体写法。
猜测是直接放在双引号中即可。
但是还是去搜搜:
ffmpeg 指定输出路径
“路径中出现空格或其他空白符时,则需要用双引号把路径包括起来。
比如 “d:pathmy file.mp4””
的确是这个做法。
所以意思就是:
举例:
转载请注明:在路上 » 【已解决】Mac中如何下载m3u8为单独的视频文件