Page 1 of 1

ffmpeg options on ubuntu 12.04.1 LTS - transcoding fails

PostPosted: Thu Nov 01, 2012 11:47 am
by summisu
Hi,
I have recently upgraded my Server to Ubuntu 12.04.1 LTS and Serviio to 1.0.1.
I found out, that transcoding is not working anymore.
Calling FFmpeg on the ubuntu machine give this output:
  Code:
ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
  built on Jun 12 2012 16:52:09 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'


When I try to stream a transcoded file, I get the error:
  Code:
 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed


Executing the ffmpeg command manually I get 2 errors back: (I get a similar error for c:a)
  Code:
Unrecognized option 'c:v'
Failed to set value 'mpeg2video' for option 'c:v'


After some search in google I found out, that c:a and c:v have been changed (back?) to -vcodec (for c:v) and -acodec (for c:a).
Using these parameters ffmpeg works correctly.

Question: is there any elegant option to configure serviio to use the correct (recent) ffmpeg parameters..???
Thanks, Best Regards, summisu

Re: ffmpeg options on ubuntu 12.04.1 LTS - transcoding fails

PostPosted: Thu Nov 01, 2012 12:49 pm
by Illico
You need to update your ffmpeg ? Source code here : http://www.serviio.org/download ,take care of compile config option.

Re: ffmpeg options on ubuntu 12.04.1 LTS - transcoding fails

PostPosted: Mon Nov 19, 2012 1:07 pm
by gandalf3
I use 12.04 on my NAS too, didn't work with ubuntu ffmpeg, but does if you buid your own using the wiki

G