pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get the right ffmpeg for Ubuntu

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> General
 View previous topic :: View next topic  
Author Message
wmcbrine



Joined: 04 Jan 2008
Posts: 2033
Location: Maryland

PostPosted: Wed Mar 25, 2009 1:37 am    Post subject: Get the right ffmpeg for Ubuntu Reply with quote

The default versions of ffmpeg that come with Ubuntu won't work for pyTivo. Support for needed codecs was stripped, to avoid patent issues. However, you can get a working ffmpeg with just a little effort, depending on which version of Ubuntu you're using:

9.10: As with 8.10/9.04, the working version is in the mainstream repos, but (according to this HOWTO post in the Ubuntu forums) with the label "extra", instead of "unstripped".

8.10 or 9.04: The working version is in the mainstream repos (in universe or multiverse), but with the label "unstripped". Select all the "unstripped" packages to install.

8.04: To get a working version, you first need to add the "Medibuntu" repository to your sources. See here for instructions. Then, just upgrade (if you already had ffmpeg installed), or install the ffmpeg package.

More info later.

_________________
My pyTivo fork . My page


Last edited by wmcbrine on Tue Oct 27, 2009 9:46 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
bgiannes



Joined: 05 Jun 2008
Posts: 29

PostPosted: Wed Mar 25, 2009 7:54 pm    Post subject: Reply with quote

The best way is to:- http://ubuntuforums.org/showthread.php?t=786095

This howto works the best, the thread is also kept up to date

It works every time....


The only addition would be that the ubuntu location of ffmpeg file after the build is NOT where pytivo looks for it, so after you follow the howto then do this.

cd to the /ffmpeg folder then

cp ffmpeg /usr/bin/ffmpeg/ffmpeg

you may need to over write the old ffmpeg, if you have an old install. As the purge command did not remove the old file for me....

then your good.....

_________________
Ubuntu 9.04 AMD 64 w/ Tivo Series 2
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2033
Location: Maryland

PostPosted: Wed Mar 25, 2009 9:49 pm    Post subject: Reply with quote

If you do choose to build your own ffmpeg, I'd urge you to install it in the default /usr/local/bin rather than /usr/bin, which is normally reserved for package-managed binaries. Then just point to it in pyTivo.conf:

[Server]
ffmpeg = /usr/local/bin/ffmpeg

I would really discourage overwriting package-managed binaries with user-compiled ones. It confuses the package managers, and it's not necessary -- that's what /usr/local is for.

But you may as well remove the system packages of ffmpeg if you build your own.

_________________
My pyTivo fork . My page
Back to top
View user's profile Send private message Visit poster's website
windracer



Joined: 04 Jan 2008
Posts: 219
Location: St. Pete, FL

PostPosted: Thu Mar 26, 2009 12:24 am    Post subject: Reply with quote

I just put the ffmpeg package on hold so it doesn't update itself. But yeah, /usr/local is probably the better way. Maybe at one point I'll actually switch to that. Wink
_________________
pyTiVo on Ubuntu 11.10 (Oneiric)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
gonzotek



Joined: 12 Jan 2008
Posts: 64

PostPosted: Fri Mar 27, 2009 1:10 am    Post subject: Reply with quote

I've been working on this page:
http://pytivo.armooo.net/wiki/UbuntuInstall

I merged in some of the comments from this thread, hope that's ok. Does anyone know how to get the main pages modified (for instance to update the download links for this page when it's ready?)
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 1420

PostPosted: Fri Mar 27, 2009 5:04 am    Post subject: Reply with quote

gonzotek wrote:
I've been working on this page:
http://pytivo.armooo.net/wiki/UbuntuInstall

I merged in some of the comments from this thread, hope that's ok. Does anyone know how to get the main pages modified (for instance to update the download links for this page when it's ready?)


wmcbrine temporarily locked them to keep the spammers from changing them every few hours. You'll have to ask him to unlock them.
Back to top
View user's profile Send private message
gonzotek



Joined: 12 Jan 2008
Posts: 64

PostPosted: Fri Mar 27, 2009 11:20 am    Post subject: Reply with quote

Thanks, he's already PMd me Smile
_________________
Follow @pytivo on Twitter for project updates and more! http://twitter.com/pytivo
Back to top
View user's profile Send private message
bgiannes



Joined: 05 Jun 2008
Posts: 29

PostPosted: Fri Mar 27, 2009 3:32 pm    Post subject: Reply with quote

another great resource is here: https://wiki.ubuntu.com/ffmpeg Very Happy

there is alot of detail on this page.




(i have had problems with these method, but i thing they work for 99% of people)


note: in my #2 post that build method works in Jaunty 9.04 a6, nowever ffmpeg don't use as much cpu as it should, sometime at low at 1%....

for me the build method is the only way to get x264 working....

_________________
Ubuntu 9.04 AMD 64 w/ Tivo Series 2
Back to top
View user's profile Send private message
bgiannes



Joined: 05 Jun 2008
Posts: 29

PostPosted: Fri Mar 27, 2009 4:06 pm    Post subject: Reply with quote

i looked at the wiki page, looks good.

I think some of the older builds of python less then 2.5.2, (correct me if i'm wrong) don't have ssl socket turned on. If this is the case python will need to be purged reinstalled or rebuild w/ ssl on, if not the "send to" tivo commands will not work.

_________________
Ubuntu 9.04 AMD 64 w/ Tivo Series 2
Back to top
View user's profile Send private message
bgiannes



Joined: 05 Jun 2008
Posts: 29

PostPosted: Tue Jun 02, 2009 4:02 am    Post subject: Reply with quote

have a look at this howto, spells it all out


http://ubuntuforums.org/showthread.php?t=1117283

_________________
Ubuntu 9.04 AMD 64 w/ Tivo Series 2
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.1733s ][ Queries: 12 (0.0117s) ][ GZIP on - Debug on ]