Streaming FLIR Boson video using Gstreamer 1.8.3 in Jetson TX2

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

Streaming FLIR Boson video using Gstreamer 1.8.3 in Jetson TX2

Mah_Singh
Hi. I have installed Ubuntu 16.04 using jetapck 3.3 on my jetson TX2. As
gstreamer comes along with the package so i tested using gst-launch-1.0 a
usb camera (logitech) it works fine. I also use the pieline " gst-launch-1.0
v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1
! videoconvert ! jpegenc ! rtpjpegpay ! udpsink host=xxx.xxx.x.xx port=5600"
for sending the stream, which also works fine. However i have a FLIR Boson
camera which gives me output if i use the pipeline :“gst-launch-1.0 v4l2src
device=/dev/video0 ! videoconvert ! autovideosink”. But it does not work if
i use the pipeline: “gst-launch-1.0 v4l2src device=/dev/video0 !
video/x-raw,width=640,height=512 ! videoconvert ! jpegenc ! rtpjpegpay !
udpsink host=xxx.xxx.x.xx port=5600”.
I always get below error:
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal
data flow error.
Additional debug info:
gstbasesrc.c(2950): gst_base_src_loop ():
/gstpipeline:pipeline0/gstv4l2src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.036807627
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …

can you help me fixing above pipeline??



--
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: Streaming FLIR Boson video using Gstreamer 1.8.3 in Jetson TX2

Ian Davidson
The "reason not-negotiated (-4)" means that one part of the pipleline is
asking another part for something that it cannot provide.

Evidently, it works if you ask for 640x480 but not if you ask for 640x512.

I suspect that your camera cannot provide that size - and hence the error.

Your camera may be able to support a number of different resolutions -
you just have to find hte best one that suits your needs.

On 07/06/2020 17:29, Mah_Singh wrote:

> Hi. I have installed Ubuntu 16.04 using jetapck 3.3 on my jetson TX2. As
> gstreamer comes along with the package so i tested using gst-launch-1.0 a
> usb camera (logitech) it works fine. I also use the pieline " gst-launch-1.0
> v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1
> ! videoconvert ! jpegenc ! rtpjpegpay ! udpsink host=xxx.xxx.x.xx port=5600"
> for sending the stream, which also works fine. However i have a FLIR Boson
> camera which gives me output if i use the pipeline :“gst-launch-1.0 v4l2src
> device=/dev/video0 ! videoconvert ! autovideosink”. But it does not work if
> i use the pipeline: “gst-launch-1.0 v4l2src device=/dev/video0 !
> video/x-raw,width=640,height=512 ! videoconvert ! jpegenc ! rtpjpegpay !
> udpsink host=xxx.xxx.x.xx port=5600”.
> I always get below error:
> Setting pipeline to PAUSED …
> Pipeline is live and does not need PREROLL …
> Setting pipeline to PLAYING …
> New clock: GstSystemClock
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal
> data flow error.
> Additional debug info:
> gstbasesrc.c(2950): gst_base_src_loop ():
> /gstpipeline:pipeline0/gstv4l2src:v4l2src0:
> streaming task paused, reason not-negotiated (-4)
> Execution ended after 0:00:00.036807627
> Setting pipeline to PAUSED …
> Setting pipeline to READY …
> Setting pipeline to NULL …
> Freeing pipeline …
>
> can you help me fixing above pipeline??
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Streaming FLIR Boson video using Gstreamer 1.8.3 in Jetson TX2

Mah_Singh
Hi, Thanks for reply. I have tested the same FLIR BOSON camera with the
pipeline “gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,
width=640, height=512 ! videoconvert ! autovideosink" which gives me output
, where as if i want to send the stream data by changing the sink as
uspsink"gst-launch-1.0 v4l2src device=/dev/video0 !
video/x-raw,width=640,height=512 ! videoconvert ! jpegenc ! rtpjpegpay !
udpsink host=xxx.xxx.x.xx port=5600"  it throws error. I also have checked
the output of camera using v4l2-ctl --all , which shows me width: 640 and
Height:512. So i do not understand why gstreamer throws error if i change
from autovideosink to udpsink . So please suggest which part of the pipeline
is wrong.



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