I am trying to get TV on PC. I wrote a script to use mplayer which worked great but haven't used it in some time. I put a known to be working settop box between the antenna and the TV input (only one) on the board. When ran the script I get a green field but not audio or video. When I put the script into its "avmgr" enclosure (which allows selection various things to do with mplayer) my recall is that I was careful to make NO changes. This enclosure allows for cut/paste of video, playing video, taking pictures, etc. but this was and is just OTA TV in and video/audio out. Well so I thought.
Here is the code used to produce TV for mplayer:
Code:
vidv=video1
TV="-tv driver=v4l2:device=/dev/${vidv}:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=3:alsa:audiorate=44100:amode=0"
PIC="-hue 0 -contrast 15 -brightness 15 -saturation 0"
DASH="-ao alsa,oss, -vo xv,xll,dga, -aspect 4:3"
mplayer tv:// $TV $PIC $DASH
The line breaks are due to the line not fitting in this width.
What it generates is this:
Code:
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: BT878 video (Hauppauge (bt878))
Tuner cap:
Tuner rxs: MONO
Capabilities: video capture video overlay VBI capture device tuner read/write streaming
supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = PAL; 5 = PAL-BG; 6 = PAL-H; 7 = PAL-I; 8 = PAL-DK; 9 = PAL-M; 10 = PAL-N; 11 = PAL-Nc; 12 = PAL-60; 13 = SECAM; 14 = SECAM-B; 15 = SECAM-G; 16 = SECAM-H; 17 = SECAM-DK; 18 = SECAM-L; 19 = SECAM-Lc;
inputs: 0 = Television; 1 = Composite1; 2 = S-Video; 3 = Composite3;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : MONO
Selected channel: 3 (freq: 61.250)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
V: 0.0 992/992 ??% ??% ??,?% 0 0
v4l2: 994 frames successfully processed, -993 frames dropped.
Checked and alsamixer shows the audio is NOT muted.
I am getting this from grepping bttv on dmesg:
bttv0: timeout: drop=0 irq=0/0, risc=3500603c, bits: FMTCHG VSYNC HSYNC OFLOW HLOCK VPRES RISCI
but don't know what it means.
I am hopeful that someone more familiar with mplayer commands than I can see what might be causing the lack of video and audio.