Date: Thu, 30 Jan 2003 11:19:03 +0200 From: "Atte Peltomaki" <atte.peltomaki@iki.fi> To: freebsd-multimedia@freebsd.org Subject: 5.0-REL + transcode Message-ID: <20030130091903.GA14446@naama>
next in thread | raw e-mail | index | archive | help
I've spent some hours trying to get combination 5.0-REL + transcode to work. Here's what I ended up doing to get it to work: I used the Ports Collection to do this: First, make deinstall for any earlier installations of transcode & libdvdread you may have. Edit /usr/ports/graphics/transcode/Makefile to get latest 0.6.3 pre-version of transcode: -PORTVERSION=0.6.2 +PORTVERSION=0.6.3 -DISTNAME=${PORTNAME}-${PORTVERSION}.20021010 +DISTNAME=${PORTNAME}-${PORTVERSION}.20021128 also for distinfo: -MD5 (transcode-0.6.2.20021010.tar.gz) = 97b46fe8d7d650c8d0b57096bce162a1 +MD5 (transcode-0.6.3.20021128.tar.gz) = f6275a78700e985b715c9260e3648576 (I don't think this is neccessary, but since we're at it let's get latest bleeding-edge ;) Now you should start doing make install, but Ctrl-C it before it gets through configuration. Then edit work/transcode-0.6.3.20021128/ffmpeg/libavcodec/mem.c line 21: change malloc.h to stdlib.h. Then edit work/transcode-0.6.3.20021128/dvdread/dvd_reader.c line 143: comment out the entire if-statement that tries to check wether libdvdcss is old version. Like this: /* if( dlsym( dvdcss_library, U_S "dvdcss_crack" ) ) { fprintf( stderr, "libdvdread: Old (pre-0.0.2) version of " "libdvdcss found.\n" "libdvdread: You should get the " "latest version from " "http://www.videolan.org/\n" ); dlclose( dvdcss_library ); dvdcss_library = 0; } else */if( !dvdcss_open || !dvdcss_close || !dvdcss_seek || Now your transcode is ready, but don't build it yet, you also need to do the same trick to libdvdread. There's similar if-statement in /usr/ports/multimedia/libdvdread/work/libdvdread-0.9.3/dvdread/dvd_input.c:272 also comment that out as shown above. Now build transcode. It should build libdvdread automatically as a depency. Voila! I can't be bothered to get any deeper than this. I got it working, that's plenty for me. I'll leave the actual patch-writing etc. to people who know how to do it ;) Forgive me my rookie-ness. Atte Peltomäki http://kameli.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030130091903.GA14446>