LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2005, 07:27 PM   #1
kasra_23
Member
 
Registered: Feb 2005
Posts: 36

Rep: Reputation: 15
Unhappy Can't capture video (XV maybe?)


I am a linux N00B =)
I recently bought an AverMedia TV card (UltraTV PCI 350).
Mandrake 10.1 recognized it and I can watch tv and the content on my video camera.
But I can't record anything.
I tried using XAWTV.
I think its the libXv because when I launch XawTv using "XawTv -noxv" it records but it looks wierd. (not normal?). When I just run XawTv normally, I can't even record anything. I press the record button but nothing happens .
I would appreciate any help.
Thanks in advance
 
Old 03-06-2005, 01:11 PM   #2
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Xawtv won't record at all without -noxv, so don't worry about that. I had a similiar using the prepackaged xawtv version with mandrake 10 rc1. I recompiled both xawtv and libxv and everything worked fine after that. I can't be sure if that's your problem though. You could try streamer, but I think that's a xawtv tool so it probably won't make much of a difference.

You could also use mplayer. This is the command I use:

Code:
mencoder -tv norm=NTSC:driver=v4l:width=768:height=576:input=1      -ovc lavc -lavcopts input=audidy vcodec=mpeg4:vbitrate=900      -oac mp3lame  -vf pp=lb  -o whatever.avi tv://
Tell me how that works out. You could also use kino to get the video to the computer if it's firewire.

Finally, tell me what you mean by "it looks weird". Hope I could be a help.
 
Old 03-06-2005, 02:15 PM   #3
kasra_23
Member
 
Registered: Feb 2005
Posts: 36

Original Poster
Rep: Reputation: 15
Can you tell me were to get the libXv so that I can recompile it, please.
 
Old 03-06-2005, 07:12 PM   #4
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
I tried to answer your question based on my memories of how I fix my problems and it seems I was a little inaccurate. I couldn't have possibly recompiled libxv because there isn't any source packages for it (all you can do is recompile X [I think], and trust me in that you don't want to do that). I'm extremely sorry for my mistake. It's possible I just recompiled xawtv as opposed to using the packaged version. Try this. If this doesn't work we're going to try the alternatives (mplayer).

I'm extremely sorry for my mistake.
 
Old 03-06-2005, 09:54 PM   #5
kasra_23
Member
 
Registered: Feb 2005
Posts: 36

Original Poster
Rep: Reputation: 15
This is a bit unrelated but when I try to recompile XawTv, I successfully go through the configure and it tell me to install the ljpeg libraries. When I do this, after going through "configure" & "make", "make install" exits and tells me the following:
/usr/bin/install -c cjpeg /usr/local/bin/cjpeg
/usr/bin/install -c djpeg /usr/local/bin/djpeg
/usr/bin/install -c jpegtran /usr/local/bin/jpegtran
/usr/bin/install -c rdjpgcom /usr/local/bin/rdjpgcom
/usr/bin/install -c wrjpgcom /usr/local/bin/wrjpgcom
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
/usr/bin/install: cannot create regular file `/usr/local/man/man1/cjpeg.1': No such file or directory
make: *** [install] Error 1

I am really confused.
If there is an easier solution to my original problem, I would love to do that.
Please Help me.
Thank You
 
Old 03-07-2005, 02:28 AM   #6
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
I also had problems recording with XawTV, first it didn't work at all, then worked, then lousy quality, now it works fine with good quality. I haven't recompiled anything, but I believe Mandrake use some Bleeding edge software, that could explain it.
Anyway, what I did was to use streamer - it is an XawTV-tool, but it has worked perfectly all the time! Only problem is it seems impossible to select a TV-channel with it, you have to first start XawTV and select a channel, then start streamer. It's a text-tool, but don't be scared! It was really easy to learn, I have recorded a lot from TV and analog videocamera with it. I'm not at home now so I can't check it, but I think this is a standard command-line I use:
#streamer -i Television -t 01:30:00 -s 720x576 -f mjpg -q 100 -o filename.avi
That is: input source, size (TV PAL is 352x288 or something like that) format mjpg and best quality.
Type only streamer and you'll get a list with options, as well as a few examples.
To get best quality oń my AMD Semperon 1,7GHz 512 RAM, I don't run X when recording from analog videocamera. That way I can get highest resolution with 100% quality without dropped frames.
As a N00B you probably don't want to try using commandline without any graphics - but that's a mistake! It is not difficult, just play around with it an hour or two and you'll get used to it. Just return if you need help with parameters.
 
Old 03-07-2005, 06:56 PM   #7
kasra_23
Member
 
Registered: Feb 2005
Posts: 36

Original Poster
Rep: Reputation: 15
Thank You soo much to Inexactitude and pingu! I used streamer and everything worked. This is one of those times where I wish I were rich so that I could reward people like you with millions of dollars (unfortunately that's not going to happen =)) but I am really thankful that you helped me.
I think THIS is the best feature of Linux. There are so many people willing to help; this could never be possible if I were using Windows!
Kasra
 
Old 03-08-2005, 11:24 AM   #8
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
I'm happy we were able to help. Good luck with linux and stick around on lq, you'll find it really helps out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
capture video from video card diamonds Linux - Software 2 04-12-2005 02:57 PM
How to capture video eQualizer Linux - Software 1 03-02-2004 09:00 AM
Capture support for dvd and video capture in linux is it even going to be real ever? maximalred Linux - Distributions 3 07-06-2003 07:29 PM
Video Capture rlheaton Linux - Software 4 08-15-2002 12:52 AM
video capture esteeven Linux - General 3 04-19-2002 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration