[gst-devel] video playback fast (record with v4l2src)

Edgard Lima edgard.lima at indt.org.br
Wed Sep 20 16:16:37 CEST 2006


Hi Ronald,

I have just tried (my tv card):

....again, it doesn't work (now the video is too slow and audio is fine)

Am I missing something? why it doesn't work now (see also the next mail 
with time-stamp values)?

gst-launch-0.10 -v oggmux name=mux ! filesink location=blah.ogg v4l2src 
device=/dev/video1 ! ffmpegcolorspace ! videorate ! theoraenc ! queue ! 
mux. alsasrc ! audioconvert ! audiorate ! vorbisenc ! queue ! mux.

....see the output:

/pipeline0/v4l2src0: std = "PAL-M"
/pipeline0/v4l2src0: input = "Television"
/pipeline0/v4l2src0: frequency = 526250000
/pipeline0/v4l2src0: num-buffers = -1
/pipeline0/v4l2src0.src: caps = video/x-raw-yuv, format=(fourcc)YUY2, 
width=(int)640, height=(int)480, framerate=(fraction)30000/1001
/pipeline0/alsasrc0.src: caps = audio/x-raw-int, endianness=(int)1234, 
signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, 
channels=(int)1
New clock: audioclock0
/pipeline0/audioconvert0.src: caps = audio/x-raw-float, rate=(int)44100, 
channels=(int)1, endianness=(int)1234, width=(int)32
/pipeline0/audioconvert0.sink: caps = audio/x-raw-int, 
endianness=(int)1234, signed=(boolean)true, width=(int)32, 
depth=(int)32, rate=(int)44100, channels=(int)1
/pipeline0/audiorate0.sink: caps = audio/x-raw-float, rate=(int)44100, 
channels=(int)1, endianness=(int)1234, width=(int)32
/pipeline0/audiorate0.src: caps = audio/x-raw-float, rate=(int)44100, 
channels=(int)1, endianness=(int)1234, width=(int)32
/pipeline0/audiorate0.sink: caps = audio/x-raw-float, rate=(int)44100, 
channels=(int)1, endianness=(int)1234, width=(int)32
/pipeline0/vorbisenc0: last-message = "encoding at quality level 0.30"
/pipeline0/ffmpegcsp0.src: caps = video/x-raw-yuv, format=(fourcc)I420, 
framerate=(fraction)30000/1001, width=(int)640, height=(int)480
/pipeline0/ffmpegcsp0.sink: caps = video/x-raw-yuv, format=(fourcc)YUY2, 
width=(int)640, height=(int)480, framerate=(fraction)30000/1001
/pipeline0/videorate0.sink: caps = video/x-raw-yuv, format=(fourcc)I420, 
framerate=(fraction)30000/1001, width=(int)640, height=(int)480
/pipeline0/videorate0.src: caps = video/x-raw-yuv, format=(fourcc)I420, 
framerate=(fraction)30000/1001, width=(int)640, height=(int)480
/pipeline0/videorate0.sink: caps = video/x-raw-yuv, format=(fourcc)I420, 
framerate=(fraction)30000/1001, width=(int)640, height=(int)480
/pipeline0/vorbisenc0.sink: caps = audio/x-raw-float, rate=(int)44100, 
channels=(int)1, endianness=(int)1234, width=(int)32

/pipeline0/vorbisenc0.src: caps = audio/x-vorbis, streamheader=(buffer)< 
01766f7.....

/pipeline0/queue1.sink: caps = audio/x-vorbis, streamheader=(buffer)< 
01766f7262697......

/pipeline0/queue1.src: caps = audio/x-vorbis, streamheader=(buffer)< 
01766f7262697300......

/pipeline0/mux.sink_1719237973: caps = audio/x-vorbis, 
streamheader=(buffer)< 01766f7262....

/pipeline0/vorbisenc0: last-message = "encoding at quality level 0.30"
/pipeline0/theoraenc0.sink: caps = video/x-raw-yuv, format=(fourcc)I420, 
framerate=(fraction)30000/1001, width=(int)640, height=(int)480
/pipeline0/theoraenc0.src: caps = video/x-theora, streamheader=(buffer)< 
807468656f726....

/pipeline0/queue0.sink: caps = video/x-theora, streamheader=(buffer)< 
807468656f72610.....

/pipeline0/queue0.src: caps = video/x-theora, streamheader=(buffer)< 
807468656f........

/pipeline0/mux.sink_211438548: caps = video/x-theora, 
streamheader=(buffer)< 807468656.....

/pipeline0/mux.src: caps = application/ogg, streamheader=(buffer)< 
4f6767530002000.....

/pipeline0/filesink0.sink: caps = application/ogg, 
streamheader=(buffer)< 4f676753000200.....




More information about the gstreamer-devel mailing list