Hi,

I am trying to set freevo 1.8.2 up to use Hauppauge WinTV-HVR1110 for tv on
OpenSUSE 11.0.

I have the card working under Suse and mplayer with no problem and I have
tried to recreate the set up for freevo without any success.

The sound set up is a bit odd for the card, but I followed the advise on
http://en.opensuse.org/Hauppauge_HVR-1110_TV-DVB_card which works.
This requires some sound options with the -tv switch. The mplayer command
line is something like:

mplayer -tv driver=v4l2:norm=PAL:chanlist=<chanlist_file>:alsa:adevice=hw.1:\
audiorate=16000:immediatemode=0:forceaudio:amode=1 tv://

I have recreated this in freevo by using the TV_DRIVER setting in local_conf.py:
    TV_DRIVER =
'v4l2:alsa:adevice=hw.1:immediatemode=0:forceaudio:amode=1:audiorate=16000'
This gives the command line in the freevo main log:
/usr/bin/mplayer -slave -vo xv,sdl,x11, -ao alsa -autosync 100 -nolirc
-nojoystick -autoq 100 -screenw 800 -screenh 600 -fs tv:// -tv
driver=v4l2:alsa:adevice=hw.1:immediatemode=0:forceaudio:amode=1:audiorate=16000:freq=196.250:device=/dev/video0:input=0:norm=PAL:width=640:height=480:outfmt=yuy2

If I copy paste this to a bash shell it works perfectly, but in freevo there
are two problems

   1. It does not set the correct channel, despite the freq option.
   2. There is no sound.

I am totally stuck, so any help would be appreciated!

Thanks,
Stefan

Here is the stderr log from mplayer under freevo:
Option stream url: This URL doesn't have a port part.
The filename option must be an integer:
dev/video0:input=0:norm=PAL:width=640:height=480:outfmt=yuy2
Struct tv, field filename parsing error:
dev/video0:input=0:norm=PAL:width=640:height=480:outfmt=yuy2

Here is the stdout log from mplayer under freevo:
MPlayer dev-SVN-r27637 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) Dual Core Processor 4850e (Family: 15, Model: 107,
Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing tv:// -tv
driver=v4l2:alsa:adevice=hw.1:immediatemode=0:forceaudio:amode=1:audiorate=16000:freq=196.250:device=/dev/video0:input=0
:norm=PAL:width=640:height=480:outfmt=yuy2 .
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <[EMAIL PROTECTED]>
 comment: first try, more to come ;-)
Selected device: Hauppauge WinTV-HVR1110 DVB-T/H
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner
read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-M; 2 = PAL-N; 3 = PAL-Nc; 4 = PAL-60; 5 =
NTSC; 6 = SECAM;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: BGR24
v4l2: current audio mode is : MONO
==========================================================================
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: [xv] 640x480 => 640x480 Planar YV12  [fs]
[VO_XV] Shared memory not supported
Reverting to normal Xv.
[VO_XV] Shared memory not supported
Reverting to normal Xv.
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...

Now the same command under a bash shell renders this output from mplayer:
MPlayer dev-SVN-r27637 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) Dual Core Processor 4850e (Family: 15, Model: 107,
Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <[EMAIL PROTECTED]>
 comment: first try, more to come ;-)
Selected device: Hauppauge WinTV-HVR1110 DVB-T/H
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner
read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-M; 2 = PAL-N; 3 = PAL-Nc; 4 = PAL-60; 5 =
NTSC; 6 = SECAM;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: BGR24
v4l2: current audio mode is : STEREO
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2  [fs]
[VO_XV] Shared memory not supported
Reverting to normal Xv.
[VO_XV] Shared memory not supported
Reverting to normal Xv.
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to