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

2017-11-22 Thread Reino Wijnsma
On 19-11-2017 14:01, Reino Wijnsma wrote: > On 19-11-2017 13:14, Moritz Barsnick wrote: >> Because it wasn't clear whether you were just using ffmpeg to download >> the original, or you wanted to use ffmpeg to actually process it. (If >> the former: You can't avoid remuxing with ffmpeg.) > I use

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

2017-11-19 Thread Reino Wijnsma
On 19-11-2017 13:14, Moritz Barsnick wrote: > Because it wasn't clear whether you were just using ffmpeg to download > the original, or you wanted to use ffmpeg to actually process it. (If > the former: You can't avoid remuxing with ffmpeg.) I use FFmpeg to download and process, as can be seen in

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

2017-11-19 Thread Moritz Barsnick
On Sun, Nov 19, 2017 at 11:19:08 +0100, Reino Wijnsma wrote: > On 18-11-2017 2:46, Moritz Barsnick wrote: > > In order not to have youtube-dl remux the downloaded, reassembled > > MPEG-TS to MP4, add "--fixup never". > > > > Have you managed to hand an arbitrary m3u8 URL to youtube-dl for > > down

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

2017-11-19 Thread Reino Wijnsma
On 18-11-2017 2:46, Moritz Barsnick wrote: > In order not to have youtube-dl remux the downloaded, reassembled > MPEG-TS to MP4, add "--fixup never". > > Have you managed to hand an arbitrary m3u8 URL to youtube-dl for > download? I'd love to use it that way, but youtube-dl sometimes doesn't > get

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

2017-11-17 Thread Gyan Doshi
On 11/18/2017 7:16 AM, Moritz Barsnick wrote: No, the mp4 extension is misleading because it's an MPEG-TS, what HLS natively carries. (Or does HLS offer other sub-containers?) As per the docs, HLS can use fragmented MP4s "after version 7". Gyan ___

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

2017-11-17 Thread Moritz Barsnick
On Thu, Nov 16, 2017 at 20:48:47 +0100, Reino Wijnsma wrote: > Youtube-dl by default uses FFmpeg to download the hls-stream, but with > --hls-prefer-native it can do it on its own. > The mp4-extension is misleading btw, because Youtube-dl lacks the > '-bsf:a aac_adtstoasc'-conversion. Therefore the

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

2017-11-16 Thread Reino Wijnsma
On 16-11-2017 14:54, Carl Eugen Hoyos wrote: > 2017-11-16 14:43 GMT+01:00 Reino Wijnsma : >> 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

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

2017-11-16 Thread Carl Eugen Hoyos
2017-11-16 14:43 GMT+01:00 Reino Wijnsma : > 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:

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

2017-11-16 Thread Reino Wijnsma
Hello ffmpeg-user, I'm trying to download a portion of "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.m3u