[gst-devel] v4l2src blocky and silent

David Liontooth liontooth at cogweb.net
Thu Nov 9 04:02:22 CET 2006


When I issue

gst-launch-0.10 avimux name=mux ! filesink location=$DIR/$FIL.avi v4l2src device=/dev/video$DEV ! \
video/x-raw-yuv,width=640,height=480,framerate=\(fraction\)30000/1001 ! ffmpegcolorspace ! \
ffenc_mpeg4 ! queue ! mux. alsasrc device=hw:$DEV ! audio/x-raw-int,channels=2,rate=32000,depth=16 ! \
audioconvert ! lame ! mux.

I get a file that plays in mplayer, but the video is quite blocky and there's no audio.

Could someone post a working command for live tv recording? One that
pulls the audio off the PCI bus with alsa?

Dave

Playing 2006-11-08_1842_KTLA_0-test.avi.
AVI file format detected.
Could not determine number of frames (for absolute seek).
VIDEO:  [DX50]  640x480  24bpp  29.970 fps  -17179870.0 kbps (-2097152.0
kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 32000 Hz, 2 ch, s16le, 128.0 kbit/12.50% (ratio: 16000->128000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 32000Hz 2ch s16le (2 bytes per sample)
Starting playback...

Blocky picture, no sound.

Audacity also sees a stereo soundtrack, but it's just twitter.






More information about the gstreamer-devel mailing list