Questions tagged [m3u8]
The Unicode version of "m3u" is "m3u8", which uses UTF-8 Unicode characters.
m3u8
739
questions
84
votes
7
answers
397k
views
Playing m3u8 Files with HTML Video Tag
I am trying to use HTTP Live Streaming (HLS) to stream video to my computers and my iPhone. After reading through the Apple 'HTTP Live Streaming Overview' as well as 'Best Practices for Creating and ...
33
votes
4
answers
61k
views
How to download .m3u8 in once time
I have a .m3u8 file on remote host, with contain fixed numbers of chunk .ts file name, and not stream:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:9.736,
media_0....
27
votes
2
answers
85k
views
how to fix Non-monotonous DTS in output stream 0:1; when using ffmpeg
When I use ffmpeg to convert m3u8 to mp4, I get some warning,
ffmpeg -i xx.m3u8 -c copy demo.mp4
warning is
Non-monotonous DTS in output stream 0:1; previous: 3277744, current: 3276712; changing ...
24
votes
4
answers
25k
views
Choose download resolution in m3u8 list with ffmpeg
I'm trying to download video from a m3u8 playlist using ffmpeg but I do not know how to choose the resolution to download. Currently the command is downloading the highest version
the command I am ...
22
votes
6
answers
83k
views
How to download and decrypt HTTP Live Streaming (HLS) videos in iOS?
I want to download M3U8 file chunks (HLS) and store that video (after decrypting it) for later viewing. I have made a demo to play M3U8 file but I want to download video data for later view.
21
votes
5
answers
85k
views
How to play html5 video play m3U8 on mobile and desktop?
I have HLS m3u8 that plays well on IOS and Android with html5 <video>
But does not play on desktop PC or desktop MAC (Chrome, Firefox)
How to play m3u8 on desktop PCs ?
Is there a streaming ...
21
votes
2
answers
45k
views
Mp4 to HLS using ffmpeg
I'm trying to convert a local .mp4 video to HLS using ffmpeg in an iOS app. I have integrated the ffmpeg wrapper using pods and generated all the segmented .ts files and the m3u8 file, but some of the ...
20
votes
7
answers
37k
views
Exoplayer playing m3u8 files Android
After trying multiple ways of playing m3u8 files using videoview and mediaplayer I decided to give up. Everytime i play the m3u8 file I only hear the voice.(please dont write urls from stack overflow ...
19
votes
13
answers
36k
views
PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)
**HI I am trying to play a live news video in my flutter app it is .m3u8 format but get above error. Using all of the updated dependencies. I want to play live news in my flutter app. I have the url ...
18
votes
1
answer
33k
views
Can I download all segments of a m3u8 file as one mp4 file using web ( no ffmpeg )
Is it possible to download all m3u8 segments in one file using javascript or php
I search for this but couldn't find anything;
17
votes
4
answers
25k
views
linux: m3u8: how to manually download and create an mp4 from segments listed in .m3u8
I have an .m3u8 url i.e http://example.com/test.m3u8
I can download it by ffmpeg command:
ffmpeg -y -loglevel verbose -i "http://example.com/test.m3u8" -c copy -f mpegts test.mp4
But i am trying to ...
17
votes
4
answers
34k
views
GStreamer installation is missing a plug-in
I hope that someone can help with this problem, been searching for a solution for the past 2 days.
To describe the problem in short: I'm trying to make a simple qt5.7 application that will stream an ...
17
votes
1
answer
28k
views
How does #EXT-X-DISCONTINUITY-SEQUENCE tag work in HLS m3u8 file
I'm inspecting about #EXT-X-DISCONTINUITY-SEQUENCE tag in m3u8 file of HLS.
(https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming-23#section-4.3.3.3)
Does somebody can explain the ...
14
votes
4
answers
25k
views
How to create byte-range m3u8 playlist for HLS?
Apple gives an example of support for byte-range segments in m3u8 files for HLS
#EXTM3U
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-VERSION:4
#EXTINF:10.0,
#EXT-X-BYTERANGE:75232@0
media....
14
votes
1
answer
4k
views
How can I find out the current TS segment during a HLS(m3u8) playback in iOS?
An HLS (m3u8) file references mpeg-ts files. During its playback in iOS' AVPlayer, how can i determine the currently playing mpeg-ts URI?
13
votes
4
answers
73k
views
Playing with video.js ustream m3u8 file streaming
I have tried to play in a web page a m3u8 file streaming with video.js, But I could not do it, I do not know where the mistake is
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-...
11
votes
2
answers
25k
views
Extract/Record Audio from HLS stream (video) while playing iOS
I am playing HLS streams using AVPlayer. And I also need to record these streams as user presses record button.
The approach I am using is to record audio and video separately then at the end merge ...
11
votes
1
answer
25k
views
HLS Streaming using node JS
I'm trying to stream HLS content using node.js. And somehow it is not working. It'll be of great help if someone helps me out.
Problem:-
Trying to serve HLS content from node.js (not live stream, but ...
11
votes
1
answer
3k
views
Play a local m3u8 file on android showing setDataSourceFD failed.: status=0x80000000
I am trying to play a local m3u8 file that is stored in my sdcard using android mediaplayer class .The m3u8 file and the .ts files are in the same directory. Third party players like MXPlayer joins ...
10
votes
5
answers
57k
views
How to decrypt AES-128 encrypted m3u8 video files?
I trying to decrypt AES-128 encrypted m3u8 video files such as this one :
the m3u8 file :
#EXTM3U
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:NO
#EXT-X-VERSION:2
#EXT-X-FAXS-CM:...
10
votes
3
answers
19k
views
How to detect video bitrate from HLS/M3U8 file using ffprobe
We need to detect the video bitrate of a HLS stream with ffprobe by using the m3u8 file of the .ts.
If I use the m3u8, I can get the duration, dimensions, codecs used, audio bitrate, but no video ...
10
votes
2
answers
19k
views
How to download m3u8 format media file in Android
I need to parse an m3u8 media file, which is a playlist, and download the actual media content. As per my understanding, the following are the process involved:
Parse the m3u8 file and get the '.TS' ...
9
votes
1
answer
13k
views
How to generate multiple resolutions HLS using FFmpeg for live streaming [closed]
Note that SRS supports generating individual m3u8 file for a specific resolution. Does SRS also support generating an additional master m3u8 file for the multiple resolutions and bitrate scenario?
...
9
votes
2
answers
42k
views
How do i embed this m3u8 into jw player
Total novice here so if you can be patient with me id really appreciate it.
Now i have this url
http://213.202.73.8:1234/data/channels/ARENA1. m3u8
I want to embed this into my JW Player, I have ...
9
votes
1
answer
6k
views
How to download HLS/M3U8 chunks in ios device?
How to store locally m3u8 file with all chunks (.ts) from url in ios device.
If possible so how to do it?
I have developing functionality like.. Download .m3u8 file with chunks(.ts) in ios local ...
9
votes
0
answers
4k
views
How FFmpeg multi-threaded download ts segment in m3u8 file?
I am using ffmpeg to download the ts in the m3u8 file and merge them into an mp4 file,Use the following command line:
ffmpeg -i <source m3u8 file> -c copy target.mp4
Although it can work, but ...
9
votes
0
answers
2k
views
Decode audio samples from hls stream on ios?
I am trying to decode audio samples from a remote HLS (m3u8) stream on an iOS device for further processing of the data, e.g. record to a file.
As reference stream http://devimages.apple.com/iphone/...
8
votes
3
answers
25k
views
Create m3u8 file from list of ts files
I want to create 'm3u8' file from the list of ts files. How can I do it?
I did search in google & read documentation of ffmpeg but I didn't find anything.
8
votes
2
answers
2k
views
Can't able to get Video Tracks from AVURLAsset for HLS videos(.m3u8 format) for AVPlayer?
I am developing a custom video player to stream HLS videos from server. I can successfully play HLS videos using AVPlayerItem and AVPlayer.
After that I want to add subtitle track and audio tracks ...
8
votes
0
answers
2k
views
How to play multiple(max four in my case) .m3u8 video streaming in single activity in android?
I've been facing these issues since very long, and I'm really disapointed with android support of HLS as it behaves too randomly.
Requirement :
1) Play multiple .m3u8 video streaming
2) Should work ...
7
votes
1
answer
7k
views
Concatenate the files present in .m3u8 in python
I am trying to concatenate .ts files present in a .m3u8 playlist in python,
Is there any way of doing it ??? If yes please do explain how
Thanks in advance
7
votes
1
answer
15k
views
Playing .m3u8 file on iOS
I have .m3u8 link which I need to play on iOS which supports the HLS Protocol.
When I assign URL directly to the MPMoviePlayerController and play, video is not visible but I can hear the audio.
...
7
votes
4
answers
10k
views
Downloading and playing offline HLS Content - iOS 10
Since iOS 10, Apple has provided the support for downloading HLS (m3u8) video for offline viewing.
My question is: Is it necessary that we can only download HLS when it is being played ? Or we can ...
7
votes
1
answer
4k
views
How to get the frame image before play m3u8 video streaming? iOS
I have a demand: get the frame image before play video streaming(m3u8) , as a video preview display. I use AVPlayerItemVideoOutpu copyPixelBufferForItemTime: itemTimeForDisplay: only when play the ...
7
votes
1
answer
8k
views
How to convert m3u8 URL to mp4 downloadable file in browser?
I am writing an extension to download videos from a website. That web site has mp4 files and m3u8 files. I have already implemented the part to download direct mp4 files. I stuck at converting the ...
7
votes
1
answer
3k
views
Chromecast SDK with m3u8 urls
I have setup the example webserver that comes with the SDK (https://github.com/googlecast/), and it works will the example media file they provide. When I try it with an example m3u8 file it fails ...
7
votes
1
answer
12k
views
Playing HLS m3u8 on iOS 9
I have a problem with playing video streams HLS m3u8. I created a new project with target iOS9 and use AVPlayer to plat video stream. While test stream is working, all other video streams which I use ...
7
votes
0
answers
640
views
How to add trick play to custom iOS video player build on top of AVPlayer to play .m3u8 files?
Goal:
To add youtube like preview feature when user seeks manually using the player seek bar.
From what I understand so far is that I will have to add "I-Frame only playlist" to my stream ...
6
votes
2
answers
9k
views
how to play m3u8 with exoplayer, the screen remains black
goes black trying to play m3u8 with exoplayer v2.10.5,which makes me add or how can I play m3u with exoplayer v2.10.5 and gradle 3.5.3
or which version of exoplayer would work with api 28 and gradle ...
6
votes
1
answer
25k
views
How to create dynamic m3u8 by pasting the URL in browser?
I want to create a dynamic m3u8 when a PHP script is called. I don't want to save the result m3u8 on server, instead I want to push it to browser so it is downloadable. Could anyone show me how I can ...
6
votes
2
answers
27k
views
Video.js / Contrib-HLS not playing HLS in most browsers (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED)
I have a video player I'm building that needs to play HLS live and on-demand streams.
It seems to be working fine in only Safari. (minus the custom styling which I need to update, ignore that)
In ...
6
votes
1
answer
10k
views
select quality video on hls stream on android
The HLS protocol is based around the idea of a .m3u8 "Playlist" file containing a list of multiple version of the same content, encoded in different video/audio qualities.
The idea is to let the ...
6
votes
2
answers
21k
views
How to loop TS file in m3u8 playlist
I want to create m3u8 playlist, like this:
#EXTINF:-1,LIVE STREAM
http://example.com/live01.ts
When this file ended I want repeat in loop.
After live01.ts ended, need to start again and do this ...
6
votes
1
answer
3k
views
Query parameters for m3u8 and ts urls. Hls.js
Question:
I'm struggling with adding query params to urls. I want to add ?md5=<string>&expires=<number> for each request url (m3u8, ts). I heard fetchSetup would be useful but I didn'...
6
votes
2
answers
2k
views
ExoPlayer in Android TV plays video in portrait mode instead of landscape
We are using ExoPlayer to play m3u8 files (stream) on Android TV. The streaming is working fine, but the video plays in portrait mode (even if the video is shot in landscape).
Looks like some issue ...
6
votes
0
answers
2k
views
Limit playback range of HLS m3u8 playlist
Is there an open-source implementation of limiting the playback range of HLS m3u8 playlists?
I'm able to render the video using the hls.js library, specify a start time for the video and impose a ...
6
votes
0
answers
2k
views
How to join discontinuous HLS video and audio?
I am streaming long videos which seamlessly loop short video sequences. Thanks to HLS this is possible by having just one video sequence stored and concatenated in a media playlist and separated by #...
6
votes
2
answers
4k
views
how to fetch resolution supported by video .m38u file url in swift
I am currently working on HTTP Live streaming video with AVPlayerViewController / AVPlayer
I am playing a video with .m3u8 file supported
It is playing fine but my question is that can I have the ...
5
votes
1
answer
22k
views
How to create m3u8 playlist and mpeg-ts chunks with constant duration by using FFMPEG?
I have mp4 file (Big Buck Bunny):
Duration: 00:09:56.50
Bitrate: 2048 kb/s
Size: 1280x720
fps: 29.97
I've set constant keyframes after 2 second.
I want to prepare this video for HLS.
I use this for ...
5
votes
3
answers
17k
views
Decrypt M3U8 Playlist encrypted with AES-128 without IV
I'm currently building an Application for downloading M3U8 Playlists, but i've run into an issue: If the Playlist is encrypted with AES-128, e.g. has a line like this:
#EXT-X-KEY:METHOD=AES-128,URI="...