[MPlayer-users] TV

Nicolas Velasquez spidyno at yahoo.es
Sun May 5 19:41:02 CEST 2002


I'm having some problems watching and capturing TV,
here's a list:

1. I've tried but couldn't change the norm to NTSC.
   (xawtv changes it without problem)
2. mplayer works with "-vop format=i420", but mencoder
                                       
   doesn't and also tried: "outfmt=i420 -vc rawi420".
3. mplayer plays audio, but mencoder doesn't encode it
    
   (with some versions of mplayer it had worked)

here are some outputs:
=========================================================================================================================================================================
MPlayer CVS-020503-09:00-2.95.3 (C) 2000-2002 Arpad
Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird
(Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1
SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow
3DNowEx
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or
directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio
& 91 video codecs
CommandLine: '-tv'
'on:driver=v4l:width=640:height=480:device=/dev/video0:input=0:norm=NTSC:chanlist=us-cable'
'-vop' 'format=i420' '-npp' 'lb' '-fs' '-v'
get_path('font/font.desc') ->
'/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file:
/usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized
OnScreenDisplay
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf
: No such file or directory
Falling back on default (hardcoded) config
Playing TV
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(Askey/Typhoon/Anubis Ma)
 Capabilites: capture tuner overlay clipping frameram
scales 
 Device type: 235
 Supported sizes: 32x32 => 768x480
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1,
norm:1)
  1: Composite1: audio camera  (tuner:0, norm:1)
  2: S-Video: audio camera  (tuner:0, norm:1)
 Audio devices: 1
  0: TV: muted=no volume=100 bass=0 treble=0 balance=0
mode=mono
 channels: 1, samplerate: 44100, samplesize: 220,
format: Signed 16-bit (Little-Endian)
mbuf: size=4259840, frames=2
ioctl dsp getfmt: 0
Supported formats: 10
ioctl dsp setfmt: 0
ioctl dsp stereo: 0 (req: 0)
ioctl dsp speed: 0
ioctl dsp trigger: 0
trigger: 1
ioctl dsp trigger: 0
ioctl dsp getblocksize: 0
blocksize: 16384
Requested width: 640
Requested height: 480
Using input 'Television'
Selected norm: NTSC
Tuner isn't capable to set norm!
Selected channel list: us-cable (including 133
channels)
stream_seek: WARNING! Can't seek to 0x0 !
Detected TV! ;-)
==> Found video stream: 0
Output format: Planar YV12
fps: 25.000000, frametime: 0.040000
Output size: 640x480
palette: 15, depth: 12, bytesperline: 960
Picture values:
 Depth: 12, Palette: 15 (Format: Planar YV12)
 Brightness: 32768, Hue: 32768, Colour: 32506,
