[FFmpeg-user] copy timeshift window from hls live stream

Michael Ruge michael.ruge at 3qsdn.com
Wed Nov 28 19:36:29 EET 2018

Hello List,

i have a hls live stream where i can go back 30 minutes:


(livestream is stopped now, but timeshift window is available)

I want to save a part of the 30 minutes window as mp4 file locally.

I parsed the playlist, downloaded the single ts and aac segments and have put them together (concatinate).
The result is always asynchronous.
There is a timestamp in the ts segments but not in the aac segments. The timestamps of the aac segment are probably in a private id3 tag, but i don't know how i can read them

Does anyone have an idea how i can synchronize audio and video or do that Job on another way?


More information about the ffmpeg-user mailing list