Page 1 of 1
Only one transcode at a time?

Posted:
Tue Nov 13, 2012 9:08 pm
by gringomat
Hey guys
Is Serviio only able to deliver one transcode stream at a time? (file.avi -> FLV)
Re: Only one transcode at a time?

Posted:
Wed Nov 14, 2012 7:39 am
by Illico
NO, multi stream should be supported (take care of cpu load and network bottleneck)
Re: Only one transcode at a time?

Posted:
Wed Nov 14, 2012 8:56 am
by gringomat
Hi Illico
Many thanks for your reply. I was wondering, couldn't imagine Serviio being able to only deliver one stream at a time, but I seem to be having that exact issue here for whatever strange reasons.
I'm trying to stream multiple flash streams... for testing purposes through mediabrowser only - later, I'll be including this stream into a separate Flowplayer instance.
If two or more users (for the time being, this is me with multiple browsers open ^^) are streaming through mediabrowser, Serviio only keeps one temporary transcode file.
So, user 1 starts a stream, a temp file is generated and the videofile is being transcoded and properly delivered. As soon as user 2 starts streaming, the exact same temporary file is being overwritten. User 2 can stream without worries, but he sort of kicked out user 1... his stream is continuing only as long as the buffer in his flowplayer lasts, and then aborts.
Any idea what might be causing this strange behaviour?
Re: Only one transcode at a time?

Posted:
Wed Nov 14, 2012 9:19 pm
by gringomat
Figured it out, I guess. The thing is, that Serviio runs a sort of garbage collector before starting to transcode. This gc is run based on the remote IP of the client. The same client requesting different media files results in Serviio ditching everything but the last request, thus I ended up with temp files being overwritten when accessing two different streams from the same remote IP. Makes sense in most scenarios i guess.
Input for the next release: Serviio should kill the corresponding ffmpeg-process when cleaning up.
Thanks Illico, please close.