[mythtv] [patch] firewire mpeg2ts input
Ian Forde
ian at duckland.org
Fri Feb 4 08:05:08 UTC 2005
On Thu, 2005-02-03 at 22:12 -0800, Tom Harding wrote:
> Works on my DCT-6412 (Comcast HD DVR box). Hardest thing was getting
> libiecXXXXX to compile. The LIBRAW1394 macros were not defined so I had
> to wing it. I don't have a capture card, so the first time I ever ran
> MythTV was with your Firewire support today. Thanks!
That's actually one of the easier bits. Easiest way to build
libiec61883 is to generate an RPM for it. Here's the RH/Fedora way...
1. Download libiec61883
2. Generate a specfile
sh autogen.sh
3. Rename the dir to dir-`version` as listed in the specfile. I'm
assuming it's 0.1.0, but you should check libiec61883/libiec61883.spec
mv libiec61883 libiec61883-0.1.0
4. Put the specfile in place
cp -p libiec61883-0.1.0/libiec61883.spec /usr/src/redhat/SPECS
5. Create a source tarball
tar czf /usr/src/redhat/SOURCES/libiec61883-0.1.0.tar.gz
libiec61883-0.1.0/
6. Set your PKG_CONFIG_PATH variable.(This may or may not be the case on
your system.)
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
7. Build the RPM
cd /usr/src/redhat/SPECS
rpmbuild -bb libiec61883.spec
8. Install both the lib and the -devel package
cd ../RPMS/`uname -i`
rpm -Uvh ./libiec61883-0.1.0* ./libiec61883-devel-*
> A useful feature would be the ability to generate output in the original
> .ts format as well as (or instead of) .nuv (for reasons I won't bore you
> with).
There is a test-mpeg2 demo program that should be in the -devel package.
This will allow pure captures. Having said that, the .nuv file is in
the original format already, since you're already capturing a compressed
mpeg2 stream...
-I
More information about the mythtv-dev
mailing list