WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TV on TC  (Read 2491 times)

Offline kole

  • Newbie
  • *
  • Posts: 3
TV on TC
« on: October 16, 2009, 02:27:47 PM »
I am trying to cofigure TV and I find those articles on forum outdated it looks like some things are missing or they are meged.
Is there any way we can refresh suject. Ihave loaded everything i cold find but I don't know what to do with it.
I have saa7133 Generic card registred as video1 [v4l2]

Offline kole

  • Newbie
  • *
  • Posts: 3
Re: TV on TC
« Reply #1 on: October 18, 2009, 04:18:40 PM »
Just before I go to sleep quick update:

I have read somewhere that the beuty of Linux is that you dont have to remeber commands becoase you can always refer to detaild help so I got hoocked.
I went to read help on mplayer..... there is more text there then i have read in my life, on top of that I have no idea what it is about.
Anyhow, there is no spellchecker on TC or I haven't figured it aut yet, so I don't know what I am talking about, but when I boot with my camera pluged in and I try to watch TV Iget following:



tc@box:~$ mplayer -tv driver=v4l2: tv://
MPlayer dev-SVN-r27471-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.

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: Camera
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = spca561;
 Current input: 0
 Current format: unknown (0x31363553)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Cannot find codec matching selected -vo and video format 0x31363553.
Read DOCS/HTML/en/codecs.html!
==========================================================================

v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting... (End of file)


And mplayer is running with black screen.
If I boot with camera unpluged I get



tc@box:~$ mplayer -tv driver=v4l2: tv://
MPlayer dev-SVN-r27471-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.

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: UNKNOWN/GENERIC
 Capabilites:  video capture  video overlay  VBI capture device  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 = default;
 Current input: 0
 Current format: BGR24
Selected input hasn't got a tuner!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x480 => 640x480 Planar YV12
[swscaler @ 0xa7ffb60]using unscaled yuv420p -> rgb32 special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
V:   0.0 2981/2981 ??% ??% ??,?% 0 0

With black screen which is aparently moving according to counter.

When I wake up I am going to study mplayer's guide. I'll keep you updated.
« Last Edit: October 23, 2009, 05:12:11 PM by kole »

Offline kole

  • Newbie
  • *
  • Posts: 3
Re: TV on TC
« Reply #2 on: October 24, 2009, 04:08:25 PM »
By TV I mean analog TV from arial and computer TV card. So I find about TV Time and tryed to install it (I have installed aspell.tcz and it looks like my English improuved dramaticaly).
In order to compile it I have installed every C or C++ compiler and library and python and you name it and now I am stacked:

tc@box:~/tvtime/tvtime-1.0.1$ ./configure --prefix=/usr --sysconfdir=/etc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

So I did and it says:

configure:2344: $? = 1
configure:2367: checking for C compiler default output file name
configure:2370: gcc    conftest.c  >&5
gcc: error trying to exec 'as': execvp: No such file or directory
configure:2373: $? = 1
configure: failed program was:
| /* confdefs.h.  */

I have looked for as but I could only find as86. Then I thought: no prpblem,
 I am going to change configure file to point to as86....

My question is: does anybody have beter ides?

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: TV on TC
« Reply #3 on: October 24, 2009, 05:41:40 PM »
have u installed the compiletc extension?
dCore user