Ronald S. Bultje пишет:

On Wed, 2004-09-15 at 20:52, dmitriy kuvshinov wrote:


I have two dc10plus card(/dev/video1 and /dev/video2).
How can i to use lavrec for each card??



export LAV_VIDEO_DEV=/dev/video1 lavrec [..] file.avi

Ronald



wow, i found it

in lavrec.c :

// if (getenv("LAV_VIDEO_DEV")) info->video_dev = getenv("LAV_VIDEO_DEV");
info->video_dev = "/dev/video2";
/*
else {
struct stat vstat;
if((stat("/dev/video", &vstat) == 0) && S_ISCHR(vstat.st_mode))
info->video_dev = "/dev/video";
else if(stat("/dev/video0", &vstat) == 0 && S_ISCHR(vstat.st_mode))
info->video_dev = "/dev/video0";
else if(stat("/dev/v4l/video0", &vstat) == 0 && S_ISCHR(vstat.st_mode))
info->video_dev = "/dev/v4l/video0";
else if(stat("/dev/v4l0", &vstat) == 0 && S_ISCHR(vstat.st_mode))
info->video_dev = "/dev/v4l0";
else if(stat("/dev/v4l", &vstat) == 0 && S_ISCHR(vstat.st_mode))
info->video_dev = "/dev/v4l";
}
*/



dmitriy



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to