Closed ekisu closed 3 years ago
Does this work for mpegts streams?
I'm trying to encode a webm out of a mpegts stream, but it always encodes a different and longer portion of the stream (e.g. I select 00:02.871 to 00:05.488, and it ends up encoding a portion from way after those times, and it's 30 seconds long).
My guess is it has to do with the seekbar that keeps getting longer as the stream plays maybe?
Thanks to @Igetin for the implementation (I really didn't know
dump-cache
was a thing). For now I'll keep it only on HLS streams, as I guess other ones might work with the original implementation (?). Might change this later tho. The code for this became a bit ugly too, but ehreturn nil, nil, nil, nil, nil isn't supposed to be a joke tooCloses #28