Page 1 of 1

[SOLVED] FFMPEG not found - transcoding not work

PostPosted: Mon Mar 04, 2013 7:31 pm
by vsn
Good evening everyone,

Transcoding doesn't work for me. Scanning serviio logs I have found this message
ERROR [MediaServer] FFMPEG not found. Serviio will not work properly.

...
ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/tmp/Serviio/transcoding-temp-1000000010001210-7-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-1000000010001210-7-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed


I'm using Ubuntu 12.04, Serviio 1.2, FFMPEG package installed from the repo. I have also installed additional packages as described in the wiki for the case of Ubuntu 12.04. But no success.

xxx@britta-TravelMate-5740:~$ ffmpeg
ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jan 24 2013 18:03:14 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'


Have anyone a idea how can I fix it?


Thanks!

BR,

VSN

Re: ERROR [MediaServer] FFMPEG not found - transcoding not w

PostPosted: Mon Mar 04, 2013 7:32 pm
by vsn
log attached

Re: ERROR [MediaServer] FFMPEG not found - transcoding not w

PostPosted: Mon Mar 04, 2013 8:18 pm
by koan00
The wiki doesn't tell you to use the repo for ffmpeg, you are not using the correct ffmpeg version.

You need version 1.1.x for Serviio 1.2

Additionally you will need libass installed and the extra switch to enable libass when you compile ffmpeg (if you want subtitles to work)

Install libass:
  Code:
cd ~/src
git clone https://code.google.com/p/libass/
cd libass
./autogen.sh
make
make install


Modify the configure step for building ffmpeg:
  Code:
./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
    --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 \
    --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx \
    --enable-librtmp --enable-libxvid --enable-libass

Re: ERROR [MediaServer] FFMPEG not found - transcoding not w

PostPosted: Tue Mar 05, 2013 8:14 pm
by vsn
Hi koan00,

yes, after installing the last version of ffmpeg I am now able to use transcoding. Thanks a lot!

BR

VSN

Re: ERROR [MediaServer] FFMPEG not found - transcoding not w

PostPosted: Wed Mar 06, 2013 12:33 am
by koan00
great :D