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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
17 views

Playing Offline HLS Content with AES-128 encryption on iOS

Offline playback with AES-128 encryption I'm downloading HLS content that is AES-128 encrypted and using the AVAssetResourceLoaderDelegate method shouldWaitForLoadingOfRequestedResource to parse the ...
Deepak Nagarajan's user avatar
1 vote
0 answers
10 views

Usage of Ext-X-Session-Key affecting media playlists that don't need to be decrypted

I'm attempting to use a EXT-X-SESSION-KEY tag to retrieve the decryption information from our CDN in the multivariant manifest. So far that has worked quite well. The problem is that I use two kind of ...
Oscar Vindas's user avatar
-2 votes
0 answers
17 views

FFmpeg conversion from MP4/MKV to HLS in batch [closed]

I'm trying to convert multiple videos using FFmpeg Batch AV Converter, with these parameters: -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -c:v h264_nvenc -crf 22 -c:a aac -ar ...
mrpino's user avatar
  • 1
1 vote
0 answers
34 views

iOS AVPlayer Stops and Resumes After 30-60 Seconds When Switching Between WiFi and Cellular

I'm using AVPlayer in my iOS app to stream video content(using HLS). Everything works fine until I switch the network connection from WiFi to cellular, or vice versa. When the network switch happens, ...
JEYUKJOA's user avatar
-2 votes
0 answers
23 views

How to update this script to generate HLS video with different resolution streams? [closed]

I have the following FFmpeg script: ffmpeg -i video.mp4 -i video.vtt \ -map 0:v -map 0:a:0 -map 1 \ -s:v:0 1080x1920 -c:v:0 h264 -b:v:0 500K \ -c:a:0 copy -c:a:1 copy -c:a:2 copy -c:s webvtt \ -f ...
Andy Z's user avatar
  • 1
-2 votes
0 answers
7 views

Hls streaming do not work in the AVPlayer on MacBook pro m1

Hls streaming (m3u8) work in the AVPlayer in ios on the iPhones and iPads, But do not work on macOs when run the app on MacBook pro m1. I tried playing these HLS files: 1- https://demo.unified-...
Walid ad's user avatar
0 votes
0 answers
13 views

Can I use TSDuck's tsp tool for HLS with token-based authentication?

I have developed a TSDuck plugin which I use within the tsp tool to extract data from specific packets. Up till now I've always used this directly on an SRT stream, but I now have a use case to apply ...
geekydel's user avatar
  • 823
1 vote
1 answer
80 views

VideoJS: segment duration issue in HLS stream

Several customers have ran into this error during a live event, some had refreshed the page and recovered. We looked at the upstream CDN/packaging service and there were no error from them. What can ...
Ajay's user avatar
  • 562
0 votes
0 answers
42 views

VideoJS: Excessive main segment downloading detected errors during a live event

Our customers encountered Excessive main segment downloading detected errors during a large live event, several users saw these errors within a 15 min period during a 2 hour long event. We have looked ...
Ajay's user avatar
  • 562
0 votes
1 answer
50 views

Gstreamer multifilesrc - jpegs to HLS stream

Im using gstreamer to encode jpegs list into hls stream. I want to create HLS stream on 10 frames per second, and hls target-duration of 10 sec. Im using this gst pipe : gst-launch-1.0 -e multifilesrc ...
ShiGi's user avatar
  • 91
0 votes
1 answer
79 views

How to export .mov or .mp4 to HTTP Live Streaming (HLS) files on iOS with Swift

How can I take a .mov or .mp4 video captured on the iPhone device and locally (with Swift) export it to multiple .ts (or fmp4) and HTTP Live Streaming manifest files? Rather then creating the HLS ...
Micro's user avatar
  • 10.5k
0 votes
1 answer
52 views

Flask Partial Video Stream not working on Ipad and Iphone

I'm trying to write a flask webpage which streams a specific range of bytes to the client, so you can watch large video files(mp4) from a network drive without having to load the whole video. It ...
LennikGamez's user avatar
0 votes
0 answers
19 views

