FreeBSD 9.1 ports - unusable on video - ffmpeg runaway procs

General discussions.

Moderator: moderators

FreeBSD 9.1 ports - unusable on video - ffmpeg runaway procs

Postby reakktor » Wed Jul 17, 2013 1:16 am

Hi all

running a Subsonic instance on FreeBSD 9.1, installed default from /usr/ports/www/subsonic (subsonic-4.7-war.zip)

All runnig well basically - BUT i've included a major movie video folder and allowed to stream/download.

Experiencing following problem:
* Video streaming is allowed via interal JWS javascript player; streaming/transcoding works on start, BUT "stop", "bitrate change" commands are recognized only by UI, but ARE NOT flagged to backend (i.e. ffmpeg)
* video stop/close not recognized by backend (i.e. ffmpeg)

Problem decription:
* JWS player / ffmpeg task for stream does not deliver STOP/FF/PAUSE command to ffmpeg -> old ffmpeg task runs forever
* JWS player instance does not report video file change to backend -> old ffmpeg task runs forever
-> on every video stream an new ffmpeg instance is spawned -> old ffmpeg task runs forever
-> even worse: on every video tream bitrate change, a new ffmpeg instance is spawned -> old ffmpeg task runs forever

Problem result:
Mainly there seems to be a SERIOUS problem on controlling ffmpeg on FreeBSD, rendering it almost unusable.
* every click on video different stream spawns ffmpeg instance; interface is not taking down unused/stopped ffmped instances -> endless spawning of ffmpeg processes
* ffmpeg instances run for whole video files, especially bad for BIG files -> ffmpeg processes run until video end, even without client stream listening -> just a dead process pumping out data to /dev/null and consuming all processor/memory, not controllable by any command of interface
* those two flaws combined end up in lockout of processor/memory/bandwith in seconds/minutes

Any advice on this ? Did i miss something on configuring this ?
reakktor
 
Posts: 1
Joined: Tue Jul 16, 2013 11:53 pm

Return to General

Who is online

Users browsing this forum: No registered users and 6 guests