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

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,

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

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

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

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

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

[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