How to use "encodebin" in a command line to encode raw frames coming from webcam?

Anirudh anirudh.mathur at gmail.com
Thu Sep 13 08:55:00 PDT 2012


I am trying to use encodebin in following fashion:

gst-launch  videotestsrc  encodebin name=ebin  ! video/x-h264 ! fakesink
But it is giving error as :
ERROR: Pipeline doesn't want to pause.

I have also tried following command line :
gst-launch  videotestsrc  ! encodebin name=ebin  ! video/x-h264 ! fakesink
This gives foloowing error:
WARNING: erroneous pipeline: could not link videotestsrc0 to ebin

I was able to programmability build the pipeline having encodebin and its
working.

I could not find any example using encodebin in command line.

Plz suggest how to use encodebin using gst-launch. 






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-use-encodebin-in-a-command-line-to-encode-raw-frames-coming-from-webcam-tp4656296.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list