LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-03-2007, 05:23 PM   #1
hate29
Member
 
Registered: Oct 2005
Location: Finland, Tampere
Distribution: Debian
Posts: 47

Rep: Reputation: 15
Help with DVR (Digital Video Recorder)


I'm trying to use DVR to record from my tvcard. http://dvr.sourceforge.net/html/main.html
I put this link for more information about this software. I've succesfully installed it and get it started and it recognizes my Tvcard right but when I choose my tvcard it shuts down with an error:
Code:
*** WARNING *** : the driver doesn't provide a correct size for memory mapping. DVR tries to correct this error, but some strange things may happend, you are warned.
Can't map memory for capture : Virheellinen argumentti
Can someone please tell me what this means and can I do something to it? Or should I just change my software to another one.
 
Old 01-04-2007, 01:01 PM   #2
rubadub
Member
 
Registered: Jun 2004
Posts: 236

Rep: Reputation: 33
Doing something similar I use mplayer and / or mencoder. The following scripts show how!

Code:
#mplayer tv:// -tv driver=v4l:width=352:height=288:output=yv12:device=/dev/video0

# $1 = device, e.g. /dev/video0
# $2 = length in frames
#mplayer tv:// -tv driver=v4l:width=352:height=288:outfmt=yv12:device=/dev/video0 -frames 10
mplayer tv:// -tv driver=v4l:width=352:height=288:outfmt=yv12:device=$1 -frames $2

Code:
echo This script only records 30 seconds of video

# $1 = device, e.g. /dev/video0
# $2 = length in seconds
# $3 = output filename


#mencoder -tv driver=v4l:width=352:height=288:device=/dev/video0 \
#	-ovc lavc -lavcopts vcodec=mpeg4 \
#	-endpos 30	\
#	-o output.avi tv://

mencoder -tv driver=v4l:width=352:height=288:device=$1 \
	-ovc lavc -lavcopts vcodec=mpeg4 \
	-endpos $2	\
	-o $3.avi tv://
Both scripts i've left the crud in to help explain and both need you to pass cmdl args...

p.s. My cams are set up using v4l (video 4 linux)

Have fun!
 
Old 01-04-2007, 01:09 PM   #3
hate29
Member
 
Registered: Oct 2005
Location: Finland, Tampere
Distribution: Debian
Posts: 47

Original Poster
Rep: Reputation: 15
Can I set times for recordings with those scripts? I really need to set times for them, or I don't really have any use for it.
 
  


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
Using Sony ICD-ST10 Stereo Digital Recorder with Linux QuestFind Linux - Software 5 10-10-2007 03:01 PM
MP3 Digital voice recorder ahz10 Linux - Hardware 2 05-11-2006 04:47 PM
Making W-10 digital voice recorder work in Linux Chabbrik Linux - Hardware 0 10-15-2005 12:33 PM
Digital voice recorder slawyer Linux - Hardware 4 01-24-2005 07:49 PM
Linux digital video recorder Nigel_Tufnel Linux - Hardware 4 08-15-2002 09:35 AM

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

All times are GMT -5. The time now is 12:23 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