Re: ksvideo...? newbie question

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

Re: ksvideo...? newbie question

filnet
Hi,

Try adding a videoconvert or decodebin between the autovideosrc and the autovideosink.

Philippe.


Le Vendredi 22 décembre 2017 23h14, pangit_ako <[hidden email]> a écrit :


Greetings,

  I am new to GStreamer...please excuse my ignorance...I am trying to learn
this as quickly as I am able.  I have the program(s) installed (Windows
Vista) and have fired up the command line.  I type the following 'test'
pipeline...and it works just fine:

gst-launch-1.0.exe videotestsrc ! autovideosink

This also works fine when I change the properties to 'snow', 'ball',
'red'...etc...

  However when I attempt to use my webcam (by using 'autovideosrc'), I get
an error of which I'm not exactly sure to what it is referring...here is the
command followed by the output generated from GStreamer:

gst-launch-1.0 autovideosrc ! video/x-raw,width=640,height=480 ! jpegenc !
rtpjpegpay ! udpsink host=127.0.0.1 port=5200

"setting pipeline to PAUSED...
"pipeline is live and does not need PREROLL...
ERROR from element
/GstPipeline:pipeline0/GstAutoVideoSrc:autovideosrc0/GstKsVideoSrc:autovideosrc0-actual-src-ksvide:
internal data stream error.
Additional debug info:
gstbasesrc.c(2939):
gst-base-src-loop():/GstPipeline:pipeline0/GstAutoVideoSrc:autovideosrc0/GstKsVideoSrc:autovideosrc0-actual-video-src-ksvide:
streaming stoppped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll...
Setting pipeline to PAUSED...
Setting pipeline to READY...
Setting pipleine to NULL...
Freeing pipeline..."

I believe the same error occurs using an even more simplified command of
the above:

gst-launch-1.0 autovideosrc ! autovideosink

My system is an Acer TM 5720 laptop...Windows Vista OS...I know my built-in
webcam (Acer Crystal Eye) is functioning...because it seems to work without
any problems in other applications...so it is not the webcam or a driver
issue.  I seem to see this same error message no matter what I use as a
'src' element...?  It is possible this is an OS problem (perhaps MS Vista is
not supported)...??? 

  Any insight about what the problem might be would be greatly
appreciated...again remember I'm new to GStreamer so I apologize in advance.
Regards.




--
_______________________________________________
gstreamer-devel mailing list



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ksvideo...? newbie question

pangit_ako
Hello Philippe,

  Thanks for your reply...I tried both 'videoconvert' and 'decodebin'...with
the same exact results...same error as before...

  I used the following pipelines:

 gst-launch-1.0 autovideosrc ! videoconvert ! autovideosink
 gst-launch-1.0 autovideosrc ! decodebin ! autovideosink

  No matter what I attempt that same error message is thrown...I guess I may
have to try this on a machine with a more recent OS...although I would think
I should be able to get this to work on my Vista machine since the
'videotestsrc' works just fine...?

 Thanks for your time in replying to my message, I appreciate that.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ksvideo...? newbie question

Nicolas Dufresne-5


Le 23 déc. 2017 2:21 PM, "pangit_ako" <[hidden email]> a écrit :
Hello Philippe,

  Thanks for your reply...I tried both 'videoconvert' and 'decodebin'...with
the same exact results...same error as before...

  I used the following pipelines:

 gst-launch-1.0 autovideosrc ! videoconvert ! autovideosink
 gst-launch-1.0 autovideosrc ! decodebin ! autovideosink

And what about both ?

  autovideosink ! decodebin ! videoconvert ! autovideosink


  No matter what I attempt that same error message is thrown...I guess I may
have to try this on a machine with a more recent OS...although I would think
I should be able to get this to work on my Vista machine since the
'videotestsrc' works just fine...?

 Thanks for your time in replying to my message, I appreciate that.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel