LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-20-2003, 10:17 AM   #1
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Rep: Reputation: 30
Wink Video grabbing


Hi..

Can anybody assist me on how to capture video from video camera.
via ieee1394.

i am using Mandrake 9.1 .

TQ
 
Old 08-20-2003, 07:59 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Plug in the camera, open up a terminal as root and type:
modprobe ohci1394
modprobe raw1394

If you don't get any errors, then grab a program called dvgrab from www.freshmeat.net and get it installed. Once that's done, open up a terminal as root again, and type:
dvgrab --format 2 /path/to/save/movie

No extension, it'll throw one on there. Now wherever you saved that to, you have RAW video, so you'll surely need/want to compress it, so grab mplayer from www.mplayerhq.hu and install that, then use something similar to this from compressing:
mencoder -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1800:vme=5 -vop scale=512:340 -oac mp3lame -lameopts abr:br=160 -o compress.avi RAWVIDEO.avi

Sorry this all will seem a bit advanced if you don't have any knowledge of linux, but it gives you the raw idea of what you need so you can fine tune it to your needs. Feel free to respond back, I'll be happy to break down things as you need them.

Welcome to LQ

Cool
 
Old 08-24-2003, 06:13 AM   #3
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Original Poster
Rep: Reputation: 30
Hi Master C,

I did manage to grab video using dvgrab tools and thank you for the guide. Just to share with you what i have done,

[root@localhost root]# dvgrab --format dv2 /home/nazmin/Movie
>>> Trying /home/nazmin/Movie001.avi
<Ctrl C>
/home/nazmin/Movie001.avi: 998 frames

then, chmod 777 Movie001.avi
then, mv Movie001.avi Movie001.mpeg

then, the Movie001.mpeg can be open using xine player.

TQ
 
Old 08-24-2003, 11:17 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
then, mv Movie001.avi Movie001.mpeg
That's odd? Xine won't let you play avi movies eh? I'd suggest looking into MPlayer, it'll be a great tool to use to compress the movie anyway, when you are ready to.

Cool
 
Old 08-24-2003, 04:54 PM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Xine can not play raw files they have to be cooked first.

BTW, for those Xine lovers if the above seems offensive, I still use Xine to watch vob files through a network and it has better audio/video sync than mplayer.
 
  


Reply



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
Grabbing video frames as thumbnails smegware Linux - Software 0 05-21-2004 11:47 AM
grabbing video and audio Johng Linux - Software 19 05-13-2004 07:40 AM
Grabbing video using Webcam sinoob Linux - Networking 1 03-01-2004 05:28 AM
tv grabbing with rivatv saavik Linux - Software 0 10-10-2003 05:06 AM
Picture grabbing zeky Linux - General 1 12-06-2002 09:54 AM

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

All times are GMT -5. The time now is 07:05 AM.

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