Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Hi, first of all. this is not a "problem". it is more like a question...
i have allways used mplayer (mencoder) on my server with a hauppauge HVR 4000 card. that works great. the thing is, now im bored of mencoder, and i want to "swim" deeper into the system...(xD)
i have understand it that when i do a:
mplayer tv://300 (example frequency)
- Mplayer - sets the frequency on the card... how does it do that??
i used to use this command to watch tv streamed from my server:
mencoder tv://SE11 -o >( nc x.x.x.x 1024 )
that will stream the video to a box on port 1024
...right
im not english so sorry for my bad language.
the point is; i want to know how to manually set the channel for the card, if i just do a:
cat /dev/video0
i get an input/output error
as far as i know this is because i havet tuned into a channel.
so if anybody knows howto i can just do something like this to set a channel:
printf "<somebinary>">/dev/video0
or something like that to set the channel, so i can get the video stream from /dev/video0 it would be great.
this is my first post here, and belive me, i have googled.
Take a look at V4L2 drivers and how it works, I don't think you can read/write the video device pseudo-file directly. But maybe V4L2 exports some functionalities through the /sys/class" interface where you'll be able to read/write into fakes files to change some parameters without using a "true" programming language.
After alot of searching both on google and in /sys and even in /proc/sys, i can't find anything that would look like the files im looking for. I can't even find the video4linux documentation on this. im so tired of using mplayer, and i really want to learn how to do this so i can stream with http and stuff like that. dosent anybody know video4linux inn deep?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.