By Date: <-- -->
By Thread: <-- -->

Sound from TV directly over PCI bus (saa7134-alsa?)



Uros Vampl wrote:
On 1/31/06, Michail Baikov <lists (at) baikov.com> wrote:
Subj. Is possible?

I has been try get TV sound w/o cables...
Now, only "sox DSP redirect" was help me, but it's not very beauty  :-(

I'm using TVTime+SOX for now, because
My internal soundcard has been /dev/dsp
My second soundcatd has been /dev/dsp1 (not using now)
My "TV soundcard" [saa7134 oss=1 alsa=1] has been /dev/dsp2

Anybody know more WORK (and beauty) methods?


MPlayer can get audio over the PCI bus. Check the v4l wiki entry for the Terratec Cinergy 400 Mobile on how to use it (adjust 'adevice' to suit your configuration):

http://www.linuxtv.org/v4lwiki/index.php/Terratec_Cinergy_400TV_mobile#Viewers

Regards,
Uros

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list


mike (at) localhost ~ $ LANG="en_US.ISO8859-1" gmplayer tv:// -tv driver=v4l2:device=/dev/video0:chanlist=russia:adevice=/dev/dsp2:amode=1:forceaudio:volume=100:norm=SECAM
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
??????? ??x86 CPU ? ????? ??????: MMX MMX2 3DNow 3DNowEx SSE SSE2





vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
xscreensaver_disable: Could not find xscreensaver window.
85 ???& 196 ??????
??????????LIRC...
mplayer: could not connect to socket
mplayer: No such file or directory
????????? ?????LIRC!
? ? ?????????? ??????????
[GUI] ???? ??????: pp
?????? tv://.
Cache fill: 0.00% (0 bytes) ??? TV! ;-)
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski (at) zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: GoTView 7135 PCI
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-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
inputs: 0 = Television; 1 = TV (mono only); 2 = Composite1; 3 = S-Video;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : STEREO
xscreensaver_disable: Could not find xscreensaver window.
???? ??????: [pp]
==========================================================================
???? ??????? [raw] RAW Uncompressed Video
VDec: ??? vo config - 640 x 480 (??????? csp: Planar YV12)
[PP] ???????????? ??????? max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect ? ????- ????????? ? ??????
VO: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
[PP] ???????????? ??????? max q = 6.
??? ?????!!
??? ?c??????...
v4l2: 138 frames successfully processed, 9 frames dropped.


????.. (???


with immediatemode ....

mike (at) localhost ~ $ LANG="en_US.ISO8859-1" mplayer tv:// -tv driver=v4l2:device=/dev/video0:chanlist=russia:adevice=/dev/dsp2:amode=1:forceaudio:volume=100:immediatemode=0:norm=SECAM
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
??????? ??x86 CPU ? ????? ??????: MMX MMX2 3DNow 3DNowEx SSE SSE2





vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
xscreensaver_disable: Could not find xscreensaver window.
85 ???& 196 ??????
??????????LIRC...
mplayer: could not connect to socket
mplayer: No such file or directory
????????? ?????LIRC!
? ? ?????????? ??????????
[GUI] ???? ??????: pp
?????? tv://.
Cache fill: 0.00% (0 bytes) ??? TV! ;-)
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski (at) zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: GoTView 7135 PCI
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-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
inputs: 0 = Television; 1 = TV (mono only); 2 = Composite1; 3 = S-Video;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : STEREO
==========================================================================
???? ??????? [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
xscreensaver_disable: Could not find xscreensaver window.
???? ??????: [pp]
==========================================================================
???? ??????? [raw] RAW Uncompressed Video
VDec: ??? vo config - 640 x 480 (??????? csp: Planar YV12)
[PP] ???????????? ??????? max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect ? ????- ????????? ? ??????
VO: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
[PP] ???????????? ??????? max q = 6.
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
alsa-init: 1 soundcard found, using: hw:0,0
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le...
??? ?c??????...
alsa-play: xrun of at least 170.768 msecs. resetting stream,?% 0 4 0%
alsa-play: xrun of at least 51.494 msecs. resetting stream?,?% 6 4 0%
alsa-play: xrun of at least 316.154 msecs. resetting stream8.4% 16 0 0%
alsa-play: xrun of at least 180.196 msecs. resetting stream3.9% 25 0 0%
v4l2: 62 frames successfully processed, 11 frames dropped.93.6% 27 0 0%
alsa-uninit: pcm closed


????.. (???
mike (at) localhost ~ $

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list