[Mplayer-felhasznalok] mencoderr + v4l2

Robert L. RAKSI lobz at t-sys.hu
Fri Feb 7 20:45:45 CET 2003


On Thu, Feb 06, 2003 at 11:58:31PM +0100, Arpi wrote:
> Hi,
> 
> > Udv!
> > 
> > Erdeklodnek hogy hogy all az mencoder az uj v4l2-es api-val? Egy
> 
> nemreg volt 1 patch a dev-eng listan, aztan vegulis mar nemtom
> mer nem kerult be. asszem a-v sync bajok voltak vele, utana
> meg imho elfelejtodott.

Kiprobaltam a patch-eket a 0.90-rc3-on.
/usr/local/mpl/bin/mplayer  -tv on:driver=v4l2:input=0:chanlist=europe-west:amode=1:width=640:height=480:channel=e8

Eredmeny: a kep fejjel lefele van es nincs hang de megy :)
Van egy ilyen sor a logban: VO: [xv] 640x480 => 640x480 BGR 24-bit [flip]
Nem a flip miatt van fejjel lefele? :)

==================== a log ==================
MPlayer 0.90rc3-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

[[[init getch2]]]

Playing TV channel e8
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
TV detected! ;-)
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de <http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng>>
 comment: first try, more to come ;-)
v4l2: video fd: /dev/video: 5
Selected device: LifeView FlyVIDEO3000
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
 Current input: 0
 Format GREY   ( 8 bits, 8 bpp gray): Planar Y800
 Format RGB555 (16 bits, 15 bpp RGB, le): RGB 15-bit
 Format RGB555X (16 bits, 15 bpp RGB, be): Unknown
 Format RGB565 (16 bits, 16 bpp RGB, le): RGB 16-bit
 Format RGB565X (16 bits, 16 bpp RGB, be): Unknown
 Format BGR24  (24 bits, 24 bpp RGB, le): BGR 24-bit
 Format BGR32  (32 bits, 32 bpp RGB, le): BGR 32-bit
 Format RGB32  (32 bits, 32 bpp RGB, be): RGB 32-bit
 Format YUYV   (16 bits, 4:2:2 packed, YUYV): Packed YUY2
 Format UYVY   (16 bits, 4:2:2 packed, UYVY): Packed UYVY
 Format YUV422P (16 bits, 4:2:2 planar, Y-Cb-Cr): Planar 422P
 Format YUV420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar I420
 Current format: BGR24
v4l2: set format: YVU420
v4l2: ioctl set format failed: Invalid argument
Selected norm: pal
v4l2: set width: 640
v4l2: ioctl set width failed: Invalid argument
v4l2: set height: 480
v4l2: ioctl set height failed: Invalid argument
Selected channel list: europe-west (including 104 channels)
Requested channel: e8
Selected channel: E8 (freq: 196.250)
Current frequency: 3140 (196.250)
Current frequency: 3140 (196.250)
==> Found video stream: 0
v4l2: get format: BGR24
v4l2: get fps: 25
v4l2: get width: 640
v4l2: get height: 480
[V] filefmt:9  fourcc:0x42475218  size:640x480  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/lobz/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
vo_debug: query(BGR 24-bit) returned 0x4B5 (i=0) 
VDec: using BGR 24-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x480->640x480,flags=8,'MPlayer',0x42475218)
VO: [xv] 640x480 => 640x480 BGR 24-bit  [flip]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at 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 70 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 480
Selected video codec: [rawbgr24] vfm:raw (RAW BGR24)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks
Starting playback...
*** [vo] Exporting mp_image_t, 640x480x24bpp BGR packed, 921600 bytes
(imgfmt: 42475218, planes: 0,0,0 strides: 0,0,0, chroma: 0x0, shift: h:0,v:0)
OSD chg: 3  V: no  pb:-1  
OSD chg: 2  V: no  pb:-1  
[xv] dx: 0 dy: 0 dw: 640 dh: 480
V:   2.0   51   0% 16%  0.0% 0 0 0%
*** uninit(0xAC9)
uninit video: raw
DEMUXER: freeing demuxer at 0x83fb1f8  
v4l2: 52 frames successfully processed, 0 frames dropped.
v4l2: up to 0 audio frames buffered.
DEMUXER: freeing sh_video at 0x83f88e0  
Successfully enabled DPMS

[[[uninit getch2]]]
vo: uninit ...

Exiting... (Quit)
max framesize was 921600 bytes

-- 
                                       Robert L. RAKSI
 
   -- The Microsoft of Borg: Patches Are Futile! --



More information about the MPlayer-felhasznalok mailing list