Questions tagged [m3u8]

The Unicode version of "m3u" is "m3u8", which uses UTF-8 Unicode characters.

"m3u" and "m3u8" files are the basis for the HTTP Live Streaming format used by Apple to stream video to iOS devices. More can be found on WiKi.

734 questions
7
votes
2 answers

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 for my video player. So I used AVMutableComposition…
Uma Sankar Buddi
  • 277
  • 2
  • 14
7
votes
4 answers

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 just download when user press download button and…
NSPratik
  • 4,714
  • 7
  • 51
  • 81
7
votes
1 answer

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 video streaming to get to the frame image , do you…
Sanchain
  • 81
  • 1
  • 5
7
votes
1 answer

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 in my windows and android app do not work with…
Anton
  • 907
  • 1
  • 10
  • 31
7
votes
1 answer

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. NSURL *movieURL = [NSURL…
Vip's
  • 125
  • 1
  • 2
  • 7
7
votes
1 answer

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…
Kendall Hopkins
  • 43,213
  • 17
  • 66
  • 89
6
votes
0 answers

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 to enable trick play but I am not able to figure out how I…
6
votes
1 answer

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 3.5.3 if you can help me accommodate the code or…
6
votes
0 answers

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 #EXT-X-DISCONTINUITY…
6
votes
2 answers

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 with orientation of the android TV instead of…
Omkar Jadhav
  • 1,046
  • 3
  • 16
  • 41
6
votes
2 answers

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 data of video like I have to set 4 types of…
Divyesh Gondaliya
  • 884
  • 11
  • 21
6
votes
3 answers

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 infinity in loop. Is this possible?
Aleksandar
  • 501
  • 3
  • 10
  • 21
6
votes
2 answers

Creating HLS variants with FFMPEG

I am starting with a high res video file and I would like to create 3 variants, low quality, mid quality, and high quality for mobile streaming. I want these mid/low/high variants to be segmented into ts pieces that the m3u8 file will be pointing…
user2491463
  • 414
  • 1
  • 6
  • 16
6
votes
1 answer

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 client player to automatically switch quality based on…
Vito De Tullio
  • 2,332
  • 3
  • 33
  • 52
6
votes
1 answer

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 achieve this task? Example of PHP script to be…
user1788736
  • 2,727
  • 20
  • 66
  • 110
1 2
3
48 49