Page 1 of 1

Allow plugins to handle the scrub requests

PostPosted: Sat Feb 02, 2013 9:49 am
by r-win
@Zip,

Would it be possible that the plugin handles a "custom" scrub/seek request instead of ffmpeg? Right now, you add -s <timeinseconds> to the ffmpeg process. Some streams, however, like the Serviio Mediabrowser itself, use a custom argument to start at a specific time.

For instance, the fmovief site, which has http://blablabla.mp4 as "normal" url, and http://blablabla.mp4?start=<timeinseconds> to start from a certain point. Would be excellent if we can handle that using the plugin.

Not sure if this is a clear request, or if it's even possible.

Re: Allow plugins to handle the scrub requests

PostPosted: Sat Feb 02, 2013 8:32 pm
by zip
Doesn't the ffmpeg -ss the rame results?

Allow plugins to handle the scrub requests

PostPosted: Sat Feb 02, 2013 11:05 pm
by r-win
As far as I know, ffmpeg -ss does a byte range request, using e keyframes to calculate an approx. position. This only works, of course, if the remote stream does support byte range request. Not all of them do...it's possible that these streams are exotic, in which case I'll have to solve it using a shell script...