[gst-devel] Creating tv/dv video capturer
Andoni Morales Alastruey
ylatuya at gmail.com
Fri May 9 19:18:49 CEST 2008
Hi!
I'm trying to create a pipeline to display and capture video from a tv
card source or a dv cam source. I think it should be done like this:
v4l2src ! queue ! ffmpegcolorspace ! tee name=t1 ! queue !
autovideosink t1. ! queue ! theoraenc ! queue ! oggmux name=mux
alsasrc ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! queue !
audioconvert ! vorbis ! queue ! mux. mux. ! queue ! filesink
location=test.ogg
The two elements works well separately.
The video visualization pipeline : v4l2src ! queue !
ffmpegcolorspace ! queue ! autovideosink
and the video encoding pipeline : v4l2src ! queue ! ffmpegcolorspace !
queue ! theoraenc ! queue ! oggmux name=mux alsasrc !
audio/x-raw-int,rate=8000,channels=1,depth=8 ! queue ! audioconvert !
vorbis ! queue ! mux. mux. ! queue ! filesink location=test.ogg
The problem is that, when I put the tee to do all the stuff together, I
can't see the video window and I the video isn't encoded. It stops at
this point:
$ gst-launch videotestsrc ! queue ! ffmpegcolorspace ! tee name=t1 !
queue ! autovideosink sync=false t1. ! queue ! theoraenc ! queue !
oggmux name=mux alsasrc ! audio/x-raw-int,rate=8000,channels=1,depth=8 !
queue ! audioconvert ! vorbisenc ! queue ! mux. mux. ! queue ! filesink
location=test.avi
Estableciendo el flujo a PAUSADO ...
El flujo es en vivo y no necesita PRECACHEADO ...
Estableciendo el flujo para REPRODUCCIÓN ...
New clock: GstAudioSrcClock
Any suggestions?
Regards,
Andoni Morales
More information about the gstreamer-devel
mailing list