[FFmpeg-user] Properly download/trim a hls-stream which reports invalid timestamps

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Nov 16 15:54:49 EET 2017


2017-11-16 14:43 GMT+01:00 Reino Wijnsma <rwijnsma at xs4all.nl>:

> I didn't care much about these errors when I wanted to download the
> entire hls-stream, but now that I want to download a ±30sec segment,
> things become a bit nasty:
>
> ffmpeg-N-87867-g0655810-win32-static_legacy.exe -hide_banner -ss 2000 -i
> "http://manifest.us.rtl.nl/10/v166/aes/adaptive/components/videorecorder/38/389438/389439/0bf68d1e-97f6-3c3e-9498-e1a3ffa8a13a.ssm/0bf68d1e-97f6-3c3e-9498-e1a3ffa8a13a.ism/0bf68d1e-97f6-3c3e-9498-e1a3ffa8a13a-audio_eng=125437-video=3877000.m3u8"
> -ss 14 -t 30 -c copy "output.ts"

This is of course problematic - not necessarily related to invalid
timestamps - since a new file is created.
Is there no tool to dump hls streams?

Carl Eugen


More information about the ffmpeg-user mailing list