Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Still doesnt work, but when I was playing around with xawtv I ran across the utilities: v4l-config and v4l-info, both with gave some additional output. See if you can make anything of them:
v4l-config output:
v4l-conf: using X11 display :0.0
WARNING: Your X-Server has no DGA support.
mode: 3072x768, depth=24, bpp=32, bpl=12288, base=unknown
/dev/video0 [v4l2]: no overlay support
I noticed the X has not dga support in the output of v4l-config so I commented that line out in my xorg.conf file and restarted x. Now when I start xawtv I get a blue screen (much more appealing than black). Anyways im gonna keep on working at it!
While googling around for a solution, I tried the following command:
xawtv -c /dev/video0 -remote -noxv
And whola it xawtv popped up with the tv stations (After I set it to us-cable),. One thing I noticed was that the Capture paramater was set to "grabdisplay" and not overlay. The thing that is not working is the tv tuner audio... no matter how high I turn the volume up, I hear nothing. This is even after I enabled the tv turner audio paramaters in the kernel. Got any suggestions?
i just thought of something. In Win Xp I have my soundcard set to output audio from the aux connector when I am watching tv, because that is how the two cards are connected. Is there any way to tell alsa or my soundcard (which works in linux) to output the data coming from the aux line?
Awesome , I guess it turns out you can't use the xvideo extensions to play video, which depends on your graphics card. I think all xvideo is responsible for is scaling and stretching overlay video.
I thought the audio would have been controllable through the sound card. Did you try using alsamixer ('M' will unmute a channel)?
yep, everything is unmuted in alsamixer. I've been trying to pinpoint the problem but have had no luck yet. It seems that all other audio utilities are using /dev/dsp as the sound device but for some reason xawtv is not seeing this or just not using it. I just ran the ./configure utility for xawtv to see if that could give me more information, and this is what it output (excert):
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
Im not sure exactly what soundcard.h is and what its used for (its confusing because all other utilities seem to work without it). Anyways, Ill keep on looking and trying. Thanks for all the help
..... which of course is complete bs because after running a find / -name 'sound*.h" -print I find the following is on my system:
/apps/kdelibs-3.2.3/kabc/sound.h
/apps/xawtv-3.93/common/sound.h
/usr/lib/qt-3.3.2/examples/sound/sound.h
/usr/src/linux-2.4.26/drivers/sound/sound_firmware.h
/usr/src/linux-2.4.26/drivers/sound/soundvers.h
/usr/src/linux-2.4.26/drivers/sound/sound_calls.h
/usr/src/linux-2.4.26/drivers/sound/sound_config.h
/usr/src/linux-2.4.26/include/linux/soundcard.h
/usr/src/linux-2.4.26/include/linux/sound.h
/usr/src/linux-2.4.26/include/linux/soundmodem.h
/usr/src/linux-2.4.26/include/config/sound.h
/usr/src/linux-2.4.26/include/config/soundmodem.h
/usr/src/linux-2.6.7/include/linux/sound.h
/usr/src/linux-2.6.7/include/linux/soundcard.h
/usr/src/linux-2.6.7/include/sound/soundmem.h
/usr/src/linux-2.6.7/include/sound/soundfont.h
/usr/src/linux-2.6.7/include/config/sound.h
/usr/src/linux-2.6.7/sound/oss/sound_config.h
/usr/src/linux-2.6.7/sound/oss/soundvers.h
/usr/src/linux-2.6.7/sound/oss/sound_calls.h
/usr/src/linux-2.6.7/sound/oss/sound_firmware.h
/usr/src/linux-2.6.7/sound/isa/cs423x/sound_pc9800.h
/usr/include/linux/soundcard.h
/usr/include/linux/sound.h
/usr/include/linux/soundmodem.h
/usr/include/sound/soundfont.h
/usr/include/sound/soundmem.h
/usr/include/sys/soundcard.h
/opt/kde/include/arts/soundserver.h
/opt/kde/include/kabc/sound.h
I am running the latest stable xawtv (3.93) so right now im clue-less as to what to do and need to step away from my machine before I smash it to pieces I'll try again tommorow and post my results.
Misterflibble thank you so so so so so so so so so so so so so so x infinity much for all your help!!!!!!
lol I know that I said my last post was gonna be it for the night, but you know how it is...
anyways i started fidling around with mplayer again to see what I could get and ran the command:
mplayer -tv driver=v4l2:norm=ntsc:channel=3:chanlist=us-cable:width=352:height=240 -noxv tv://
What i got was a partially viewable video output with no audio, when I say partially viewable, I mean it was all statically, zig-zagidly and such but I could make out whats going on. This was the same for all channels.
I realize this really does not contribute to solving my problem, but I think that the fact that mplayer is also having trouble with the audio yields the conclusion that there is something wrong with the way the system is handling the tv card audio and not with the programs theirselves. Anyways, and update tommorow!
still got my problem. I checked the cables today (externel cable and internel audio) and all are hooked up correctly (hooked the cable up to a tv and tv worked fine). Any ideas or suggestions?
What i got was a partially viewable video output with no audio, when I say partially viewable, I mean it was all statically, zig-zagidly and such but I could make out whats going on. This was the same for all channels.
I have a TV-in capable video card (just not under Linux), so in my experience, this sounds like your channels are not properly scanned, and (also in my experience), this is the first setup procedure you must do when running a TV application for the first time (or even, in fact, buying a new television set). Is there a setup sub-application somewhere in one of the dedicated TV viewing apps that will allow you to scan the cable for the real channel frequencies and set them? Or can you get a newspaper and look in the radio and TV listings (which often contain the television and radio frequency listings), and then use a specific frequency register when you call mplayer?
I don't see how it's supposed to know where "channel 4" is, if you don't tell it.
Well the thing is that with xawtv, all channels work 100% well video wise but they have no audio, eg. I can see the video crystal clear but cant hear jack. As for mplayer I will look into channel scanning. Thanks for the advice, much appreciatied!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.