Contrast: 27624
[V] filefmt:9  fourcc:0x32315659  size:640x480 
fps:25.00  ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 640x480 with depth 24 and 32
bits/pixel (":0" => local display)
Opening video filter 'format' with args 'i420'...
==========================================================================
Trying to force video codec driver family 4 ...
Opening Video Decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480, Planar YV12  
[PP] Sorry, postprocessing is not available
[format] query(Planar YV12) -> 0
[format] query(Planar I420) -> 3
vo_debug: query(Planar YV12) returned 0xC37 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(640x480->640x480,flags=1,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0  
REQ: flags=0x437  req=0x0  
VO: [xv] 640x480 => 640x480 Planar I420 fs 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 77 for hw scaling
vo_xv: reset gamma correction
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 640 dh: 480
[xv-fs] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 640 dh: 480
Detected video codec: [rawyv12] drv:8 prio:0 (RAW
YV12)
==========================================================================

sdfvo_xv: get: XV_DOUBLE_BUFFER = 1
vo_xv: assume: XV_DOUBLE_BUFFER = 2000
vo_xv: get: XV_COLORKEY = 66046
vo_xv: assume: XV_COLORKEY = 31
vo_xv: get: XV_AUTOPAINT_COLORKEY = 1
vo_xv: assume: XV_AUTOPAINT_COLORKEY = 2000
vo_xv: get: XV_BRIGHTNESS = 0
vo_xv: assume: XV_BRIGHTNESS = 0
vo_xv: get: XV_CONTRAST = 4096
vo_xv: assume: XV_CONTRAST = 0
vo_xv: get: XV_SATURATION = 4096
vo_xv: assume: XV_SATURATION = 0
vo_xv: get: XV_HUE = 0
vo_xv: assume: XV_HUE = -1000
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [pp] Exporting mp_image_t, 640x480x12bpp YUV
planar, 460800 bytes
*** [format] Allocating mp_image_t, 640x480x12bpp YUV
planar, 460800 bytes
using npp filters 0x20000/0x20000
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 640 dh: 480
[xv-fs] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 640 dh: 480
V:   0.0   46   0% 19%  0.0% 0 0 0%
*** free_stream() called ***

Exiting... (Quit)

MENCODER:


MEncoder CVS-020503-09:00-2.95.3 (C) 2000-2002 Arpad
Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird
(Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1
SSE: 0 SSE2: 0
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or
directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio
& 91 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file:
/usr/local/share/mplayer/font/font.desc
File not found: 'frameno.avi'
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(Askey/Typhoon/Anubis Ma)
 Capabilites: capture tuner overlay clipping frameram
scales 
 Device type: 235
 Supported sizes: 32x32 => 768x480
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1,
norm:1)
  1: Composite1: audio camera  (tuner:0, norm:1)
  2: S-Video: audio camera  (tuner:0, norm:1)
 Audio devices: 1
ioctl dsp getfmt: 0
Supported formats: 10
ioctl dsp setfmt: 0
ioctl dsp stereo: 0 (req: 0)
ioctl dsp speed: 0
ioctl dsp trigger: 0
trigger: 1
ioctl dsp trigger: 0
ioctl dsp getblocksize: 0
blocksize: 16384
Requested width: 512
Requested height: 384
Using input 'Television'
Selected norm: NTSC
Tuner isn't capable to set norm!
Selected channel list: europe-east (including 133
channels)
success: format: 0  data: 0x0 - 0x0
Detected TV! ;-)
Output format: Planar YV12
fps: 25.000000, frametime: 0.040000
Output size: 512x384
palette: 15, depth: 12, bytesperline: 768
Picture values:
 Depth: 12, Palette: 15 (Format: Planar YV12)
 Brightness: 32768, Hue: 32768, Colour: 32506,
Contrast: 27624
[V] filefmt:9  fourcc:0x32315659  size:512x384 
fps:25.00  ftime:=0.0400
libavcodec: CPU flags: mmx mmxext 3dnow
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening Video Decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 512 x 384, Planar YV12  
[PP] Sorry, postprocessing is not available
Movie-Aspect is undefined - no prescaling applied.
REQ: flags=0x401  req=0x0  
REQ: flags=0x401  req=0x0  
videocodec: libavcodec (512x384 fourcc=58564944
[DIVX])
Detected video codec: [rawyv12] drv:8 prio:0 (RAW
YV12)
==========================================================================
Writing AVI header...
Forcing audio preload to 0, max pts correction to 0
*** [pp] Exporting mp_image_t, 512x384x12bpp YUV
planar, 294912 bytes
*** [lavc] Allocating mp_image_t, 512x384x12bpp YUV
planar, 294912 bytes
*** [expand] Direct Rendering mp_image_t,
512x384x12bpp YUV planar, 294912 bytes
Pos: 265.1s   6627f ( 0%)  29fps Trem:   0min   0mb 
A-V:0.000 [794:0]
Writing AVI index...
Fixup AVI header...

Video stream:  794.121 kbit/s  (99265 bps)  size:
26313191 bytes  265.080 secs  6627 frames

*** free_stream() called ***




_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger
Comunicación instantánea gratis con tu gente.
http://messenger.yahoo.es




More information about the MPlayer-users mailing list