FAQ  •  Register  •  Login

Only one transcode at a time?

<<

gringomat

Serviio newbie

Posts: 5

Joined: Tue Nov 13, 2012 4:38 pm

Post Tue Nov 13, 2012 9:08 pm

Only one transcode at a time?

Hey guys

Is Serviio only able to deliver one transcode stream at a time? (file.avi -> FLV)
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Nov 14, 2012 7:39 am

Re: Only one transcode at a time?

NO, multi stream should be supported (take care of cpu load and network bottleneck)
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

gringomat

Serviio newbie

Posts: 5

Joined: Tue Nov 13, 2012 4:38 pm

Post Wed Nov 14, 2012 8:56 am

Re: Only one transcode at a time?

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?
<<

gringomat

Serviio newbie

Posts: 5

Joined: Tue Nov 13, 2012 4:38 pm

Post Wed Nov 14, 2012 9:19 pm

Re: Only one transcode at a time?

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.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 41 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.