Questions tagged [hls]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Is it Possible to Specify a Multivariant Playlist with a Single .m3u8 File?

I am interested in serving a multivariant playlist. Usually, the multivariant playlist is built using a single manifest for each variant, and one additional top-level manifest file. For convenience, I'...
user avatar
  • 101
0 votes
0 answers
14 views

Ways to faster video streaming on video apps

I'm studying short-form video delivery apps like Instagram and nowadays, TikTok, especially as it relates to faster video streaming and lower playout latency. We understand apps like Youtube or ...
user avatar
  • 313
0 votes
0 answers
32 views

Hiding hls playlist/dash manifest

I have noticed that some websites are hiding dash/hls files. I looked at the responses from youtube and I only found presigned url to full video and audio, this same with Spotify. How it is possible ...
user avatar
  • 1
0 votes
0 answers
11 views

How we can add external vtt subtitlle URL in HLS?

Currently, I am only able to change the subtitle that are present in video, but now I want to add a new subtitle using vtt URL.
user avatar
0 votes
0 answers
10 views

Encode live hls input to another hls output

I'm trying to transcode a input source which is also HLS, but the resulting file has weird audio issues? ffmpeg -i 'http://link/video.m3u8' \ -c:v libx264 -x264opts keyint=:no-scenecut -s 1280x720 -r ...
user avatar
  • 145
0 votes
0 answers
129 views

FFmpeg mux an mpegts for use in stream: possible to set cur_dts / dts / pts?

Constrained by the need manually generate a series of 10-second MPEGTS media segments for HTTP Live Streaming (HLS), ffmpeg's mpegts seems to do what I need. This example would be for segment number ...
user avatar
0 votes
0 answers
72 views

FFMPEG inserts extra audio frame at the begining of first chunk in HLS

I'm trying to reencode input HLS video (h264/aac using ts segments) from Nth to Mth segment into new HLS video. I do it by creating new HLS media playlist containing only segments I need (ie from 4th ...
user avatar
  • 1
2 votes
2 answers
505 views

Audio discontinuities when generating HLS segments in different processes

I am creating MPEG-TS segments for HLS playback from multiple ffmpeg processes (it will be used for parallel encoding at a later stage). The commands are as follows — they can be run in sequence for ...
user avatar
  • 955
0 votes
0 answers
55 views

Is it possible to stream video without HLS? with fmp4

I understand as below, is this right? Source Video H.264 -> HLS -> WebSocket -> Hls.js -> fmp4(H264) -> decode -> display A. Make source video recorded in H.264 into HLS using ...
user avatar
0 votes
1 answer
890 views

How to force ffmpeg download live m3u8 from the first available segment?

When I use ffmpeg straight forward like this: ffmpeg -i 'playlist.m3u8' -c copy out.mp4 it searches for current segment (or maybe the last one) and drops all previous. I know that live playlist is a ...
user avatar
0 votes
1 answer
82 views

Hue Cycle .gif files with ffmpeg as percentage of duration

Suppose I have a set of 1000 .gif files, each of different durations, and I want to cycle the hue (hue as in the HLS color space) of each .gif file once over its duration. So, for example, at the ...
user avatar
1 vote
0 answers
105 views

FFMPEG is not writing the correct video duration in the output playlist file for HLS

I have 5 cameras each having an RTSP stream. I am converting that rtsp stream to HLS. This is the command I am using: ffmpeg -rtsp_transport tcp -i rtsp://*:*@*:*/ -f hls -codec copy -strftime 1 -...
user avatar
0 votes
0 answers
162 views

Streaming MP4 files through HTTP without HLS or DASH?

I am building a web application that consists of a web client and a server. The web client needs to play a continuous stream of MP4 files to the user, preferably through a player like video.js. The ...
user avatar
0 votes
1 answer
321 views

Seeking in large HLS input on ffmepg

I'm trying to create an mp4 clip from an HLS input stream that is over 36 hours long. My ffmpeg command looks more or less like this: ffmpeg -live_start_index 0 -ss 32:22:19.82667 -i https://example....
user avatar
2 votes
0 answers
577 views

HLS stream playing only when first segment is in m3u8 list

I am transcoding a live DVB-T2 HEVC stream to H264 using ffmpeg. I have decided to use the HLS (segmented) output format (because I want to play the stream in a web browser, e.g. on Android phone). I ...
user avatar
  • 21
