Skip to main content

Questions tagged [hls]

The tag has no usage guidance.

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
9k 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 ...
SOuser's user avatar
  • 65
3 votes
1 answer
1k 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 ...
formatkaka's user avatar
2 votes
0 answers
1k 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 ...
tommy55's user avatar
  • 21
2 votes
0 answers
203 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 ...
RecklessSergio's user avatar
1 vote
0 answers
103 views

Looping segments breaks some players

I used ffmpeg to generate some segment files that I'm using as slate to play before a program starts. Using nodejs, I'm generating a an m3u8 file that loops perfectly in HLS.js, but on some players (...
m0ngr31's user avatar
  • 111
1 vote
0 answers
240 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 -...
user2726634's user avatar
1 vote
1 answer
1k 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 ...
James Mc's user avatar
  • 146
1 vote
0 answers
415 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 : ...
Le G's user avatar
  • 111
1 vote
0 answers
2k 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 ...
o_ren's user avatar
  • 121
1 vote
0 answers
750 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 ...
Omair's user avatar
  • 11
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 ...
Ivan Kolesnikov's user avatar
0 votes
0 answers
89 views

How to serve long duration HLS playlist (12 hours) without creating massive playlists in FFMPEG?

I'm serving an HLS stream with the following ffmpeg command: ffmpeg -f flv -i rtmp://127.0.0.1/live -crf 22 -ar 44100 -ac 2 -fps_mode passthrough -force_key_frames expr:gte(t,n_forced*2) -map 0:v:0 -...
hedgehog90's user avatar
0 votes
0 answers
64 views

Why does this HEVC HLS stream not play on browsers?

I have a HEVC HLS stream that does not play when I paste it e.g. in Safari. The video is encoded in HEVC and has a resolution of 4608x1728. The screen just stays black. The URL is: https://cdn2.taggy....
Sebastian's user avatar
0 votes
0 answers
37 views

Downloading an HLS stream: ONLY in sync when downloading with ffmpeg. Possible explanations?

I'm trying to download a livestream that is just a plain hls with no encryption. I usually use streamlink, but this site I'm trying to use recently doesn't output a correct video/audio synced output ...
R.JEON's user avatar
  • 1
0 votes
0 answers
41 views

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

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's user avatar
  • 1
0 votes
0 answers
97 views

FFMPEG watermark + hls multi stream

i want to convert mp4 video into hls multi resolution (360 , 720) and add watermark image inside the output segments i did two result but missing the watermark image with the multi scale //one hls ...
Mohamed Taher's user avatar
0 votes
0 answers
125 views

First HLS segment overlapping when renditions have different framerates

I have a multi resolution m3u8 file, created from 1080p60 source file. Resolutions lower than 720p are converted to 30fps, while 720p+ stay at 60fps. The problem is that the first segment is broken ...
drajvver's user avatar
  • 101
0 votes
1 answer
74 views

Pink and green color on overlay logo

I ran into such a problem with hls streaming, adding filters to the overlay logo, but it was smeared with pink and green stripes. Has anyone come across this. ffmpeg -f concat -safe 0 -re -i <(for ...
Metal-Country's user avatar
0 votes
0 answers
159 views

How to streaming all files in directory in "input" (FFmpeg HLS stream)

There is this command that sends files (input1.mp4, input2.mp4...) as an HLS stream to the site, ffmpeg -i -re input1.mp4 -f hls -hls_time 4 -hls_playlist_type event /opt/metal-country_ru/live/stream....
Metal-Country's user avatar
0 votes
0 answers
112 views

FFMpeg HLS to MXF video codec copy non monotonically increasing dts issue

I am rewrapping an HLS stream as an mxf file. The HLS is 1080p59.94 10bit 4:2:2. The mxf is a video codec copy and an audio conversion to pcm. The stream has video timecode burn-in for me to watch ...
arlovande's user avatar
0 votes
0 answers
79 views

hevc transcoded video not playing in safari

I transcoded a video with ffmpeg to hevc using the below command. ffmpeg -i input.mp4 -c:v libx265 -crf 23 -preset medium -x265-params keyint=60 -c:a aac -b:a 128k -f hls -hls_time 10 -...
zuccy's user avatar
  • 1
0 votes
0 answers
347 views

ffplay does not play hls continuously and it stop after a few first segments

I am using the following command to read a RTSP stream from an IP camera and record it as HLS: ffmpeg -i rtsp://<user>:<password>@<ip>:<port> -c:v copy -c:a copy -...
LeXela-ED's user avatar
0 votes
0 answers
86 views

Video converted with FFMPEG cannot be played

I am developing a function that converts RTSP files to HLS and displays them in a web browser (chrome). Development is node.js, I am using ffmpeg. The part that is converted to HLS and displayed on ...
EugeneH's user avatar
0 votes
1 answer
474 views

ffmpeg dash output for multiple resolutions to be in the same mpd file

I am using ffmpeg to convert an input stream into multiple resolutions and creating an mpd for each resolution. So far, so good. But I am trying to find a way to create a single mpd for all ...
Rajkumar Somasundaram's user avatar
0 votes
0 answers
485 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 ...
ThomasFromUganda's user avatar
0 votes
1 answer
1k 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....
Brandon Price's user avatar
0 votes
0 answers
3k 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 ...
t_bmn's user avatar
  • 1
0 votes
1 answer
280 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? ...
astralmaster's 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 ...
SOuser's user avatar
  • 65
-1 votes
1 answer
710 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 ...
Erik van der Leer's user avatar