Sections of files

I have a bunch of mp4 files sitting on disk and I'd like clients to be able to request arbitrary segments of them (e.g., starting 200 seconds in until 250s). I'm a beginner in any kind of digital video, is this even slightly viable with membrane somehow?
2 Replies
mat_hek
mat_hek•2mo ago
Hi there, I think you'll have better luck with FFmpeg for this use case. Membrane doesn't support seeking MP4s, so you'd have to read & skip the MP4 until the beginning of the segment BTW, an important thing you should consider is whether you need the segments to start exactly at the given point in time or not. If not, you may start at the nearest keyframe, which will remove the need for transcoding 😉
River
RiverOP•2mo ago
Thank you, I'll do ffmpeg in that case; I don't need to start at an exact time so it should be fast enough
Want results from more Discord servers?
Add your server