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+...
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 '...
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 ...
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
...
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 ...
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
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 ...
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:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hls × 39ffmpeg × 36
streaming × 9
audio × 3
mp4 × 3
mpeg-dash × 3
video × 2
encoding × 2
subtitles × 2
sync × 2
rtmp × 2
premiere × 1
animation × 1
codec × 1
conversion × 1
transcoding × 1
windows × 1
post-production × 1
linux × 1
mpeg × 1
bitrate × 1
handbrake × 1
hevc × 1
ios × 1
latency × 1