Date: Mon, 28 May 2007 15:22:15 +0900 (JST) From: HASHI Hiroaki <hashiz@tomba.meridiani.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/113077: [PATCH]: enable bktr video capture multimedia/ffmpeg Message-ID: <200705280622.l4S6MFvm056943@tomba.meridiani.jp> Resent-Message-ID: <200705280640.l4S6e40A035914@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113077 >Category: ports >Synopsis: [PATCH]: enable bktr video capture multimedia/ffmpeg >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 28 06:40:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: HASHI Hiroaki >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD tomba.meridiani.jp 6.2-STABLE FreeBSD 6.2-STABLE #37: Sat May 26 10:42:09 JST 2007 hashiz@tomba.meridiani.jp:/usr/obj/usr/src/sys/TOMBA i386 >Description: multimedia/ffmpeg does not grab bktr. >How-To-Repeat: >Fix: - Apply a patch and build. - start capture ffmpeg -f audio_device -i /dev/dsp0 -f bktr -s 320x240 -i /dev/bktr0 tv.asf --- ffmpeg-patch-bktr begins here --- diff -ru ffmpeg/Makefile ffmpeg-bktr/Makefile --- ffmpeg/Makefile Sat May 26 02:07:36 2007 +++ ffmpeg-bktr/Makefile Mon May 28 15:08:47 2007 @@ -7,7 +7,7 @@ PORTNAME= ffmpeg DISTVERSION= 2007-04-29 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= ahze @@ -28,7 +28,6 @@ --extra-cflags="-fPIC -DPIC ${CFLAGS} -I${LOCALBASE}/include" \ --extra-ldflags="-L${LOCALBASE}/lib" \ --extra-libs="${PTHREAD_LIBS}" \ - --disable-bktr \ --enable-gpl \ --enable-pthreads \ --enable-swscaler @@ -185,6 +184,11 @@ CONFIGURE_ARGS+= --enable-xvid .endif +## bktr +.ifdef(WITHOUT_BKTR) +CONFIGURE_ARGS+= --disable-bktr +.endif + pre-everything:: .ifndef(WITHOUT_A52) @${ECHO_MSG} 'You can disable liba52 support by defining WITHOUT_LIBA52' @@ -233,6 +237,10 @@ .endif .ifndef(WITH_XVID) @${ECHO_MSG} 'Define WITH_XVID to enable XVID codec' + @${ECHO_MSG} +.endif +.ifndef(WITHOUT_BKTR) + @${ECHO_MSG} 'Define WITHOUT_BKTR to disable bktr video grab' @${ECHO_MSG} .endif --- ffmpeg-patch-bktr ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705280622.l4S6MFvm056943>