Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2002 12:29:47 +0100
From:      "=?iso-8859-1?Q?Jos=E9?= M. =?iso-8859-1?Q?Fandi=F1o?=" <freebsd@fadesa.es>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   mplayer/mencoder and bktr
Message-ID:  <3DFF0AAB.73BA204@fadesa.es>

next in thread | raw e-mail | index | archive | help
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 <kraxel@goldbach.in-berlin.de> 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 <kraxel@goldbach.in-berlin.de> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DFF0AAB.73BA204>