I am recording speech from /dev/dsp1 - the level is good, the a/d is good, the first 10 seconds sound fine. then it gets garbled. it may be mplayer. on one test mp crashed.

Here is what has worked best for me.  hoping someone can suggest better.

transcode -i /dev/video1 \
                -p /dev/dsp1 \
               -x v4l,ac3 \
               -g 720x400 \
               -V rgb24 \
               -y ffmpeg,tcaud \
               -F h264 \
                -N 0x2000 \
                -E 48 \
                -b 48,0,6,2 \
                 -ab 384k \
                -M 3 \
                -k \
               -o a/test2.avi \
               -H 0 \
                --encode_fields p


++ transcode -i /dev/video1 -p /dev/dsp1 -x v4l,ac3 -g 720x400 -V rgb24 -y ffmpeg,tcaud -F h264 -N 0x2000 -E 48 -b 48,0,6,2 -ab 384k -M 3 -k -o a/test2.avi -H 0 --encode_fields p
transcode v1.1.0-alpha7 (C) 2001-2003 Thomas Oestreich, 2003-2008 Transcode Team
[transcode] V: AV demux/sync    | (3) sync AV at initial PTS
[transcode] V: import frame     | 720x400  1.80:1  encoded @ UNKNOWN
[transcode] V: rgb2bgr          | yes
[transcode] V: bits/pixel       | 0.250
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: video format     | RGB24
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export format    | 0x2000  AC3          [  48,16,2]  384 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       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 720x400 [0x1]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_ac3.so] v0.3.2 (2002-02-15) (audio) AC3
[import_v4l.so] v0.0.6 (2006-05-08) (video) v4l | (audio) PCM
[export_tcaud.so] v0.9.0 (2007-07-03) (audio) MPEG/AC3/PCM
[export_ffmpeg.so] v0.3.17 (2007-11-02) (video) Lavc51.48.0 | (audio) 
MPEG/AC3/PCM
[import_ac3.so] AC3->PCM
[import_ac3.so] tcextract -a 0 -i "/dev/dsp1" -x ac3 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0
[import_v4l.so] warning: this module is deprecated: please use import_v4l2 
instead
[import_v4l.so] video4linux video grabbing
No accelerated IMDCT transform found
[import_v4l.so] device has no audio channel
[import_v4l.so] (audio-):
[import_v4l.so] picture: brightness= 0% hue= 0% colour= 0% contrast= 0%
[import_v4l.so] 1 frame buffer(s) available
[import_v4l.so] dropping -2147483623 video frames for AV sync
[export_ffmpeg.so] Using FFMPEG codec 'h264' (FourCC 'h264', H264 (avc)).
[export_ffmpeg.so] No profile selected
[export_ffmpeg.so] Starting 1 thread(s)
[export_ffmpeg.so] Set display aspect ratio to input
[libx264 @ 0xa5a7f050]using SAR=1/1
[libx264 @ 0xa5a7f050]using cpu capabilities: MMX MMXEXT SSE SSE2 Cache64
[transcode] PCM -> AC3
[extract_ac3.c] warning: no file type specified, assuming RAW stream


Carl K

Reply via email to