Page 1 of 1

[SOLVED]Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Sun Sep 02, 2012 11:22 am
by dcolhoun
Hi


I am getting the following error in the log - no issues with 0.6.2

2012-09-02 13:54:32,186 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "ffmpeg": error=2, No such file or directory
2012-09-02 13:54:32,187 WARN [ProcessExecutor] Cannot retrieve results, stderrReader is null
2012-09-02 13:54:32,188 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "ffmpeg": error=2, No such file or directory
2012-09-02 13:54:32,188 WARN [ProcessExecutor] Cannot retrieve results, stderrReader is null
2012-09-02 13:54:32,189 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "ffmpeg": error=2, No such file or directory
2012-09-02 13:54:32,189 WARN [ProcessExecutor] Cannot retrieve results, stderrReader is null

ffmpeg has been installed following instructions here https://ffmpeg.org/trac/ffmpeg/wiki/Ubu ... ationGuide

When i run ffmpeg from command line I get

ffmpeg version git-2012-07-26-236ecc3 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 27 2012 10:37:15 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
libavutil 51. 65.100 / 51. 65.100
libavcodec 54. 45.100 / 54. 45.100
libavformat 54. 21.100 / 54. 21.100
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 3.100 / 3. 3.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Thanks

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Thu Sep 06, 2012 8:26 pm
by zip
does the user running serviio have access to ffmpeg? Did you configure ffmpeg.location system property anywhere?

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Fri Sep 07, 2012 5:47 pm
by znejk
Been trying all kinds of ffmpeg and wont even get an error message it just quits... :<

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Fri Sep 07, 2012 5:49 pm
by znejk
Is it possible to download older versions? the 0.6 worked nice for me

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Sun Sep 09, 2012 1:38 pm
by dcolhoun
zip wrote:does the user running serviio have access to ffmpeg? Did you configure ffmpeg.location system property anywhere?


Hi

No i didn't, as I didn't know that was necessary. Had no issues prior to the upgrade.

How do you configure the ffmpeg.location system property?

If I invoke ffmpeg from the command line as the user running Serviio I get the output as listed in my first post

Thanks

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Sun Sep 09, 2012 11:12 pm
by zip
Enable detailed log, restart Serviio and check serviio.log. It should say somewhere close to the restart position

  Code:
Invoking FFMPEG to check if it exists ....


with a path of ffmpeg.

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Mon Sep 10, 2012 11:29 am
by sbec67
I had a simular Problem.....

I did a recompile of ffmpeg.
See here: http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

After this, my problems where fixed

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Tue Sep 11, 2012 11:33 am
by dcolhoun
zip wrote:Enable detailed log, restart Serviio and check serviio.log. It should say somewhere close to the restart position

  Code:
Invoking FFMPEG to check if it exists ....


with a path of ffmpeg.


This is what I get

2012-09-11 15:25:11,580 DEBUG [FFMPEGWrapper] Invoking FFMPEG to check if it exists of path ffmpeg
2012-09-11 15:25:11,582 DEBUG [ProcessExecutor] Starting ffmpeg

Then later on FFMPEG is called with no errors

2012-09-11 15:26:11,589 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve thumbnail for file: /tvandmovies/TV/The Perfect Dog - Dog Father/DVD 2/01 Problem Behaviors/01 Introduction.avi
2012-09-11 15:26:11,589 DEBUG [ProcessExecutor] Starting ffmpeg -ss 120 -i /tvandmovies/TV/The Perfect Dog - Dog Father/DVD 2/01 Problem Behaviors/01 Introduction.avi -an -frames:v 1 -f image2 pipe:

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Tue Sep 11, 2012 12:59 pm
by zip
ok, so do you still have the problem? It seems ffmpeg can be found now.

Re: Serviio 1.0.1 running on Ubuntu 12.04 - ffmpeg error

PostPosted: Wed Sep 12, 2012 8:10 am
by dcolhoun
zip wrote:ok, so do you still have the problem? It seems ffmpeg can be found now.


Problem seems to have gone

Thanks