[mythtv-users] nuvexport under ubuntu 6.10 (edgy eft)

Peter Schachte schachte at csse.unimelb.edu.au
Thu Jan 4 13:31:22 UTC 2007


Most of myth works very well out of the box under Ubuntu 6.10, but I found
nuvexport needed a bit of work to get running, so I thought I'd share what I
had to do for the benefit of people searching the archives.  I had two
problems:  firstly, ffmpeg as packaged for ubuntu does not support xvid, which
is the codec I wanted to use, and secondly, nuvexport wasn't compatible with
the packaged version of ffmpeg.

The first problem can be solved by building ffmpeg from the ubuntu source
package, as documented at http://po-ru.com/diary/fixing-ffmpeg-on-ubuntu/ .

	sudo apt-get remove ffmpeg	# if you've installed ffmpeg already
	sudo apt-get build-dep ffmpeg
	sudo apt-get install liblame-dev libfaad2-dev \
	    libfaac-dev libxvidcore4-dev checkinstall fakeroot

Then make a directory to work in, such as /usr/src/ffmpeg, and build the
packages including support for the "risky" codecs, and install:

	mkdir /usr/src/ffmpeg ; cd /usr/src/ffmpeg
	DEB_BUILD_OPTIONS=risky fakeroot apt-get source ffmpeg --compile
	sudo dpkg -i *.deb

The other problem I solved by patching the ffmpeg sources to use the -b switch
rather than -bit_rate to specify the encoding bitrate.  Presumably this is
needed because of a mismatch between nuvexport and ffmpeg versions; still
patching nuvexport seemed easier than trying to package another version of
ffmpeg for ubuntu.

	cd /usr/src
	wget http://forevermore.net/files/nuvexport-latest.tar.bz2
	tar xfj nuvexport-latest.tar.bz2
	cd nuvexport-*
	patch -p1 nuvexport.patch1	# see attached patch
	make install

Hope this helps someone.

-- 
Peter Schachte              I worry that 10 or 15 years from now, [my child]
schachte at cs.mu.OZ.AU        will come to me and say 'Daddy, where were you
www.cs.mu.oz.au/~schachte/  when they took freedom of the press away from
Phone: +61 3 8344 1338      the Internet?' -- Mike Godwin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nuvexport.patch1
Url: http://mythtv.org/pipermail/mythtv-users/attachments/20070105/3ec8daed/attachment.diff 


More information about the mythtv-users mailing list