[MPlayer-users] "Black & white" playback through bt878 s-video input

darkshadow at shaw.ca darkshadow at shaw.ca
Wed Oct 15 01:59:48 CEST 2003


On Tue, 14 Oct 2003 15:53:38 -0700
"Joseph N. Hall" <joseph at 5sigma.com> wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Ick. I am seeing the dreaded "black and white" bt878 tv playback.
> This occurs only, at the moment, in s-video NTSC playback.
> 
> Kernel is up2date-d vanilla rh9 (still building out this box):
> 
> Linux localhost.localdomain 2.4.20-20.9smp #1 SMP Mon Aug 18 11:18:01 EDT 2003 i686 athlon i386 GNU/Linux
> 
> I am using an AGP Radeon AIW something-or-other with the ATI.2
> X server and a Leadtek Winfast XP 2000 (I think).  My capture
> device is the latter.  I am using the AIW just for the overlay,
> at least for now.
> 
> Relevant output from lspci -vvv:
> 
> 01:05.0 VGA compatible controller: ATI Technologies Inc Radeon R100 QD [Radeon 64 DDR] (prog-if 00 [VGA])
>         Subsystem: ATI Technologies Inc Radeon AIW
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B+
>         Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 66 (2000ns min), cache line size 10
>         Interrupt: pin A routed to IRQ 18
>         Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
>         Region 1: I/O ports at 2000 [size=256]
>         Region 2: Memory at e8000000 (32-bit, non-prefetchable) [size=512K]
>         Expansion ROM at <unassigned> [disabled] [size=128K]
>         Capabilities: [58] AGP version 2.0
>                 Status: RQ=47 SBA+ 64bit- FW- Rate=x1,x2,x4
>                 Command: RQ=0 SBA+ AGP- 64bit- FW- Rate=<none>
>         Capabilities: [50] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>  
> 
> 02:06.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
>         Subsystem: LeadTek Research Inc.: Unknown device 6606
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (4000ns min, 10000ns max)
>         Interrupt: pin A routed to IRQ 18
>         Region 0: Memory at f8000000 (32-bit, prefetchable) [size=4K]
>         Capabilities: [44] Vital Product Data
>         Capabilities: [4c] Power Management version 2
>                 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>                                                                                 
> Here's a "black and white" command line:
> 
> # mplayer tv:// -tv device=/dev/video0:driver=v4l:input=2:width=640:height=480:norm=ntsc
> MPlayer 1.0pre2-RPM-3.1 (C) 2000-2003 MPlayer Team
>  
> CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2000 MHz (Family: 6, Stepping: 1)
> Detected cache-line size is 64 bytes
> SSE supported but disabled
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
>  
> Reading config file /etc/mplayer/mplayer.conf
> Reading config file /root/.mplayer/config
> Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No
> such file or directory
> Reading /etc/mplayer/codecs.conf: 61 audio & 157 video codecs
> font: can't open file: /root/.mplayer/font/font.desc
> font: can't open file: /usr/share/mplayer/font/font.desc
> Using Linux hardware RTC timing (1024Hz).
> Can't open input config file /root/.mplayer/input.conf: No such file or directory
> Input config file /etc/mplayer/input.conf parsed: 52 binds
>  
> Playing tv://
> Cache fill:  0.00% (0 bytes)    TV detected! ;-)
> Selected driver: v4l
>  name: Video 4 Linux input
>  author: Alex Beregszaszi
>  comment: under development
> Selected device: BT878(Leadtek WinFast 2000/ W)
>  Capabilites: capture tuner overlay clipping frameram scales
>  Device type: 235
>  Supported sizes: 48x32 => 768x480
>  Inputs: 4
>   0: Television: tuner audio tv camera  (tuner:1, norm:ntsc)
>   1: Composite1: audio camera  (tuner:0, norm:ntsc)
>   2: S-Video: audio camera  (tuner:0, norm:ntsc)
>   3: Composite3: audio camera  (tuner:0, norm:ntsc)
> Card reports an unknown audio mode !
> Trying two channel audio. Use forcechan to override.
> Using input 'S-Video'
> Selected input hasn't got a tuner!
> vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
> Disabling DPMS
> ==========================================================================
> Opening video decoder: [raw] RAW Uncompressed Video
> VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 640x480 => 640x480 Planar YV12
> Selected video codec: [rawyv12] vfm:raw (RAW YV12)
> ==========================================================================
> Audio: no sound
> Starting playback...
> V:  12.0  361   0% 15%  0.0% 0 0 0%
> 
> Here is a "color" command line:
> 
> # mplayer tv:// -tv device=/dev/video0:driver=v4l:input=1:width=640:height=480:norm=ntsc
> MPlayer 1.0pre2-RPM-3.1 (C) 2000-2003 MPlayer Team
>  
> CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2000 MHz (Family: 6, Stepping: 1)
> Detected cache-line size is 64 bytes
> SSE supported but disabled
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
>  
> Reading config file /etc/mplayer/mplayer.conf
> Reading config file /root/.mplayer/config
> Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No
> such file or directory
> Reading /etc/mplayer/codecs.conf: 61 audio & 157 video codecs
> font: can't open file: /root/.mplayer/font/font.desc
> font: can't open file: /usr/share/mplayer/font/font.desc
> Using Linux hardware RTC timing (1024Hz).
> Can't open input config file /root/.mplayer/input.conf: No such file or directory
> Input config file /etc/mplayer/input.conf parsed: 52 binds
>  
> Playing tv://
> Cache fill:  0.00% (0 bytes)    TV detected! ;-)
> Selected driver: v4l
>  name: Video 4 Linux input
>  author: Alex Beregszaszi
>  comment: under development
> Selected device: BT878(Leadtek WinFast 2000/ W)
>  Capabilites: capture tuner overlay clipping frameram scales
>  Device type: 235
>  Supported sizes: 48x32 => 768x480
>  Inputs: 4
>   0: Television: tuner audio tv camera  (tuner:1, norm:ntsc)
>   1: Composite1: audio camera  (tuner:0, norm:ntsc)
>   2: S-Video: audio camera  (tuner:0, norm:ntsc)
>   3: Composite3: audio camera  (tuner:0, norm:ntsc)
> Card reports an unknown audio mode !
> Trying two channel audio. Use forcechan to override.
> Using input 'Composite1'
> Selected input hasn't got a tuner!
> vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
> Disabling DPMS
> ==========================================================================
> Opening video decoder: [raw] RAW Uncompressed Video
> VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 640x480 => 640x480 Planar YV12
> Selected video codec: [rawyv12] vfm:raw (RAW YV12)
> ==========================================================================
> Audio: no sound
> Starting playback...
>   MJP: returning!  12%  0.0% 0 0 0%
> Successfully enabled DPMS
>  
> Exiting... (Quit)


I had that happen once if you notice there is a new input just try changing to input=3

after a later upgrade input=2 worked again and 3 was gone



More information about the MPlayer-users mailing list