Guys .. anyone knows how to capture video (or even see the video output) from a device on linux ??
I have a TV tuner card with AV-IN feature .. You just need to plug in the Video-in cable (from whatever device) into the card and it does the work .. now, how can I see the video output of my card on linux ..
I thought their might be someway to do so using any player (like mplayer or vlc) .. maybe like that :-
I know I am dreaming if it's that easy
.. but I didn't find a device out there in /dev .. at least with the names I expected
Any help to see or capture video output ??
-----------
EDIT (5,Nov,2009-9:00AM-GMT)
Got it , here is what I did :
1- first installed v4l, v4l-tools(xawtv) with its dependencies (I m using OpenSuse and its "Yast" installation system made that easy)
2- after that comes the variable part, (if this seems hard I think going to step three may have done it without this step)
in shell, I typed :
if there is an output for this we should go through this
then or if no output for lsmod above then we go to next command
Important : this configuration helped with my "lifeview flytv prime 30FM" .. u should go here and search for your card model : LinuxTV Wiki Homepage
3- then run this (of course with mplayer installed
)
Important : according to ur card u may need to adjust different settings (i.e. device=/dev/video1:input=0/adivice=bla/bla)
Hope this will be helpful to anyone who encounter a likely issue.
I have a TV tuner card with AV-IN feature .. You just need to plug in the Video-in cable (from whatever device) into the card and it does the work .. now, how can I see the video output of my card on linux ..
I thought their might be someway to do so using any player (like mplayer or vlc) .. maybe like that :-
| Code: |
| # mplayer /dev/tvcard/video-out |
I know I am dreaming if it's that easy
Any help to see or capture video output ??
-----------
EDIT (5,Nov,2009-9:00AM-GMT)
Got it , here is what I did :
1- first installed v4l, v4l-tools(xawtv) with its dependencies (I m using OpenSuse and its "Yast" installation system made that easy)
2- after that comes the variable part, (if this seems hard I think going to step three may have done it without this step)
in shell, I typed :
| Code: |
| # lsmod | grep saa7134 |
if there is an output for this we should go through this
| Code: |
| # rmmod saa7134 |
then or if no output for lsmod above then we go to next command
| Code: |
| # modprobe saa7134 card=2 tuner=39 |
Important : this configuration helped with my "lifeview flytv prime 30FM" .. u should go here and search for your card model : LinuxTV Wiki Homepage
3- then run this (of course with mplayer installed
| Code: |
| # mplayer tv:// -tv driver=v4l2:device=/dev/video0:input=3:amode=1 |
Important : according to ur card u may need to adjust different settings (i.e. device=/dev/video1:input=0/adivice=bla/bla)
Hope this will be helpful to anyone who encounter a likely issue.
