I'm sorry the cut & paste must have been a 'typo'. I still get the error. Maybe my hardware went bad? but I can see the live video fine with tvtime, etc. For example, here is another script which invokes the same error:
----------------------------------------- command: ( $TSCODE -x v4l2,null \ -M 2 \ -i /dev/video0 \ -y ffmpeg,null \ -R 0 \ -F mpeg4 \ -c 00:01:00 \ -g 640x480 \ -f 10 \ -u 100 \ -Q 3\ -w 1500 \ -o /mnt/usb1/clip.avi ) & ------------------------------------------------------------- result: [EMAIL PROTECTED] ~]$ transcode v1.0.4 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2007 Transcode Team No support for video4linux compiled in [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms [transcode] auto-probing source /dev/video0 (ok) [transcode] V: import format | unknown (V=v4l2|A=null) [transcode] V: AV demux/sync | (2) initial MPEG sequence / enforce frame rate [transcode] V: import frame | disabled [transcode] V: bits/pixel | 0.000 (unknown) [transcode] V: decoding fps,frc | 10.000,0 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x2000 AC3 [ 0,16,0] [transcode] A: export | disabled [transcode] V: encoding fps,frc | 10.000,11 [transcode] A: bytes per frame | 0 (0.000000) [transcode] A: adjustment | [EMAIL PROTECTED] [transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C) tc_memcpy: using sse for memcpy [transcode] V: video buffer | 100 @ 0x0 [import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null [import_v4l2.so] v1.3.5 (2005-03-11) (video) v4l2 | (audio) pcm [export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc0d.51.11.0 | (audio) MPEG/AC3/PCM [import_v4l2.so]: v4l2 video grabbing [import_v4l2.so]: resync disabled [import_v4l2.so]: video grabbing, driver = bttv, card = BT878 video (Hauppauge (bt878)) [import_v4l2.so]: Pixel format conversion: YVU420 [planar] -> YUV420 [planar] (no conversion) [import_v4l2.so]: driver does not support setting parameters (ioctl(VIDIOC_S_PARM) returns "Invalid argument") [import_v4l2.so]: checking colour & framerate standards: [PAL] [import_v4l2.so]: receiving 25 frames / sec [import_v4l2.so]: driver does not support cropping (ioctl(VIDIOC_CROPCAP) returns "Invalid argument"), disabled [import_v4l2.so]: 32 buffers available [export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 compliant video). picture size invalid (0x0) [export_ffmpeg.so] Could not allocate enough memory. [transcode] warning : (encoder.c) video export module error: init failed [transcode] critical: failed to init encoder On Nov 29, 2007 6:16 PM, ted morris <[EMAIL PROTECTED]> wrote: > > Well, things *used to work* but now, I always get the error with ffmpeg. > Actually, I can't get any encoder library working-- even jpeg. Something > fundimentally > must have gotten screwed up and I can't seem to find it. Any help would be > greatly appreciated. > > Here is an example of what happens: > > ---------------------------------- > the command: > > transcode -x v4l2,null \ > -M 2 \ > -i /dev/video0 \ > -y ffmpeg \ > -F msmpeg4v2 \ > -c 00:02:00 \ > -g 720x480 > -f 0,4 \ > -I 1 \ > -u 100 \ > -Q 3 \ > -Z 360x240,fast \ > -o clip.avi > --------------------------------------- > the result: > > transcode v1.0.4 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, > 2004-2007 Transcode Team > No support for video4linux compiled in > [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms > [transcode] auto-probing source /dev/video0 (ok) > [transcode] V: import format | unknown (V=v4l2|A=null) > [transcode] V: AV demux/sync | (2) initial MPEG sequence / enforce > frame rate > [transcode] V: import frame | disabled > [transcode] V: bits/pixel | 0.000 (unknown) > [transcode] V: decoding fps,frc | 30.000,0 > [transcode] V: Y'CbCr | YV12/I420 > [transcode] A: import format | 0x2000 AC3 [ 0,16,0] > [transcode] A: export | disabled > [transcode] V: encoding fps,frc | 29.970,4 > [transcode] A: bytes per frame | 0 (0.000000) > [transcode] A: adjustment | [EMAIL PROTECTED] > [transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C) > tc_memcpy: using sse for memcpy > [transcode] warning : no option -o found, encoded frames send to > "/dev/null" > [transcode] V: video buffer | 10 @ 0x0 > [import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null > [import_v4l2.so] v1.3.5 (2005-03-11) (video) v4l2 | (audio) pcm > [export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null > [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc0d.51.11.0 | (audio) > MPEG/AC3/PCM > [import_v4l2.so]: v4l2 video grabbing > [import_v4l2.so]: resync disabled > [import_v4l2.so]: video grabbing, driver = bttv, card = BT878 video > (Hauppauge (bt878)) > [import_v4l2.so]: Pixel format conversion: YVU420 [planar] -> YUV420 > [planar] (no conversion) > [import_v4l2.so]: driver does not support setting parameters > (ioctl(VIDIOC_S_PARM) returns "Invalid argument") > [import_v4l2.so]: checking colour & framerate standards: [PAL] > [import_v4l2.so]: receiving 25 frames / sec > [import_v4l2.so]: driver does not support cropping (ioctl(VIDIOC_CROPCAP) > returns "Invalid argument"), disabled > [import_v4l2.so]: 32 buffers available > [export_ffmpeg.so] Using FFMPEG codec 'msmpeg4v2' (FourCC 'MP42', old > DivX3 compatible (older version)). > picture size invalid (0x0) > [export_ffmpeg.so] Could not allocate enough memory. > [transcode] warning : (encoder.c) video export module error: init failed > [transcode] critical: failed to init encoder > >