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.2k
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.2k
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
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,025
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

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