FAQ  •  Register  •  Login

Cannot install ffmpeg on ubuntu 14.04

<<

Ramin

Serviio newbie

Posts: 5

Joined: Tue May 28, 2013 11:12 am

Post Sun Apr 20, 2014 6:05 pm

Cannot install ffmpeg on ubuntu 14.04

Hi,

All day I am trying to get FFMPEG installed on my Ubuntu 14.04. I want the m4a-files to be played.
In the log file I see that FFMPEG is not installed. That bothers me :evil:

I added repositories, but nothing helps.
Did someone already get it work?

  Code:
java.io.IOException: Cannot run program "ffmpeg": error=2, No such file or directory
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
   at org.serviio.external.ProcessExecutor.run(ProcessExecutor.java:135)
Caused by: java.io.IOException: error=2, No such file or directory
   at java.lang.UNIXProcess.forkAndExec(Native Method)
   at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
   at java.lang.ProcessImpl.start(ProcessImpl.java:130)
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
   ... 1 more
2014-04-20 13:00:49,184 WARN  [ProcessExecutor] Cannot retrieve results, output reader is null
2014-04-20 13:00:49,185 WARN  [LibraryManager] Skipping processing metadata for an unsupported file (/home/ramin/Music/Tiësto`s Club Life Podcast/clublife_episode367.m4a). Message: Unknown audio file type.


Thank you in advance
<<

NX3

DLNA master

Posts: 578

Joined: Fri Jan 28, 2011 12:39 pm

Post Mon Apr 21, 2014 6:45 am

Re: Cannot install ffmpeg on ubuntu 14.04

Did you check out the serviio wiki and the guide to compiling your own build of ffmpeg? It's quiet straight forward and would resolve your problem

Sent from my HTC One mini using Tapatalk
<<

richslg

Serviio newbie

Posts: 3

Joined: Mon Apr 21, 2014 8:04 pm

Post Mon Apr 21, 2014 8:26 pm

Re: Cannot install ffmpeg on ubuntu 14.04

NX3 wrote:Did you check out the serviio wiki and the guide to compiling your own build of ffmpeg? It's quiet straight forward and would resolve your problem

Sent from my HTC One mini using Tapatalk


This is not a fact!
The 14.04 final release is such a total mess that few things work as expected especially dependencies.
Few audio or video programs work even if loaded from ubuntus own repository. Heck miniDLNA has been removed.

I admit that since 12.04 I've found it easier to just to use Jon Severinsson's packages for FFmpeg (and they worked thru 14.04 Beta)

Neither source from the Serviio dl nor the real FFmpeg will compile without a major effort in dependency resolution.
Yes you can compile an isolated private copy and point serviio but what does that solve?
Most people use several programs that depend of real FFmpeg.

I'm gonna sit tight and wait until Jon gets a new package up. For now I'll use my xp serviio yuck.
<<

Burfee

Serviio newbie

Posts: 1

Joined: Mon Apr 21, 2014 8:49 pm

Post Mon Apr 21, 2014 8:53 pm

Re: Cannot install ffmpeg on ubuntu 14.04

Hey guys,

Ubuntu 14.04 is now using avconv instead of ffmpeg.
Since avconv is a fork of ffmpeg, I managed to get Serviio working by creating a symbolinc link called ffmpeg.
  Code:
ln -s /usr/bin/avconv /home/burfee/bin/ffmpeg

/home/burfee/bin is a location I have in PATH where I place my custom executables, so you can place the link where it suits you better, like:
  Code:
ln -s /usr/bin/avconv /usr/bin/ffmpeg

with sudo of course.

Hope it helps some of you guys.
Cheers. 8-)
<<

richslg

Serviio newbie

Posts: 3

Joined: Mon Apr 21, 2014 8:04 pm

Post Sun Apr 27, 2014 5:05 pm

Re: Cannot install ffmpeg on ubuntu 14.04

Jon has a new package up. 7:1.2.6-1
It installs on Trusty and seem to work without breaking anything. Better yet Serviio seems to like it.

I have gotten a couple ffprobe errors and since this is the Serviio forum I guess that's not a good thing :P
I'm checking out if it's the prober or the probie that are causing this.

But I'm happy for now. I'm back on the Linux Serviio.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17147

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Apr 28, 2014 8:23 am

Re: Cannot install ffmpeg on ubuntu 14.04

Serviio doesn't use ffprobe
<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Sun May 04, 2014 11:26 pm

Re: Cannot install ffmpeg on ubuntu 14.04

Been running serviio on an ubuntu server running 14 from the beta. Installed ffmpeg following the wiki MAKING SURE TO USE THE PROVIDED FFMPEG SOURCE PROVIDED linkand not had any problems at all :)
<<

mrfatbat

Serviio newbie

Posts: 3

Joined: Sat Mar 15, 2014 10:44 pm

Post Wed May 14, 2014 2:26 am

Re: Cannot install ffmpeg on ubuntu 14.04

I've used the following PPA for all three of my 14.04 installs, and got ffmpeg working a treat!!!

https://launchpad.net/~jon-severinsson/+archive/ffmpeg

Cheers,

J
<<

adi003

Serviio newbie

Posts: 1

Joined: Wed Aug 06, 2014 4:34 pm

Post Wed Aug 06, 2014 4:41 pm

Re: Cannot install ffmpeg on ubuntu 14.04

This is how to proceed in order to make serviio work on ubuntu 14.04

sudo add-apt-repository 'deb http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu trusty main' && sudo add-apt-repository 'deb http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu saucy main' && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1DB8ADC1CFCA9579 && sudo apt-get update

sudo apt-get install ffmpeg gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly totem-plugins-extra gstreamer-tools ubuntu-restricted-extras libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 libjpeg-progs flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-0.7.4-dev libquicktime2

wget http://download.serviio.org/releases/se ... nux.tar.gz

tar xvf serviio-1.1-linux.tar.gz

cd to serviio-1.4.1.2 and run /bin/serviio.sh and /bin/serviio-console.sh

If someone has the time to make an install script (automatic download of latest version of serviio) please do so :)

If you sometimes get "unsupported file type" on mkv's rename the files/folders to a minimum length (1-6) characters. Don't know if its a bug or a feature. Searched the hole damn Internet before I remembered this windows 95 technique.

Thx
<<

daverush

Serviio newbie

Posts: 1

Joined: Thu Sep 15, 2011 10:34 pm

Post Fri Aug 29, 2014 3:15 pm

Re: Cannot install ffmpeg on ubuntu 14.04

I'm obviously missing something, cut and paste the commands gives me an error message

Package gstreamer0.10-ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

yet the first command seems to work. How do I check, please? Sorry to be a bit dim.
<<

Lupu

Serviio newbie

Posts: 1

Joined: Fri Aug 29, 2014 3:55 pm

Post Fri Aug 29, 2014 4:01 pm

Re: Cannot install ffmpeg on ubuntu 14.04

try :

  Code:

sudo apt-add-repository ppa:mc3man/trusty-media



  Code:

sudo apt-get update



  Code:

sudo apt-get install ffmpeg gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly totem-plugins-extra gstreamer-tools ubuntu-restricted-extras libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 libjpeg-progs flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-0.7.4-dev libquicktime2



worked for me

Return to General discussion

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests

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