Page 1 of 1

Ubuntu ffmpeg

PostPosted: Mon Aug 12, 2013 12:28 pm
by spudy12
I am running my serviio server on Ubuntu 13.04 64 bit.
Have install Serviio to my Home Folder under a directoy called Serviio
Compiled ffmpeg from source. Attached NAS and made sure serviio can see and catologue files.

The problem is when serviio comes to transcode files such as in MB. The whole database shows up so you go to select a film. Once selected the circle starts spinning as if its buffereing then it just goes blank. Sometimes it will come up with 200 stream not found, other times just brings the play button back up.
Its as if its tries to do something, as the CPU ussage jumps up to ~90% for about 3 or 4 seconds then drops off again.

I know ffmpeg is working okay because it successfully scans the entire media library.
I have tried re installing, recompiling ffmpeg. Stuck for ideas now

Attached are the logs. Had a brief look but not really sure what I am looking for.

Re: Ubuntu and MB

PostPosted: Fri Aug 16, 2013 2:21 pm
by spudy12
I have now tried this on ubuntu 12.04, installed ffmpeg from source following this guide here
https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide as well as this one on the serviio wiki http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux

What am i doing wrong?
Serviio finds and processes my library fine, everything works except coming to play the files.
Does anyone have a tutorial on installing serviio on ubuntu? the wiki ones are very vague

Re: Ubuntu ffmpeg

PostPosted: Fri Aug 16, 2013 6:56 pm
by zip
It's complaining about libmp3lame not being in the ffmpeg.

You can point Serviio to your ffmpeg binary with ffmpeg.location System variable (see faq on how to do that)

Re: Ubuntu ffmpeg

PostPosted: Sat Aug 17, 2013 11:17 pm
by spudy12
Thanks for your reply, not sure why that has happened. I tried adding the location of ffmpeg manually but it just seemed to crash serviio.
What would be the correct format for listing ffmpeg.location if for example ffmpeg was compiled in home/src?

I have managed to get it working now by installing ffmpeg from a 3rd party repository.
Would this be worth adding to the wiki if I write it up?

Edit: have just checked, the ffmpeg from the 3rd party repository doesn't work with ipads etc so I assume it doesn't have x264 built in.

Re: Ubuntu ffmpeg

PostPosted: Sat Aug 17, 2013 11:45 pm
by zip
Something like

-Dffmpeg.location=/home/src/ffmpeg