Page 1 of 1

Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Mon Jul 02, 2012 5:18 pm
by robertsearle
I turned up tracing on the log file hoping to see which file is causing a problem. I guess from other posts that serviio is having problems generating thumbnails or something like that. For now all that happens is serviio uses most of the CPUs

Re: Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Sat Jul 28, 2012 6:03 pm
by robertsearle
This doesn't appear to be a problem with 1.0

Re: Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Sat Jul 28, 2012 6:33 pm
by zip
any details?

Re: Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Mon Jul 30, 2012 3:24 am
by robertsearle
For now, I would say bug found in 0.6 fixed in 1.0

Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Mon Jul 30, 2012 5:17 am
by yaro
On Osx lion , I notice that after I stopped watching a stream on the Philips TV, the file javaapplicationstub continues using about 150% of CPU for a while. I am on a Mac mini dual core.
I do not see javaapplicationstub in the log. I see ffmpeg.

I think it cleans up after itself.

Re: Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Mon Jul 30, 2012 8:49 am
by zip
yaro wrote:On Osx lion , I notice that after I stopped watching a stream on the Philips TV, the file javaapplicationstub continues using about 150% of CPU for a while. I am on a Mac mini dual core.
I do not see javaapplicationstub in the log. I see ffmpeg.

I think it cleans up after itself.

It finishes transcoding the entire movie, unless you start watching another movie that needs transcoding, in which case that one take over

Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Mon Jul 30, 2012 10:03 pm
by yaro
You should take another look at the javaapplicationstub. It stays on way longer than necessary and burns lots of CPU cycles.

Re: Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Mon Jul 30, 2012 10:16 pm
by zip
see my last reply.. and it's the way by design. discussed here many times.

Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Tue Jul 31, 2012 11:58 pm
by yaro
zip wrote:
yaro wrote:On Osx lion , I notice that after I stopped watching a stream on the Philips TV, the file javaapplicationstub continues using about 150% of CPU for a while. I am on a Mac mini dual core.
I do not see javaapplicationstub in the log. I see ffmpeg.

I think it cleans up after itself.

It finishes transcoding the entire movie, unless you start watching another movie that needs transcoding, in which case that one take over


Does it continue transcoding the online live streams too? That may be the cause.

Re: Better logging for ffmpeg commands (ffmpeg 100% CPU)

PostPosted: Wed Aug 01, 2012 8:45 am
by zip
yaro wrote:Does it continue transcoding the online live streams too? That may be the cause.

Not the live streams, at least it should not (FFmpeg will be killed after 30 seconds or 1 minute after you stop watching the live stream)