0 votes
0 answers
2k views

Adding separate WebVTT files to FFmpeg HLS muxer

I've been experimenting with adding WebVTT subtitles to an HLS playlist, but I'm starting to ask myself if what I'm trying to do is actually possible. My main file is containing a single video track ...
user avatar
  • 1
1 vote
1 answer
756 views

HLS.js player dropping frames at discontinuities in HLS stream

I have a need to play small pieces (1 or 2 seconds) of video in various orders via HLS. Think a highlights reel from a sporting match. Several HLS players struggle with playing a stream with ...
user avatar
  • 136
0 votes
1 answer
123 views

Serving static video content directly vs. via adaptive streaming protocols (HLS, DASH)

Is there an advantage of serving static video content (not a live stream) via adaptive streaming protocols such as HLS or DASH over serving them directly as files using HTTP server in terms of speed? ...
user avatar
1 vote
0 answers
107 views

CODEC and Resolution in Multi-Variant Master playlist

I am recording my content in wowza using cupertino hls (.ts files). I am building a playlist from these chunks at an interval of 30 mins. But while creating master playlist with all the bitrates, i ...
user avatar
1 vote
0 answers
201 views

Switch between HLS input streams to output a new HLS stream

I'm trying to generate a HLS stream from an input of N (in this example 2) HLS streams but I cannot figure out the right settings to get the PTS values right. My streams can be represented this way : ...
user avatar
  • 111
0 votes
1 answer
1k views

"Unable to open key file" error when remuxing a set of encrypted .ts files (as a .m3u8 playlist) into .mp4 with FFmpeg

I'm trying to remux a set of encrypted .ts files (as a .m3u8 playlist) into a single .mp4 file with the next command: "C:\Users\~\Desktop\test\ffmpeg.exe" -allowed_extensions ALL \ -i "C:\Users\~\...
user avatar
0 votes
1 answer
3k views

How to generate decryption key from m3u8 manifest? (OR) How to decrypt an excrypted MP4 using URI and IV?

I am downloading an HLS video which is AES-128 encrypted. The issue is that the downloaded video is also encrypted and hence, not viewable. The website is serving 2 M3U8 manifests: The first ...
user avatar
  • 55
4 votes
0 answers
8k views

moov atom not found

I downloaded this video using youtube-dl's HLS downloader. The video was being HLS streamed using AES-128. Even though I could view it perfectly fine when it was being streamed in the browser, VLC ...
user avatar
  • 55
1 vote
0 answers
1k views

FFmpeg to create HLS and replace (stitch) segments

I need to create multiple copies of a source video file stamped with a logo. Also, each copy is overlaid with a unique version number, intermittently appearing throughout the video. Since I’m ...
user avatar
  • 111
0 votes
1 answer
628 views

MPEGTS & HLS: Only second segment onwards is valid

When i use hexadecagonal audio channel layout in an mpegts container, I can receive and play back the stream fine only if I configure the hls server to allow serving the very first segment, and then ...
user avatar
  • 172
0 votes
1 answer
940 views

ffmpeg hls creation overwriting master manifest

I have a video I'd like to convert to HLS, however, when I run the command, it only records the last few segments to the master manifest. How can I get all of the fragments and their associated data ...
user avatar
2 votes
0 answers
798 views

Switching between multiple m3u8 playlist

In a live stream setup, I have 2 cameras and each one sends RTMP stream to one different application which is on my Nginx-RTMP server. On the browser I am using Videojs Hls plugin. Now my question ...
user avatar
1 vote
0 answers
608 views

HLS Preset Settings 240p, 360p, 480p, 720p and 1080p

I am trying to transcode mp4 videos into HLS using AWS transcoder. I see that there are only few presets available which are like 1M, 1.5M and the highest 2M. I am unable to get 240, 360 , 480,720p ...
user avatar
  • 11
-1 votes
1 answer
574 views

Streaming HLS from a video4linux2 virtual video device

I'm trying to accomplish a few things at the same time with the raspberry pi camera; create an HLS live stream take regular interval jpg snapshots and save them to disk irregularly record short ...
user avatar
1 vote
1 answer
3k views

HLS to RTP multicast FFmpeg

I want to transmit HLS stream to RTP multicast via FFmpeg and use the following command: ffmpeg -re -i HLSstream -c copy -f rtp_mpegts rtp://ip:port But the output source сrumbles sometimes (I ...
user avatar