Serial port interface on frame grabber

vk_gst venkateshkuppan26 at gmail.com
Fri Jun 22 11:35:49 UTC 2018


Hi Josh,

This is quite interesting and something that I am looking forward for as
well. Did you manage to get this Interface working?

I want to try to write the videotestsrc pattern over serial port and try
reading it onto the other serial port on another PC. Since the reading and
writing to a serial port is file operation, I tried the following to send a
video test pattern from a imx6 board to a PC connected via serial terminal.

imx_board: gst-launch-1.0 -v videotestsrc pattern=18 !
video/x-raw,width=100,height=50 ! imxvpuenc_h264 bitrate=50 ! h264parse !
rtph264pay ! filesink location=/dev/ttyUSB1 

PC: gst-launch-1.0 filesrc location=/ev/ttyUSB1 ! application/x-rtp !
rtph264depay ! h264parse ! avdec_h264 ! autovideosink sync=true

However, I observe the following error at the PC side:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal
data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop ():
/GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


On the PC: cat /dev/ttyUSB1 does show some output, but only a fixed amount
and exits. Its not  like a continous output.

Do you have any suggestions on even if this is possible or not? 



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list