FAQ  •  Register  •  Login

ffmpeg options on ubuntu 12.04.1 LTS - transcoding fails

<<

summisu

Serviio newbie

Posts: 1

Joined: Thu Nov 01, 2012 11:33 am

Post Thu Nov 01, 2012 11:47 am

ffmpeg options on ubuntu 12.04.1 LTS - transcoding fails

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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Nov 01, 2012 12:49 pm

Re: ffmpeg options on ubuntu 12.04.1 LTS - transcoding fails

You need to update your ffmpeg ? Source code here : http://www.serviio.org/download ,take care of compile config option.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

gandalf3

Serviio newbie

Posts: 1

Joined: Mon Nov 19, 2012 8:24 am

Post Mon Nov 19, 2012 1:07 pm

Re: ffmpeg options on ubuntu 12.04.1 LTS - transcoding fails

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

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 34 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.