Skip to main content
3 votes
Accepted

Audio discontinuities when generating HLS segments in different processes

I was able to make it work with the individual audio and video generation by ensuring that audio is generated with ffmpeg's discont_start flag set. -hls_flags independent_segments+append_list+...
slhck's user avatar
  • 1,075
3 votes

Audio discontinuities when generating HLS segments in different processes

You have to render the audio in one command. MDCT-based codecs like AAC or MP3 carry out their transforms over multiple adjoining frames. When doing a segmented encode of a single stream, the encoder '...
Gyan's user avatar
  • 33.8k
2 votes
Accepted

MPEGTS & HLS: Only second segment onwards is valid

For non-conventional layouts, the native AAC encoder writes a PCE section in the bitstream header as part of the AudioSpecificConfig. However, it does so only at the beginning, therefore subsequent ...
Gyan's user avatar
  • 33.8k
1 vote
Accepted

How do I create an master HLS playlist using existing .m3u8 playlists

Here is how I programmatically created the master playlist, reading from 2 different master playlists using python. streams = list() # read from 1st master playlist ...
Appu Mistri's user avatar
1 vote

ffmpeg convert and segment subtitles

You need to disable the video and audio streams with -an and -vn options respectively, then use the generic segment output format instead of hls. The segment muxer can produce HLS playlist format if ...
Gergely Lukacsy's user avatar
1 vote

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

Try this command, it worked for me: ffmpeg -live_start_index -99999 -i https://your_url/source.m3u8 -c copy -bsf:a aac_adtstoasc outputtt.mp4
Naber's user avatar
  • 11
1 vote

Hue Cycle .gif files with ffmpeg as percentage of duration

Assuming you have bash or similar *nix shell. If you are on Windows, try using Cygwin, or translate the script to PowerShell. While I haven't tried with ffmpeg, I have came up with a solution that ...
Abdullah Ibn Fulan's user avatar
1 vote

HLS.js player dropping frames at discontinuities in HLS stream

Looks like this might be a bug in HLS.js: https://github.com/video-dev/hls.js/issues/2873 Hopefully this is rectified in a subsequent version. UPDATE: This hls.js bug has been fixed in release 0.14.1: ...
James Mc's user avatar
  • 166

Only top scored, non community-wiki answers of a minimum length are eligible