Dear developers, mailing-list readrs, Trying to record from analog video camera playback with cheap bt878 capture card, kernel 2.6.20 (Fedora-3) using lavrec.
xawtv works fine, however, when start recording with lavrec xawtv screen goes blue and remains blue even after stopping lavrec. Image can be restored in xawtv if I change input from composite1 to something else and back to composite1. The recorded movie is blue screen either with glav or with Mplayer. The same thing happens if I don't use xawtv, just record with lavrec. There are no error messages, recording seems progressing well. There is a warning about "negative priority" and "Pthread" when lavrec starts. I googled it but could not find remedy for this. While I'm not a linux expert I begin to understand how it works. I suspect an input problem. xawtv hwscan shows /dev/video0 while Ronald Bultje's lavrec man indicates LAV_VIDEO_DEV /dev/video. So I tried to export LAV_VIDEO_DEV=/dev/video0 to no avail. I also tried "alias video video0" in modprobe.conf, again, without success. Here is the command to start lavrec (no audio as a stepwise debugging method): lavrec --software-encoding -a 0 -f a -g 352x288 -i n test.avi The recorded file size seems normal, but content is either hidden or content is blank. If I record with xawtv streamer I do get a video: streamer -t 0:10 -f jpeg -r 23.976 -s 352x288 -o video.avi video.avi plays with mplayer. On the otherhand, if I try lavplay video.avi I get this: lavplay1.6.2 lavtools version 1.6.2 **ERROR: [lavplay] File video.avi has 23.976212 frames/sec, chose norm with +[np] param Now I don't underfstand this last one. If I use lavplay test.avi I have no error but blue screen. If I use video.avi to play I get the error above, even though mplayer plays video.avi. I tried all sorts of command options in lapvplay, such as -o n or --norm n I get a list of command options. With -o n it says: invalid option --o, in other words it converts -o to --o when reading command line. I must be doing something stupid or trivially erroneous. I would appreciate any help pr advice. Thank you, Janos ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users