Picture Seetings

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Picture Seetings

Pedro.henrique
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!
Reply | Threaded
Open this post in threaded view
|

Re: Picture Seetings

Pedro.henrique
  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 . . .
Reply | Threaded
Open this post in threaded view
|

Re: Picture Seetings

Pedro.henrique
Someone please.
Reply | Threaded
Open this post in threaded view
|

Re: Picture Settings

Tim-Philipp Müller-2
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
Reply | Threaded
Open this post in threaded view
|

Re: Picture Seetings

Tiago Katcipis
In reply to this post by Pedro.henrique


On Tue, Aug 31, 2010 at 5:38 PM, Pedro.henrique <[hidden email]> 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

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
 



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 . . .
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Picture-Seetings-tp2402216p2402283.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Picture Seetings

Michael Joachimiak
you can also use videoparse to set width,height and framerate

2010/9/2 Tiago Katcipis <[hidden email]>


On Tue, Aug 31, 2010 at 5:38 PM, Pedro.henrique <[hidden email]> 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

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
 



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 . . .
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Picture-Seetings-tp2402216p2402283.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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



--
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




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Picture Settings

Pedro.henrique
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