From owner-freebsd-multimedia Tue Dec 17 3:58:14 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3939637B415 for ; Tue, 17 Dec 2002 03:58:11 -0800 (PST) Received: from fuego.fadesa.es (fuego.fadesa.es [195.55.55.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AC8343ED4 for ; Tue, 17 Dec 2002 03:58:10 -0800 (PST) (envelope-from freebsd@fadesa.es) Received: (from mail@fadesa.es) by fuego.fadesa.es (8.9.3/8.8.8) id MAA32199 for ; Tue, 17 Dec 2002 12:27:33 +0100 Message-ID: <3DFF0AAB.73BA204@fadesa.es> Date: Tue, 17 Dec 2002 12:29:47 +0100 From: "=?iso-8859-1?Q?Jos=E9?= M. =?iso-8859-1?Q?Fandi=F1o?=" Reply-To: freebsd@fadesa.es Organization: Inmobiliaria FADESA X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.19-grsec i686) X-Accept-Language: gl, en, es MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.ORG Subject: mplayer/mencoder and bktr Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Logged: Logged by tierra.fadesa.es as MAA26580 at Tue Dec 17 12:25:48 2002 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, A long standing question that I have is about capturing from the bktr device using mencoder (from the mplayer package). Until now I have tried several versions of mplayer without any luck. Even using the patch from Steve O'Hara, which provides YUV colorspace conversion for the bktr driver, didn't make any difference. below I attach the result from running mplayer under Gnu/Linux and FreeBSD, seems like a problem between mplayer and the bktr driver about which raw video codec to use. does anybody have a working mplayer/mencoder under FreeBSD 4.7??? thank you very much. mplayer output with bktr (FreeBSD 4.7-RELEASE): X11 opening display: :0.0 vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F) vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 640 x 480 (preferred csp: Packed UYVY) VDec: using Packed UYVY as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (640x480->640x480,flags=0,'MPlayer',0x59565955) VO: [xv] 640x480 => 640x480 Packed UYVY VO: Description: X11/Xv VO: Author: Gerd Knorr and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x59565955 (UYVY) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x30323449 (I420) planar using Xvideo port 55 for hw scaling [xv] dx: 0 dy: 0 dw: 640 dh: 480 Selected video codec: [rawuyvy] vfm:raw (RAW UYVY) ========================================================================== mplayer output with bttv (Linux kernel 2.4.19): X11 opening display: :0.0 vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F) vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 640 x 480 (preferred csp: Planar YV12) [PP] Using external postprocessing filter, max q = 6 VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (640x480->640x480,flags=5,'MPlayer',0x32315659) REQ: flags=0xC37 req=0x0 REQ: flags=0x437 req=0x0 VO: [xv] 640x480 => 640x480 Planar YV12 [fs] [zoom] VO: Description: X11/Xv VO: Author: Gerd Knorr and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x59565955 (UYVY) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x30323449 (I420) planar using Xvideo port 59 for hw scaling [xv-fs] dx: 0 dy: 0 dw: 1024 dh: 768 [xv] dx: 0 dy: 0 dw: 1024 dh: 768 Selected video codec: [rawyv12] vfm:raw (RAW YV12) ========================================================================== mplayer -vc help | grep RAW rawrgb32 raw working RAW RGB32 rawrgb24 raw working RAW RGB24 rawrgb16 raw working RAW RGB16 rawbgr32 raw working RAW BGR32 rawbgr24 raw working RAW BGR24 rawbgr16 raw working RAW BGR15 rawbgr15 raw working RAW BGR15 rawbgr8 raw working RAW BGR8 rawbgr1 raw working RAW BGR1 rawyuy2 raw working RAW YUY2 rawuyvy raw working RAW UYVY rawyv12 raw working RAW YV12 rawi420 raw working RAW I420 rawyvu9 raw working RAW YVU9 -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d- s+:+() a- C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w--- O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++ G++ e- h+(++) !r !z ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message