LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-13-2014, 12:03 AM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 276

Rep: Reputation: Disabled
Not getting a picture from Hauppauge WinTV2000 and mplayer


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.

Last edited by nix84; 05-13-2014 at 12:16 AM.
 
Old 05-13-2014, 12:49 AM   #2
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by nix84 View Post
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 have no knowledge about using the Hauppauge hardware but the phrase "but haven't used it in some time" caught my attention. What signal are you expecting from the antenna, the older analog signal in the VHF range that no longer exist or the newer "digital" UHF signals?

Just in case you forgot about the change in broadcasting and you last used it with VHF signals.
 
Old 05-13-2014, 04:25 AM   #3
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
Surprised you missed the settop box which converts digital & UHF OTA TV into the analog which is what is expected by this TV board. Basically this was used before, after that conversion.
So that part is OK and my memory hasn't started to fade yet.

Last edited by nix84; 05-13-2014 at 04:28 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer: picture does not scale bamsesbilledbog Linux - Software 5 11-19-2012 02:38 PM
Snowy picture w/Hauppauge WinTV GO Cereal765 Linux - Hardware 0 11-11-2006 08:11 PM
Mplayer video_out error no picture tshontikidis Linux - Software 7 04-18-2006 08:52 PM
Leadtek wintv2000/xp Expert Mandrake 10 final ted33 Linux - Hardware 7 12-01-2004 09:02 PM
Xine/Mplayer picture scrambled rkfb Slackware 2 02-26-2004 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration