LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-24-2022, 08:47 PM   #1
Red Guy
Member
 
Registered: May 2002
Location: Tampico, Tamaulipas, México
Distribution: Mandrake 9.0
Posts: 42

Rep: Reputation: 15
No sound with tvtuner


Hi!, I did a clean install of Slackware 15, since 14.2 I had problems with pulseaudio because never I did get sound, in the time I disabled it and used alsa instead.

I run mplayer for view tv with this:
Code:
mplayer tv:// -tv driver=v4l2:norm=NTSC:chanlist=us-bcast:width=640:amode=1:alsa=1:adevice=hw.0,0:forceaudio:volume=100:height=480:input=2:channel=3:device=/dev/video0
I get this:

Code:
MPlayer 20210418-10.3.0 (C) 2000-2021 MPlayer Team

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: Beholder BeholdTV 407 FM
 Tuner cap: STEREO LANG1 LANG2
 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 = S-Video; 1 = Composite1; 2 = Television;
 Current input: 2
 Current format: YVU420
v4l2: current audio mode is : STEREO
Selected channel: 3 (freq: 61.250)
X11 error: BadMatch (invalid parameter attributes)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12 
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
pulseaudio -vvv i get:

Code:
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operación no permitida
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operación no permitida
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No existe el fichero o el directorio
I: [pulseaudio] main.c: This is PulseAudio 15.0
D: [pulseaudio] main.c: Compilation CFLAGS: Not yet supported on meson
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.15.19 #1 SMP PREEMPT Wed Feb 2 01:50:51 CST 2022
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: All asserts enabled.
I: [pulseaudio] main.c: Machine ID is ba8d0488ec32adb47a91674c620091fa.
I: [pulseaudio] main.c: Session ID is 1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/arturo/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib64/pulse-15.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: Ha fallado pa_pid_file_create().
If I run alsamixer and I try to unlock Line In I not get sound. I need to disable pulseaudio again to get audio in tv tuner?

Last edited by Red Guy; 02-25-2022 at 12:13 AM.
 
Old 02-25-2022, 10:51 AM   #2
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 336

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
You can keep pulseaudio running and tell mplayer to youtput its audio to pulse using "-ao pulse"
If pulseaudio is locking your tvtuner alsa audio input, you should be able to set the input to "off" on pulseaudio using pavucontrol
 
Old 02-26-2022, 01:05 AM   #3
Red Guy
Member
 
Registered: May 2002
Location: Tampico, Tamaulipas, México
Distribution: Mandrake 9.0
Posts: 42

Original Poster
Rep: Reputation: 15
With -ao pulse:

Code:
mplayer tv:// -tv driver=v4l2:norm=NTSC:chanlist=us-bcast:width=640:height=480:input=2:channel=3:device=/dev/video0 -ao pulse
I get:

Code:
MPlayer 20210418-10.3.0 (C) 2000-2021 MPlayer Team

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: Beholder BeholdTV 407 FM
 Tuner cap: STEREO LANG1 LANG2
 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 = S-Video; 1 = Composite1; 2 = Television;
 Current input: 2
 Current format: YVU420
v4l2: current audio mode is : MONO
Selected channel: 3 (freq: 61.250)
X11 error: BadMatch (invalid parameter attributes)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12 
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
also, in volume controls did not show mplayer instance
 
  


Reply



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
Default TVTuner software in Fedora Core 3 can't detect the CaTV signal jimmyZS Linux - Hardware 2 06-17-2005 03:53 AM
Serious Tvtuner Problem PLEASE HELP ME! - Leadtek Winfast 2000 XP Deluxe Jonescity Mandriva 2 10-24-2004 02:58 AM
which tvtuner program to use? jag Slackware 2 10-16-2004 05:30 AM
tvtuner+sblive=no sound in kde tenchi Slackware 4 10-07-2004 04:38 AM
Serious Tvtuner Problem PLEASE HELP ME! - Leadtek Winfast 2000 XP Deluxe Jonescity Linux - Hardware 2 08-10-2004 10:16 PM

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

All times are GMT -5. The time now is 12:08 AM.

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