Trouble in streaming video through Gstreamer for AWS Kinesis #1886
Replies: 1 comment
-
Hello, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Smart folks ,
I am trying to stream video through Gstreamer. my goal is to transfer video through AWS kinesis . but i am facing issue i am sharing the logs for the pipeline and kws kinesis command .we need to stream viddeo-only
GST_DEBUG=3 gst-launch-1.0 uridecodebin uri=rtsp://:@xx.xx.xx.xx/stream1 ! videoconvert ! x264enc bframes=0 speed-preset=veryfast bit
rate=512 byte-stream=TRUE tune=zerolatency ! video/x-h264,stream-format=byte-str
eam,alignment=au,profile=baseline ! queue ! appsink sync=TRUE emit-signals=TRUE
name=appsink-video
0:00:15.271868365 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:15.272990948 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:15.273685665 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:15.274439998 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped
0:00:15.275113823 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped
0:00:15.275775565 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:15.276475040 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:15.277237365 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:15.278065123 161 0x4c6840 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:22.914407109 160 0x15e580 WARN GST_REGISTRY gstregistry.c:1845:gst_update_registry: registry update failed: Error writing registry cache to /.cache/gstreamer-1.0/registry.arm.bin: No such file or directory
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
0:00:23.264832328 160 0x203af0 ERROR default gstrtspconnection.c:960:gst_rtsp_connection_connect_with_response: failed to connect: Could not connect to 10.10.100.84: Network is unreachable
0:00:23.265948994 160 0x203af0 ERROR rtspsrc gstrtspsrc.c:4168:gst_rtsp_conninfo_connect:
./kvsWebrtcClientMasterGstSample video-only rtspsrc rtsp://xxxxxxxxxxxxxxxxxxxx
2023-12-12 14:22:34.228 PROFILE createRtcCertificate(): [Certificate creation time] Time taken: 103 ms
2023-12-12 14:22:35.208 PROFILE createRtcCertificate(): [Certificate creation time] Time taken: 83 ms
2023-12-12 14:22:36.208 PROFILE createRtcCertificate(): [Certificate creation time] Time taken: 83 ms
[2023/12/12 14:22:57:4514] N: LWS: 4.2.1-v4.2.2, loglevel 7
[2023/12/12 14:22:57:4520] N: NET CLI H1 H2 WS ConMon IPv6-absent
[2023/12/12 14:22:57:4532] N: ++ [wsi|0|pipe] (1)
[2023/12/12 14:22:57:4540] N: ++ [vh|0|netlink] (1)
[2023/12/12 14:22:57:4547] N: ++ [vh|1|default||-1] (2)
2023-12-12 14:22:57.461 PROFILE executeGetTokenSignalingState(): [Get token call] Time taken: 0 ms
2023-12-12 14:22:57.462 PROFILE createSignalingClientSync(): [Create signaling client] Time taken: 19 ms
2023-12-12 14:22:57.462 PROFILE executeDescribeSignalingState(): [Describe signaling call] Time taken: 0 ms
2023-12-12 14:22:57.463 PROFILE executeGetEndpointSignalingState(): [Get endpoint signaling call] Time taken: 0 ms
[2023/12/12 14:22:57:4660] N: ++ [wsicli|0|POST/h1/r-93960ca9.kinesisvideo.us-west-2.amazonaws.] (1)
[2023/12/12 14:22:58:6256] N: -- [wsicli|0|POST/h1/r-93960ca9.kinesisvideo.us-west-2.amazonaws.] (0) 1.159s
2023-12-12 14:22:58.626 PROFILE executeGetIceConfigSignalingState(): [Get ICE config signaling call] Time taken: 1162 ms
2023-12-12 14:22:58.626 PROFILE signalingClientFetchSync(): [Fetch signaling client] Time taken: 1164 ms
[2023/12/12 14:22:58:6303] N: ++ [wsicli|1|WS/h1/m-11e07cd0.kinesisvideo.us-west-2.amazonaws.co] (1)
2023-12-12 14:22:59.616 PROFILE executeConnectSignalingState(): [Connect signaling call] Time taken: 988 ms
2023-12-12 14:22:59.616 PROFILE signalingClientConnectSync(): [Connect signaling client] Time taken: 989 ms
2023-12-12 14:22:59.616 PROFILE initSignaling(): [Signaling Get token] 0 ms
2023-12-12 14:22:59.617 PROFILE initSignaling(): [Signaling Describe] 0 ms
2023-12-12 14:22:59.617 PROFILE initSignaling(): [Signaling Describe Media] 0 ms
2023-12-12 14:22:59.617 PROFILE initSignaling(): [Signaling Create Channel] 0 ms
2023-12-12 14:22:59.618 PROFILE initSignaling(): [Signaling Get endpoint] 0 ms
2023-12-12 14:22:59.618 PROFILE initSignaling(): [Signaling Get ICE config] 1162 ms
2023-12-12 14:22:59.618 PROFILE initSignaling(): [Signaling Connect] 988 ms
2023-12-12 14:22:59.619 PROFILE initSignaling(): [Signaling create client] 19 ms
2023-12-12 14:22:59.619 PROFILE initSignaling(): [Signaling fetch client] 1164 ms
2023-12-12 14:22:59.619 PROFILE initSignaling(): [Signaling connect client] 989 ms
2023-12-12 14:23:04.973 WARN getIpAddrFromDnsHostname(): Received unexpected hostname format: stun.kinesisvideo.us-west-2.amazonaws.com
2023-12-12 14:23:04.974 WARN getIpWithHostName(): Parsing for address failed for stun.kinesisvideo.us-west-2.amazonaws.com, fallback to getaddrinfo
2023-12-12 14:23:05.091 PROFILE getIpWithHostName(): ICE Server address for stun.kinesisvideo.us-west-2.amazonaws.com with getaddrinfo: 52.40.66.127
2023-12-12 14:23:05.091 PROFILE createIceAgent(): [ICE server parsing] Time taken: 118 ms
2023-12-12 14:23:05.092 PROFILE getIpWithHostName(): ICE Server address for 54-188-248-14.t-0b38280f.kinesisvideo.us-west-2.amazonaws.com: 54.188.248.14
2023-12-12 14:23:05.092 PROFILE createIceAgent(): [ICE server parsing] Time taken: 0 ms
2023-12-12 14:23:05.093 PROFILE getIpWithHostName(): ICE Server address for 54-188-248-14.t-0b38280f.kinesisvideo.us-west-2.amazonaws.com: 54.188.248.14
2023-12-12 14:23:05.093 PROFILE createIceAgent(): [ICE server parsing] Time taken: 0 ms
2023-12-12 14:23:05.094 PROFILE getIpWithHostName(): ICE Server address for 54-188-248-14.t-0b38280f.kinesisvideo.us-west-2.amazonaws.com: 54.188.248.14
2023-12-12 14:23:05.094 PROFILE createIceAgent(): [ICE server parsing] Time taken: 0 ms
2023-12-12 14:23:05.095 PROFILE createPeerConnection(): [Peer connection object creation time] Time taken: 129 ms
2023-12-12 14:23:05.108 PROFILE iceAgentStartGathering(): [Host candidate gathering from local interfaces] Time taken: 0 ms
2023-12-12 14:23:05.109 PROFILE iceAgentStartGathering(): [Host candidates setup time] Time taken: 0 ms
2023-12-12 14:23:05.110 PROFILE iceAgentStartGathering(): [Srflx candidates setup time] Time taken: 0 ms
2023-12-12 14:23:05.112 PROFILE iceAgentStartGathering(): [Relay candidates setup time] Time taken: 2 ms
2023-12-12 14:23:05.127 PROFILE signalingSendMessageSync(): [Offer Received to Answer Sent time] Time taken: 161 ms
Beta Was this translation helpful? Give feedback.
All reactions