> Hi James, > > As you have seen, the traffic is slow now. > > I'm not able to reproduce it. I run into issues with the both (transcode & > ffmpeg). > > See below : > > olivier@fondcombe:~/Vid?os$ transcode -x v4l2 -i /dev/video0 -p /dev/dsp0 > -Q 5 -w 1000 -y ffmpeg,tcaud -F mpeg4 -J smartyuv,pv=fullscreen -o file.avi > [transcode] critical: Invalid filename "/dev/dsp0": No such file or > directory > olivier@fondcombe:~/Vid?os$ ffmpeg -f pulse -i default -f v4l2 -i > /dev/video0 -vtag divx -s svga -q:v 5 file.avi -s svga -f rawvideo - | > ffplay -i - -s svga > ffmpeg version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav > developers > built on Mar 30 2013 22:20:06 with gcc 4.7.2 > avplay version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2003-2013 the Libav > developers > built on Mar 30 2013 22:20:06 with gcc 4.7.2 > Option 's' has been removed, use private format options instead > Failed to set value 'svga' for option 's' > *** THIS PROGRAM IS DEPRECATED *** > This program is only provided for compatibility and will be removed in a > future release. Please use avconv instead. > [pulse @ 0x187ad40] Estimating duration from bitrate, this may be inaccurate > Input #0, pulse, from 'default': > Duration: N/A, start: 0.316971, bitrate: N/A > Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s > Unknown input format: 'v4l2' > olivier@fondcombe:~/Vid?os$ transcode -x v4l2 -i /dev/video0 -p /dev/dsp -Q > 5 -w 1000 -y ffmpeg,tcaud -F mpeg4 -J smartyuv,pv=fullscreen -o file.avi > [transcode] critical: Invalid filename "/dev/dsp": No such file or directory > olivier@fondcombe:~/Vid?os$ > > That's me but It seems me that you don't have specified the number for dsp > device. > > My configuration is the following. > > version transcode : 1.17-1 > os : Linux Mint 15 > > What is your configuration ? your device (a webcam ? ) > > Could you put the output from the terminal. > > Thanks. > > Regards. > > > 2013/6/24 James Linder <j...@tigger.ws> > >> Guys Hi >> I have used transcode for my command line recording of /dev/dsp and >> /dev/video0, a v4l2 device, for ages and very successfully. >> I tried to run with a modern kernel and was bombarded with 'inappropriate >> ioctl' messages. >> A few days spent with ffmpeg shows bad a/v sync (of order 0.2 s) and after >> a while (an hour of recording) .... pause ................. pause ........ >> for of order 100mS. >> >> sysstat and iostat show nothing that I can see and say aaaah >> >> Has anybody used transcode recently? >> >> This is what I'm trying ... >> >> transcode -x v4l2 -i /dev/video0 -p /dev/dsp -Q 5 -w 1000 -y ffmpeg,tcaud >> -F mpeg4 -J smartyuv,pv=fullscreen -o file.avi >> >> ffmpeg -f pulse -i default -f v4l2 -i /dev/video0 -vtag divx -s svga -q:v >> 5 file.avi -s svga -f rawvideo - | ffplay -i - -s svga >> >> Thanks >> James
Hi Thanks for the reply. What I'm doing is recording under sea divers from their helmit cam on an osprey card. http://www.viewcast.com/products/osprey-cards/osprey-100 First make a dsp device: dvr:/home/dvr # modprobe snd-pcm-oss dvr:/home/dvr # ll /dev/dsp crw-rw----+ 1 root audio 14, 3 Jun 30 15:32 /dev/dsp dvr:/home/dvr # exit exit Now run ... [dvr] /home/dvr [120]% transcode -x v4l2 -i /dev/video0 -p /dev/dsp -Q 5 -w 1000 -y ffmpeg,tcaud -F mpeg4 -J smartyuv,pv=fullscreen -o file.avi transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team [transcode] V: auto-probing | /dev/video0 (OK) [transcode] V: import format | (null) in (module=v4l2) [transcode] A: auto-probing | /dev/dsp (OK) [transcode] A: import format | PCM in (module=v4l2) [transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence [transcode] V: import frame | 352x288 1.22:1 encoded @ UNKNOWN [transcode] V: bits/pixel | 0.395 [transcode] V: decoding fps,frc | 25.000,3 [transcode] V: video format | YUV420 (4:2:0) aka I420 [transcode] A: import format | 0x1 PCM [48000,16,2] [transcode] A: export format | 0x55 MPEG ES Layer 3 [48000,16,2] 128 kbps [transcode] V: export format | unknown (module dependant) [transcode] V: encoding fps,frc | 25.000,3 [transcode] A: bytes per frame | 7680 (7680.000000) [transcode] A: adjustment | 0@1000 [transcode] V: IA32/AMD64 accel | sse3 sse2 sse 3dnowext 3dnow mmxext mmx cmove asm [transcode] V: video buffer | 10 @ 352x288 [0x2] [transcode] A: audio buffer | 10 @ 48000x2x16 [import_v4l2.so] v1.6.2 (2008-10-25) (video) v4l2 | (audio) pcm [filter_smartyuv.so] (MMX) 0.1.6 (2007-05-31) Motion-adaptive deinterlacing [filter_pv.so] v0.2.3 (2004-06-01) xv only preview plugin [filter_pv.so] options=fullscreen [filter_pv.so] preview window 352x288 [pv.c] Xv: NV40 texture adapter: ports 63 - 94 [pv.c] Xv: grabbed port 63 [pv.c] Using Xv for display [export_tcaud.so] v0.9.0 (2007-07-03) (audio) MPEG/AC3/PCM [export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc52.123.0 | (audio) MPEG/AC3/PCM [import_v4l2.so] warning: driver does not support setting parameters (ioctl(VIDIOC_S_PARM) returns "Inappropriate ioctl for device") [transcode] critical: video import module error: OPEN failed [transcode] critical: failed to open input source So it looks as if the v4l stuff has changed. James