Page 1 of 1

Cannot install ffmpeg on ubuntu 14.04

PostPosted: Sun Apr 20, 2014 6:05 pm
by Ramin
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

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Mon Apr 21, 2014 6:45 am
by NX3
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

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Mon Apr 21, 2014 8:26 pm
by richslg
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.

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Mon Apr 21, 2014 8:53 pm
by Burfee
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-)

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Sun Apr 27, 2014 5:05 pm
by richslg
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.

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Mon Apr 28, 2014 8:23 am
by zip
Serviio doesn't use ffprobe

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Sun May 04, 2014 11:26 pm
by spudy12
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 :)

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Wed May 14, 2014 2:26 am
by mrfatbat
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

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Wed Aug 06, 2014 4:41 pm
by adi003
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

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Fri Aug 29, 2014 3:15 pm
by daverush
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.

Re: Cannot install ffmpeg on ubuntu 14.04

PostPosted: Fri Aug 29, 2014 4:01 pm
by Lupu
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