AW: AW: Serial port interface on frame grabber
vk_gst
venkateshkuppan26 at gmail.com
Tue Jun 26 11:28:11 UTC 2018
Hi Keith,
Here is a little more debug info for the command:
0:00:00.115241515 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2504:gst_bin_element_set_state:<filesrc0> current NULL pending
VOID_PENDING, desired next READY
0:00:00.115251856 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2676:gst_element_continue_state:<filesrc0> completed state
change to READY
0:00:00.115261444 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about
state-changed NULL to READY (VOID_PENDING pending)
0:00:00.115274913 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed
state to 2(READY) successfully
0:00:00.115288368 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2651:gst_element_continue_state:<pipeline0> committing state
from NULL to READY, pending PAUSED, next PAUSED
0:00:00.115299121 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying
about state-changed NULL to READY (PAUSED pending)
0:00:00.115321866 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2658:gst_element_continue_state:<pipeline0> continue state
change READY to PAUSED, final PAUSED
0:00:00.115340443 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2504:gst_bin_element_set_state:<autovideosink0> current READY
pending VOID_PENDING, desired next PAUSED
0:00:00.115356984 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2504:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage>
current READY pending VOID_PENDING, desired next PAUSED
0:00:00.115377702 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2958:gst_bin_change_state_func:<autovideosink0> child
'autovideosink0-actual-sink-xvimage' is changing state asynchronously to
PAUSED
0:00:00.115394251 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2958:gst_bin_change_state_func:<pipeline0> child 'autovideosink0'
is changing state asynchronously to PAUSED
0:00:00.115406879 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2504:gst_bin_element_set_state:<avdec_h264-0> current READY pending
VOID_PENDING, desired next PAUSED
0:00:00.115478955 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2676:gst_element_continue_state:<avdec_h264-0> completed state
change to PAUSED
0:00:00.115488874 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2579:_priv_gst_element_state_changed:<avdec_h264-0> notifying
about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.115503618 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'avdec_h264-0'
changed state to 3(PAUSED) successfully
0:00:00.115516898 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2504:gst_bin_element_set_state:<h264parse0> current READY pending
VOID_PENDING, desired next PAUSED
0:00:00.115580248 8581 0x563087d8f200 INFO filesrc
gstfilesrc.c:468:gst_file_src_start:<filesrc0> opening file /dev/ttyUSB0
0:00:00.119904565 8581 0x563087d8f200 WARN basesrc
gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not activated
yet
0:00:00.120137836 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2676:gst_element_continue_state:<h264parse0> completed state
change to PAUSED
0:00:00.120157032 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2579:_priv_gst_element_state_changed:<h264parse0> notifying
about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.120185395 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'h264parse0'
changed state to 3(PAUSED) successfully
0:00:00.120205986 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2504:gst_bin_element_set_state:<capsfilter0> current READY pending
VOID_PENDING, desired next PAUSED
0:00:00.120226662 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state
change to PAUSED
0:00:00.120237123 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2579:_priv_gst_element_state_changed:<capsfilter0> notifying
about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.120251129 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'capsfilter0'
changed state to 3(PAUSED) successfully
0:00:00.120269258 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2504:gst_bin_element_set_state:<filesrc0> current READY pending
VOID_PENDING, desired next PAUSED
0:00:00.120285094 8581 0x563087d8f200 INFO filesrc
gstfilesrc.c:468:gst_file_src_start:<filesrc0> opening file /dev/ttyUSB0
0:00:00.121527616 8581 0x563087d8f200 INFO basesrc
gstbasesrc.c:1358:gst_base_src_do_seek:<filesrc0> seeking: bytes segment
start=0, offset=0, stop=-1, rate=1,000000, applied_rate=1,000000,
flags=0x00, time=0, base=0, position 0, duration -1
0:00:00.121566441 8581 0x563087d8f200 INFO task
gsttask.c:457:gst_task_set_lock: setting stream lock 0x563087fc2230 on task
0x563087fc74d0
0:00:00.121574640 8581 0x563087d8f200 INFO GST_PADS
gstpad.c:6131:gst_pad_start_task:<filesrc0:src> created task 0x563087fc74d0
0:00:00.121653818 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2676:gst_element_continue_state:<filesrc0> completed state
change to PAUSED
0:00:00.121664466 8581 0x563087d8f200 INFO GST_STATES
gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about
state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.121678017 8581 0x563087d8f200 INFO GST_STATES
gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed
state to 3(PAUSED) successfully
0:00:00.121717805 8581 0x56308806cd40 INFO GST_ELEMENT_PADS
gstelement.c:917:gst_element_get_static_pad: no such pad 'sink' in element
"filesrc0"
0:00:02.657744831 8581 0x56308806cd40 INFO GST_EVENT
gstevent.c:895:gst_event_new_segment: creating segment event bytes segment
start=0, offset=0, stop=-1, rate=1,000000, applied_rate=1,000000,
flags=0x00, time=0, base=0, position 0, duration -1
0:00:02.657817130 8581 0x56308806cd40 INFO basesrc
gstbasesrc.c:2945:gst_base_src_loop:<filesrc0> marking pending DISCONT
0:00:02.658027126 8581 0x56308806cd40 INFO GST_EVENT
gstevent.c:814:gst_event_new_caps: creating caps event video/x-h264,
width=(int)100, height=(int)50, framerate=(fraction)10/1
0:00:02.658116708 8581 0x56308806cd40 ERROR h264parse
gsth264parse.c:2588:gst_h264_parse_set_caps: video/x-h264 caps without
codec_data or stream-format
And the most important are these lines:
root at linux-GP60-2PE:/home/linux# GST_DEBUG=2 gst-launch-1.0 -v filesrc
location=/dev/ttyUSB0 ! $CAPS ! h264parse ! avdec_h264 ! autovideosink >
/home/linux/file1.txt
0:00:00.065300808 8529 0x562f49a33920 WARN basesrc
gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not activated
yet
0:00:02.470276383 8529 0x562f49a00140 ERROR h264parse
gsth264parse.c:2588:gst_h264_parse_set_caps: video/x-h264 caps without
codec_data or stream-format
It says that the caps are without the codec_data or stream-format. Does this
mean that the encoded data which is written on the imx6 board to the serial
port gets converted to some other format and hence at PC, the gstreamer is
unable to decode it back to a video data.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list