Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 May 2004 09:31:33 +0200
From:      Kay Lehmann <kay_lehmann@web.de>
To:        Marc Smith <merkurie@comcast.net>
Cc:        lioux@FreeBSD.org
Subject:   Re: FreeBSD Port: mjpegtools-1.6.1_2
Message-ID:  <409B3B55.4070209@web.de>
In-Reply-To: <409B2DAE.9090605@comcast.net>
References:  <409B2DAE.9090605@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

Marc Smith wrote:
> Hi, I am trying to use mjpegtools with transcode and it can not find 
> 'export_mpeg2enc.so' or 'export_mp2enc.so' and I was under the 
> impression these came with mjpegtools. 

No, I think they come with transcode. Supporting mjpegtools is an option 
of transcode:
Makefile
---snip---
.if exists(${LOCALBASE}/include/mjpegtools/yuv4mpeg.h)
WITH_MJPEG=     yes
.endif

...

.if defined(WITH_MJPEG)
LIB_DEPENDS+=   lavplay-1.6.1:${PORTSDIR}/multimedia/mjpegtools
PLIST_SUB+=     WITH_MJPEG=""
.else
PLIST_SUB+=     WITH_MJPEG="@comment "
.endif
---snip---

pkg-plist:
---snip---
%%WITH_MJPEG%%lib/transcode/export_mpeg2enc.so
%%WITH_MJPEG%%lib/transcode/export_mp2enc.so
---snip---

> I poked around on Google a little 
> bit and it seems RedHat users have the same problem with these libs not 
> coming with the RPM of mjpegtools. I was wondering if this is also true 
> for FreeBSD and if so, is there a way to make it so it does install these?
> Thanks for your time.
> 
> Marc

So you have two options to get it working:
1. Install mjpegtools and build transcode from ports
2. build transcode with 'make WITH_MJPEG=yes'

greets,
Kay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?409B3B55.4070209>