How to add middle URL to Exoplayer builder before server auto redirecting to m3u8 file?

In Node.js server, I have an api test.com/song/stream. When send request to this api, it will do some logic task and redirect to api test.com/song/abc.m3u8. In android, I use media3 lib and HLS ...
Thành An's user avatar
1 vote
0 answers
42 views

Looking for segment data in hls output from ffmpeg

Just as the title states. I'm trying to find the raw data that usually gets written to the .ts files. However I don't want to create a playlist or have these files written to disk i any way. I would ...
n0body7331's user avatar
1 vote
0 answers
32 views

Live streaming in flutter app with hls support

I am developing a live streaming app where i need to live stream hls supported videos. I tried to use chewie controller but i am getting some errors. @override void initState() { super.initState(); ...
Hadi Khan's user avatar
0 votes
0 answers
66 views

Can not play IPTV (live) streams on IOS using expo-av and React Native

I have created an IPTV player app in Expo and React Native which plays live streams (channels) from across the world. I am using Video module from expo-av to play these videos. The live streams play ...
geeksnet22's user avatar
0 votes
0 answers
26 views

Is there a way to fetch *previous* DVR window from HLS stream in React Native Video?

I have a React Native app using react-native-video with react-native-video-controls and everything works as you'd expect. There is only one issue I can't seem to figure out. When you 'start' the ...
Joel Hager's user avatar
  • 3,062
-1 votes
0 answers
38 views

AVPlayer HTTP Live Streaming support

i have an app that converts RTSP to HLS using ffmpeg lib. Since ffmpeg has 2 codecs for HEVC - HEVC native and libx265, my question is does iOS AVPlayer supports libx265? I tried to transcode my rtsp ...
embed_develop's user avatar
0 votes
0 answers
72 views

HLS (.m3u8) format video from file not playing on iOS devices

I'm trying to play videos offline, and this works on Android but on iOS, even when run on real device it's showing the following error: [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: ...
Amani Saaduddin's user avatar
1 vote
0 answers
55 views

transcoding part anexB bitstream

I'm using gohlslib for converting RTMP to HLS, this library gives me HLS and LHS with the transmuxing feature where each segment is of 2s. But I also want to support the ABR, the flow with this is ...
bot.top.pop's user avatar
0 votes
0 answers
17 views

VideoJS does not add Range header to the Request

I'm trying to get VideoJS working with a m3u8 hls playlist using range requests, but for some reason dispite that other players are working fine, my VideoJS is always downloading the whole file. So I ...
V O's user avatar
  • 101
0 votes
1 answer
64 views

[HLS Streaming - SWIFT Player]HALPlugIn-DeviceGetCurrentTime Issue

I am currently working on developing an HLS player. While testing it on the simulator using Xcode, I noticed that it plays audio but doesn't display video. Below is the snippet of code import UIKit ...
Megha Verma's user avatar
0 votes
0 answers
47 views

Concatenate fragmented MP4 from HLS/DASH to a single file

A file can be turned into fragmented MP4 for serving in HLS/DASH, but is it possible to recreate the single file from the segments? I generated the fragmented MP4 using the HLX muxer from ffmpeg and ...
Dave Johansen's user avatar
1 vote
1 answer
79 views

Play HLS stream with GStreamer and souphttpsrc (fails after 10 secs)

The following pipeline fails after 10 secs. gst-launch-1.0 -v souphttpsrc location=https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8 ! hlsdemux ! decodebin ! videoconvert ! autovideosink For some ...
Matthew Chisholm's user avatar
0 votes
0 answers
55 views

How to make a equalizer for HLS streaming videos?

I want to add an EQ to HLS streaming videos. So far: AVAudioEngine seems only support local file; Download .ts and merge into .mp3 to make it local can not guarantee real time effect; ...
Rao's user avatar
  • 59
4 votes
1 answer
76 views

FFMpeg (libav) hls demux with mediacodec surface rendering is playing too fast

I am demuxing a m3u8 with libav and getting packets to decode them + play, the decoder is mediacodec with a surface set for direct rendering. This works so far but the video plays too fast, extremely ...
forlayo's user avatar
  • 1,528
0 votes
0 answers
34 views

expo-av error: FATAL PLAYER ERROR: Player error: null

I am trying to play a online streaming in my mobile expo app, I used the expo-av Video docs and this github gist snippet to create the following code: import { useRef, useState } from 'react'; import {...
murilo henhique's user avatar
1 vote
0 answers
135 views

How to properly assemble HLS stream fragments in a single mp4 file in golang

I'm trying to download an audio HLS stream in golang. My goal is to assemble the fragments into a single mp4 file. At the same time, I'd prefer doing it on the fly, and thus append the fragments to ...
mrfree's user avatar
  • 151
4 votes
1 answer
85 views

FFmpeg (libav) is taking a lot of time to execute avformat_open_input over a master with few variants

I am trying to use libav to demux an HLS stream from youtube, it works so far but my problem is that the call to avformat_open_input takes A LOT of time, sometimes even 1 minute. Doing same with ...
forlayo's user avatar
  • 1,528
0 votes
0 answers
30 views

Option to stop downloading HLS video when is on pause (just_audio library)

I'm using the just_audio library in my Flutter app for managing multiple live streaming stations. I aim to cease the download of incoming HLS files when the player is paused to prevent unnecessary ...
Elisei Nicolae's user avatar
0 votes
1 answer
89 views

How to implement http video streaming (HLS)

I want to implement a simple server (C++) that generates (captures) video stream and sends it to a browser. The question is: how should the server interact with a browser ? I am considering a "...
Tobic's user avatar
  • 39
0 votes
1 answer
155 views

api.video-flutter-live-stream iOS crashes after update to XCode 15 and CocoaPods 1.13.0

I'm using the api.video-flutter-live-stream library and everything worked smoothly and fine until I updated XCode to v15.0 and CocoaPods to v1.13.0 From that moment the app crashes with a HashinKit ...
Ale TheFe's user avatar
  • 1,622
0 votes
0 answers
167 views

Node media server not writing all chunks in index.m3u8 file

I've setup node media server for a streaming application it is working fine until it is streaming live but whenever the streamed video is played again it just plays last few chunks I think it is ...
wb_99's user avatar
  • 3
0 votes
1 answer
269 views

How to serve up a .m3u8 file in C# using ASP.NET Core 6.0? (with Angular frontend)

What is the correct way to serve .m3u8 files in C# using ASP.NET Core 6.0? I tried for the longest time to write up something in one of the controller files, but couldn't get anything to work. I ...
Deoxys_0's user avatar
1 vote
0 answers
46 views

Encrypt HLS fregment using openssl issue

I have a regulat HLS fregments and I want to encrypt them using Openssl to be AES-128 clearKEy encrypted. My approach was: Getting the HLS (In our production I get already mafe HLS file, I have no ...
j.derek's user avatar
  • 11
0 votes
0 answers
45 views

AVPlayer with sideloaded subtitles breaking when ",SUBTITLES=\"subs\"" is added to the end of the "#EXT-X-STREAM-INF:" lines

I am using a modified version of kanderson-wellbeats' delegate to modify requests as AVKit needs them. All code will be at the bottom of the post. All is well in modifying the requests, making the ...
jimiswaytooepic's user avatar
0 votes
1 answer
31 views

GStreamer - issue with saving .mp4 and HLS at the same time

I have two pipelines that seperately create .mp4 and HLS from RTSP stream. gst-launch-1.0 -v -e rtspsrc \ location="..." \ is-live=true \ ! queue \ ! rtph264depay \ ! tee \ name=t \ t. \ ! ...
worz's user avatar
  • 1
0 votes
0 answers
52 views

Gstreamer Camera to HLS optimization

I have a following Gstreamer pipeline (which generated HLS and a separate MP4 file). Is there anything I can do to optimize it in terms of CPU / memory / delay? gst-launch-1.0 \ v4l2src name=...
worz's user avatar
  • 1
0 votes
0 answers
92 views

php curl how to request hls streaming resources and play with html video tag

for some authorization purposes i want to use custom user agent with curl request so in order to grant access based on custom user agent. I found this code for HLS streaming urls and i embedded with ...
FARIS ISMAIL's user avatar
2 votes
1 answer
96 views

Correct way to read live camera stream using Indy TIdHttp

I have an app written in Delphi 11. I have used a TIdHttp client to receive a live stream from a camera. The data is received in the OnWork event. My code looks something like this procedure ...
Tim's user avatar
  • 81
0 votes
0 answers
49 views

Serve multiple audio files continuously as live stream

I want to serve multiple audio files continuously as a live stream, something like an online radio station but I want to stream my own files. The programming language is not important but I prefer PHP ...
Amir Sasani's user avatar
0 votes
0 answers
88 views

Playing live internet radio on Android auto

I'm trying to devlop my own application to play live internet radio on my phone and make it compatible with android auto. So, I started a new project Android auto on last version of Androit Studio (...
Thierry Sombreffe's user avatar
0 votes
1 answer
151 views

Need to add video quality change feature in androix.media3.exoPlayer with HLS(Http Lve Streaming)

I have built a media player to play some HLS urls. It is media3.exoPlayer. Now I want to add a feature where user can change the quality of the video stream. I found something here https://...
Chandresh 204's user avatar
0 votes
1 answer
127 views

How to Play Single Audio for Different Video Qualities in Swift AVPlayer using HLS (m3u8)?

I'm working on a video streaming app in Swift that utilizes HLS (HTTP Live Streaming) with multiple video qualities. I'm using the AVPlayer framework to play the videos. The master m3u8 file specifies ...
nazar41's user avatar
  • 11
0 votes
1 answer
82 views

Add a three.js AudioAnalyser to an HLS Stream

Is it possible to add a three.js AudioAnalyser (or WebAPI AnalyserNode) to an Hls audio stream? This is what I have so far and average frequency always returns 0. let audioContext = new (...
Nate LeGrand's user avatar
0 votes
0 answers
20 views

Failed to setup https connection of HLS streaming by android app

I want to develop an android app to do video streaming from an nginx server by https connection, but I was not successful. When I am back to use http connections or by disable server certificate ...
Paul Ko's user avatar
0 votes
1 answer
132 views

Video URL not playing in my Swift app (Play button is disabled)

I have a link which I want to play inside my app: https://video-m2se42aed.msigma.in/video/7282/0/1094/6498c142878c493e93d0e6a90312d6ea/ece_nt_bombay_1/master.m3u8?sd=10&b=1200&rebase=on The ...
AadityaS's user avatar
0 votes
1 answer
435 views

.m3u8 (HEVC, HLS) video won't play while other will

I converted my video into HEVC codec with support for HLS using ffmpeg with the following command: ffmpeg -i originalName.mp4 -c:v libx265 -tag:v hvc1 -g 60 -hls_time 2 -hls_playlist_type vod -...
user1207524's user avatar
1 vote
0 answers
55 views

How to construct Gstreamer pipeline as HLS packager from MP3 sources?

I'm looking into the simple use case of transcoding a MP3 source to a HLS manifest file. Audio only, no video involved. My test have been using a local MP3 file as source, but unsuccesful. Ultimately, ...
Cidocido's user avatar
0 votes
0 answers
92 views

Video.js plays ZLMediaKit HLS stream chugging and stopping in Chrome, but very fluency in Safari

I'm using ZLMediaKit to pull about 40 RTSP Surveillance Streams and transform them into HLS live streams in Server A. I'm also developing a VUE project to play all these HLS streams on web. I'm using ...
Hou Lu's user avatar
  • 3,092

1
2 3 4 5
54