On Wed, Mar 12, 2003 at 02:05:26PM +0100, hermann pitton wrote:
> Es schrieb "Robert L. RAKSI":
> > On Wed, Mar 12, 2003 at 07:48:05PM +1000, David Findlay wrote:
> > > Anyone found a solution for the green screen with mplayer 0.9rc4 and saa7134
> > > 0.2.5? There's a program I'd like to record tonight with mencoder but I can't
> > > get a decent res.... :-) It works at low res, but not 720x576. Thanks,
> > 
> > Try these patches:
> > http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-January/014792.html
> > http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-January/014904.html
> > 
> > As I recall I used it with saa7134-0.2.4 + 2.4.20kernel, maybe it helps.
> >
>  
> Hi,
> this really does interest me too. Did expect it is in there since rc3.
> http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-January/014798.html
> 
> Wan Tat Chee has reported the 150K limit for rc4 and also it came up
> here that audio doesn't work on recording. So I'm still happy with my
> old one.
> 
> Robert can you view or even record at higher resolutions on new v4l2
> with these patches? (Means not just using the f key for scaling.)  
> Can not break through 384x288 sufficiently.


Here is what I tried (as you will see, it couldnt set up the width and height given in 
the parameter list and the default is 640x480, picture is ok but no sound):

------------------------------
/usr/local/mplayer-v4l2/bin/mplayer -v -tv 
on:driver=v4l2:input=0:chanlist=europe-west:amode=1:width=720:height=576:channel=e6 
-vop pp=lb
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/mplayer/share/locale


MPlayer 0.90rc4-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

Reading config file /usr/local/mplayer/etc/mplayer/mplayer.conf
Reading config file /home/lobz/.mplayer/config
Reading /home/lobz/.mplayer/codecs.conf: can't open '/home/lobz/.mplayer/codecs.conf': 
No such file or directory
Reading /usr/local/mplayer/etc/mplayer/codecs.conf: 50 audio & 135 video codecs
CommandLine: '-v' '-tv' 
'on:driver=v4l2:input=0:chanlist=europe-west:amode=1:width=720:height=576:channel=e6' 
'-vop' 'pp=lb'
get_path('font/font.desc') -> '/home/lobz/.mplayer/font/font.desc'
font: can't open file: /home/lobz/.mplayer/font/font.desc
Font /usr/local/mplayer/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc 
should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/lobz/.mplayer/input.conf'
Can't open input config file /home/lobz/.mplayer/input.conf : No such file or directory
Parsing input config file /usr/local/mplayer/etc/mplayer/input.conf
Input config file /usr/local/mplayer/etc/mplayer/input.conf parsed : 52 binds
get_path('TV channel e6.conf') -> '/home/lobz/.mplayer/TV channel e6.conf'

Playing TV channel e6
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0.00% (0 bytes)    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 ;-)
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: 720
v4l2: ioctl set width failed: Invalid argument
v4l2: set height: 576
v4l2: ioctl set height failed: Invalid argument
Selected channel list: europe-west (including 104 channels)
Requested channel: e6
Selected channel: E6 (freq: 182.250)
Current frequency: 2916 (182.250)
Current frequency: 2916 (182.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)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
Disabling DPMS
DPMSDisable stat: 1
Opening video filter: [pp=lb]
[vo] query(Planar YV12) -> 3
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp vo
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale pp vo
VDec: using BGR 24-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x480->640x480,flags=0,'MPlayer',0x42475218)
SwScaler: using unscaled BGR 24-bit -> Planar YV12 special converter
REQ: flags=0xC37  req=0x0  
REQ: flags=0x437  req=0x0  
VO: [xv] 640x480 => 640x480 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <[EMAIL PROTECTED]> 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...
*** [scale] Exporting mp_image_t, 640x480x24bpp BGR packed, 921600 bytes
*** [pp] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
*** [vo] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 480
DEMUXER: freeing demuxer at 0x840d378  
v4l2: 47 frames successfully processed, 0 frames dropped.
v4l2: up to 0 audio frames buffered.
DEMUXER: freeing sh_video at 0x840df60  
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)
------------------------------

Sorry for the long log. The result is the same with mencoder, good picture but no 
sound. These patches are not included in rc4 nor rc3.


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



--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to