LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-18-2009, 04:12 PM   #1
vargstein
LQ Newbie
 
Registered: Apr 2009
Posts: 16

Rep: Reputation: 0
low-level set the freq for a tv-tuner card.


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.
 
Old 04-19-2009, 09:47 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
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.
 
Old 04-19-2009, 10:30 AM   #3
vargstein
LQ Newbie
 
Registered: Apr 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for replying, much appreciated.

why didn't i think of that (the /sys folder)

im going to check it out.

again, Thanks!
 
Old 05-29-2009, 09:20 AM   #4
vargstein
LQ Newbie
 
Registered: Apr 2009
Posts: 16

Original Poster
Rep: Reputation: 0
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?
 
Old 05-29-2009, 09:38 AM   #5
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Is v4lctl any good?
 
Old 05-29-2009, 12:36 PM   #6
vargstein
LQ Newbie
 
Registered: Apr 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lugoteehalt View Post
Is v4lctl any good?
I have that installed, yet then im tuning inn and setting the norm with

v4lctl setchannel and setnorm

I can't grab it from /dev/video0

Thanks for your answer!
 
  


Reply

Tags
tuner, tv, v4l, video



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
mounting memory card -low level formatted by the camera- rob07mxa Linux - General 2 09-29-2008 10:43 AM
How to bring up an 'unknown' TV-tuner card: Zogis RA220 TV-Tuner Fritz_Katz Linux - Hardware 1 07-15-2008 07:02 PM
video card white level low rumpty Linux - Hardware 2 11-25-2007 11:27 PM
LXer: NCS Introduces Ultra-Compact, Low-Cost, Low-Power and Super-Quiet Set-top Server Appliance Platforms LXer Syndicated Linux News 0 01-29-2006 08:01 PM
kernel: tuner: tuner type not set gadhiraju Linux - Hardware 2 10-05-2004 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

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