Questions tagged [http-live-streaming]

HTTP Live Streaming is a method of media streaming that consists of downloading segments of a mpeg2ts file, containing video (H.264) and/or audio (AAC or MP3). The specification was introduced by Apple and is widely used in iOS.

HTTP Live Streaming is a way to send audio and video over HTTP from a web server to client software on the desktop or to iOS-based devices.

HTTP Live Streaming sends audio and video as a series of small files, typically of about 10 seconds duration, called media segment files. An index file, or playlist, gives the clients the URLs of the media segment files. The playlist can be periodically refreshed to accomodate live broadcasts, where media segment files are constantly being produced.

References:

2691 questions
112
votes
2 answers

FFMPEG mp4 from http live streaming m3u8 file?

How Can I extract mp4 from http live streaming m3u8 file? I Tried this command below: ffmpeg -i {input file} -f rawvideo -bsf h264_mp4toannexb -vcodec copy out.mp4 I took this error: [NULL @ 0000000002f07060] Packet header is not contained in…
thiago.adriano26
  • 1,491
  • 3
  • 14
  • 19
80
votes
6 answers

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 Deploying HTTP Live Streaming Media for the…
drucifer
  • 801
  • 1
  • 7
  • 3
59
votes
3 answers

HTTP LIve Streaming

Ok, I have been trying to wrap my head around this http live streaming. I just do not understand it and yes I have read all the apple docs and watched the wwdc videos, but still super confused, so please help a wanna be programer out!!! The code you…
Mike Owens
  • 936
  • 3
  • 8
  • 20
59
votes
5 answers

How to minimize the delay in a live streaming with ffmpeg

i have a problem. I would to do a live streaming with ffmpeg from my webcam. I launch the ffserver and it works. From another terminal I launch ffmpeg to stream with this command and it works: sudo ffmpeg -re -f video4linux2 -i /dev/video0 -fflags…
Pasquale C.
  • 619
  • 1
  • 9
  • 7
58
votes
1 answer

Transcoding fMP4 to HLS while writing on iOS using FFmpeg

TL;DR I want to convert fMP4 fragments to TS segments (for HLS) as the fragments are being written using FFmpeg on an iOS device. Why? I'm trying to achieve live uploading on iOS while maintaining a seamless, HD copy locally. What I've…
bclymer
  • 6,679
  • 2
  • 27
  • 36
58
votes
2 answers

Getting PCM data of HLS from AVPlayer

This question seems to be asked few times over last few years but none has answer for that. I am trying to process PCM data from HLS and I have to use AVPlayer. this post taps the local…
Mord Fustang
  • 1,523
  • 4
  • 40
  • 71
56
votes
3 answers

Implementation of HTTP Live Streaming in iOS

I want to write a little iOS video client and have to use HTTP Live Streaming. The videos come from a Wowza Media Server which supports HTTP Live Streaming, so the server-side implementation is not my problem. I have already watch the WWDC videos…
Lindemann
  • 3,336
  • 3
  • 29
  • 27
45
votes
4 answers

How can I get the actual video URL of a YouTube live stream?

Is there a way to get the HLS URL for YouTube live streams like this one https://www.youtube.com/embed/WVZpCdHq3Qg I've tried the typical get_video_info methods but they don't seem to work with live streams.
45
votes
4 answers

What is the difference between HLS and MPEG-DASH?

It seems both protocol does the same thing but is there a advantage of one over the other?
Necip Onur Uzun
  • 1,115
  • 3
  • 13
  • 16
35
votes
4 answers

Is it possible to cache HLS segments with AVPlayer?

Root Problem​ Our video buffers a lot when seeking in iOS. It buffers quite a bit more than our web player which saves copies of the already watched segments in temp storage. ​Desired Solution​ Caching the video segments locally on the device's…
30
votes
1 answer

How to Remove Client Headers in Nginx before passing request to upstream server?

The Upstream server is wowza , which does not accept the custom headers if I don't enable them on application level. Nginx is working as a proxy server, from the browser I want to send few custom headers which should be received and logged by Nginx…
maddygoround
  • 2,145
  • 2
  • 20
  • 32
29
votes
5 answers

How to play m3u8 playlist in all PC browsers?

By default m3u8 files can be played in Mac Safari browser, but not in any other desktop browsers. What needs to be done to play them in all browsers, both supporting HTML5 and non-HTML5?
sri
  • 3,319
  • 7
  • 34
  • 48
29
votes
2 answers

Converting an HLS (m3u8) to MP4

Can anyone advise on how to construct an MP4 file from an HLS stream (the reverse of what you usually want)? Say I have the m3u8 - is there a straightforward way of getting a single MP4 using FFMPEG or some other tool?
orcaman
  • 6,263
  • 8
  • 54
  • 69
27
votes
2 answers

transcode and segment with ffmpeg

It appears that ffmpeg now has a segmenter in it, or at least there is a command line option -f segment in the documentation. Does this mean I can use ffmpeg to realtime-transcode a video into h.264 and deliver segmented IOS compatible .m3u8…
alphablender
  • 2,168
  • 5
  • 27
  • 42
25
votes
5 answers

HLS (http live streaming) on Android 3.0 and seeking

We have a provider that gives us m3u8 files for HLS streams (originally intended for use in an iOS app). Android 3.0+ supports http live streaming (http://developer.android.com/guide/appendix/media-formats.html) - and we can in fact play these m3u8…
NPike
  • 13,136
  • 12
  • 63
  • 80
1
2 3
99 100