----- Original Message ----- From: "Richard Konrad" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, November 04, 2007 2:29 PM Subject: [ivtv-users] unable to record
> I've recently bought an Hauppauge 150 card and am testing it to make > sure it's working fine. I've googled and tried to use every script > and command (using transcode, mencoder, ffmpeg) I could find and have > only come up with errors. The only way I can record is through "cat > /dev/video0 > ~/[file].mpg" As an example, I used "mencoder tv:// -tv > driver=v4l2:width=640:height=480:fps=90:device=/dev/video0 -nosou nd > -ovc lavc -lavcopts vcodec=mjpeg -o cooking.avi" The result printout > is below: > > success: format: 9 data: 0x0 - 0x0 > TV file format detected. > Selected driver: v4l2 > name: Video 4 Linux 2 input > author: Martin Olschewski <[EMAIL PROTECTED]> > comment: first try, more to come ;-) > Selected device: Hauppauge WinTV PVR-150 > Tuner cap: STEREO LANG1 LANG2 > Tuner rxs: MONO LANG2 > Capabilites: video capture VBI capture device tuner audio read/write > supported norms: 0 = PAL-BGH; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M; 4 = PAL-N; 5 = > PAL-Nc; 6 = SECAM-BGH; 7 = SECAM-DK; 8 = SECAM-L; 9 = SECAM-L'; 10 = NTSC-M; 11 > = NTSC-J; 12 = NTSC-K; > inputs: 0 = Tuner 1; 1 = S-Video 1; 2 = Composite 1; 3 = S-Video 2; 4 = Composi > te 2; > Current input: 1 > Current format: unknown (0x4745504d) > v4l2: current audio mode is : LANG1 > tv.c: norm_from_string(pal): Bogus norm parameter, setting default. > v4l2: ioctl request buffers failed: Invalid argument > v4l2: 0 frames successfully processed, 0 frames dropped. > Segmentation fault > > > Any help is appreciated > > Richard Have you tried: mplayer /dev/video0 -dumpstream -dumpfile test1.mpg Use CTRL-C to end. You can monitor the saved file (test1.mpg in the above sample) using gxine or even mplayer if you wait a few seconds for buffering Using cat is a OK way to record though. What else do you need it to do? It is best to dump the stream as opposed to doing any reformatting during recording anyhow. I think only /dev/video0 is the mpeg stream so avoid any commands using anything else. If "cat" works you do have a mpeg encoder and all the tough stuff is working. I am new to all this too though so I may be wrong. Phil _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
