From hashiz@tomba.meridiani.jp  Mon May 28 06:36:24 2007
Return-Path: <hashiz@tomba.meridiani.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4BF7C16A468
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 06:36:24 +0000 (UTC)
	(envelope-from hashiz@tomba.meridiani.jp)
Received: from tomba.meridiani.jp (221x245x15x82.ap221.ftth.ucom.ne.jp [221.245.15.82])
	by mx1.freebsd.org (Postfix) with ESMTP id 01A2713C468
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 06:36:23 +0000 (UTC)
	(envelope-from hashiz@tomba.meridiani.jp)
Received: from tomba.meridiani.jp (localhost.meridiani.jp [127.0.0.1])
	by tomba.meridiani.jp (8.14.1/8.14.1) with ESMTP id l4S6MGEi056944
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 15:22:16 +0900 (JST)
	(envelope-from hashiz@tomba.meridiani.jp)
Received: (from hashiz@localhost)
	by tomba.meridiani.jp (8.14.1/8.14.1/Submit) id l4S6MFvm056943;
	Mon, 28 May 2007 15:22:15 +0900 (JST)
	(envelope-from hashiz)
Message-Id: <200705280622.l4S6MFvm056943@tomba.meridiani.jp>
Date: Mon, 28 May 2007 15:22:15 +0900 (JST)
From: HASHI Hiroaki <hashiz@tomba.meridiani.jp>
Reply-To: HASHI Hiroaki <hashiz@tomba.meridiani.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH]: enable bktr video capture multimedia/ffmpeg
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         113077
>Category:       ports
>Synopsis:       [PATCH]: enable bktr video capture multimedia/ffmpeg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 28 06:40:04 GMT 2007
>Closed-Date:    Sat Jun 02 03:48:35 GMT 2007
>Last-Modified:  Sat Jun  2 03:50:06 GMT 2007
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon May 28 06:40:15 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113077 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Sat Jun 2 03:48:22 UTC 2007 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113077 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113077: commit references a PR
Date: Sat,  2 Jun 2007 03:48:19 +0000 (UTC)

 mezz        2007-06-02 03:48:14 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/ffmpeg    Makefile 
   Log:
   Enable bktr by default with WITHOUT_BKTR to disable it.
   
   PR:             ports/113077
   Submitted by:   HASHI Hiroaki <hashiz@tomba.meridiani.jp>
   
   Revision  Changes    Path
   1.61      +10 -2     ports/multimedia/ffmpeg/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
