[gst-devel] Creating tv/dv video capturer
Edgard Lima
edgard.lima at indt.org.br
Fri May 23 16:56:30 CEST 2008
I tried the same pipeline and it works fine for me.
1- see if you have enough cpu
2- update your GStreamer
3- try to send us more info, like the log
[]s
Edgard
ext Andoni Morales Alastruey wrote:
> 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
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list