saa7133 tv card: audio only via sox
Hi all,
I recently popped a Pinnacle TV ard in my Fedora Core 5 system. The kernel recognized it and loaded and appropriate module. Video works fine; image quality is very good with tvtime. But getting audio requires a workaround. For some reason, the analog patch cable doesn't work and I have to use sox to redirect audio output: Code:
sox -r 32000 -w -t ossdsp /dev/dsp2 -t ossdsp /dev/dsp How have others gotten sound working with Pinnacle cards? How does sound work with the Haupaugge cards? Via the audio patch cable or?... Thanks. |
I am not a mind reader, so what model from Pinnacle?
I wrote a script so tvtime version 1.0.2 saves the volume every time it exits. Adjust the script below for your region and setup. Code:
#!/bin/sh I am using Lifeview FlyVideo 3000 (NTSC) and it works through the loop cable or patch cable. |
Sorry for the long delay in replying to this post. I have had mixed luck in getting sound working with the Pinnacle card.
Quote:
Quote:
Code:
tvtime -x /dev/mixer:line -f europe -d /dev/video0 -M -g 356x267 Quote:
Following the instructions on this page http://www.linuxtv.org/v4lwiki/index.php/Talk:Em2820 I try mplayer. First I unmute: Code:
v4lctl -c /dev/video0 volume mute off Code:
mplayer -tv driver=v4l2:device=/dev/video0:input=0:freq=280.25:norm=PAL:forceaudio:immediatemode=0:amode=0:alsa:adevice=hw.0:width=768:height=576 tv:// Code:
mencoder tv:// -tv driver=v4l2:device=/dev/video0:outfmt=i420:amode=0:input=0:norm=PAL:adevice=hw.0:alsa:forceaudio:immediatemode=0:width=704:height=576:freq=280.25 -ovc lavc -oac lavc -lavcopts acodec=ac3:vcodec=mpeg2video:keyint=50:sc_threshold=0:vrc_eq=1:aspect=4/3:vbitrate=1800 -endpos 03:00:00 -o record.mpg So, I am making some progress, except that the sox command no longer works; when I run this: Code:
sox -r 32000 -w -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp sox: Can't open output file '/dev/dsp': Invalid argumenteven though there most definitely is /dev/dsp. Any idea how to 1) fix the deformities in the mplayer audio outputFWIW, I am running Fedora Core 6 with the 2.6.18-1.2849 kernel. Thanks for any suggestions. |
maybe a fix
Quote:
sox -q -c 2 -s -r 32000 -t alsa hw:1 -t alsa -r 32000 hw:0 I believe you have to change it like : sox -r 32000 -t ossdsp hw:1 -t ossdsp hw:0 I hope this work... |
All times are GMT -5. The time now is 04:09 AM. |