Hi All,
Is there a command to the GStreamer open the video window where I want? You can also change the resolution? Example: Opening a Camera in the upper left in Resoulçao 600x800, open Camera 2 on the Bottom at 000x000 resolution. Thank you! |
I need to open the image from the camera at any resolution, and also want to know how I can move the image, example: put running on the top right, and appears this error, can someone help me?
gst-launch ksvideosrc device-index=0 ! video/x-raw-rgb, width=1024, height=720 ! directdrawsink I tried also gst-launch ksvideosrc device-index=0 ! video/x-raw-rgb, width=1024, height=720 ! dshowvideosink Seeting Pipeline to Paused . . . ERROR : Pipeline doesn't want Pause. ERROR : from element /GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0: Could not negotiate format Addictional debug info : ..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2719): gst_base_src_start(): /GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0 Check your filtered caps, if any Seeting pipeline to Null . . . Freeing Pipeline . . . |
Someone please.
|
In reply to this post by Pedro.henrique
On Tue, 2010-08-31 at 13:38 -0700, Pedro.henrique wrote:
> I need to open the image from the camera at any resolution, and also want > to know how I can move the image, example: put running on the top right, and > appears this error, can someone help me? > > gst-launch ksvideosrc device-index=0 ! video/x-raw-rgb, width=1024, > height=720 ! directdrawsink > > I tried also > > gst-launch ksvideosrc device-index=0 ! video/x-raw-rgb, width=1024, > height=720 ! dshowvideosink > Seeting Pipeline to Paused . . . > ERROR : Pipeline doesn't want Pause. > ERROR : from element /GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0: Could > not negotiate format > Addictional debug info : > > ..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2719): > gst_base_src_start(): /GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0 > > Check your filtered caps, if any Are you sure that the camera supports this resolution natively? Are you sure that the camera/driver supports RGB output? What do these commands output: gst-launch-0.10 -v ksvideosrc device-index=0 ! fakesink gst-launch-0.10 -v ksvideosrc device-index=0 ! video/x-raw-rgb ! fakesink gst-launch-0.10 -v ksvideosrc device-index=0 ! video/x-raw-rgb,width=1024 ! fakesink gst-launch-0.10 -v ksvideosrc device-index=0 ! video/x-raw-rgb,width=1024,height=720 ! fakesink gst-launch-0.10 -v ksvideosrc device-index=0 ! video/x-raw-yuv ! fakesink gst-launch-0.10 -v ksvideosrc device-index=0 ! video/x-raw-yuv ! fakesink gst-launch-0.10 -v ksvideosrc device-index=0 ! video/jpeg ! fakesink gst-launch-0.10 -v ksvideosrc device-index=0 ! video/x-dv ! fakesink Also: have you tried adding ffmpegcolorspace ! videoscale in front of your video sinks? Cheers -Tim ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Pedro.henrique
On Tue, Aug 31, 2010 at 5:38 PM, Pedro.henrique <[hidden email]> wrote:
i worked very little with video... on windows even less :-). But you could try ffmpegcolorspace: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-ffmpegcolorspace.html like this: gst-launch -v ksvideosrc device-index=0 ! video/x-raw-rgb, width=1024, height=720 ! ffmpegcolorspace ! directdrawsink hope this helps. Best regards, Katcipis
-- http://www.getgnulinux.org/windows ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
you can also use videoparse to set width,height and framerate
2010/9/2 Tiago Katcipis <[hidden email]>
-- Your Sincerely Michael Joachimiak ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Tim-Philipp Müller-2
Thanks for the reply !!
If in case the camera doesn't support RGB? What to do? Can i use de yuv? Thanks |
Free forum by Nabble | Edit this page |