Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G Streamer cannot transmit to AWS anymore #66

Closed
M-Davies opened this issue Apr 17, 2021 · 1 comment
Closed

G Streamer cannot transmit to AWS anymore #66

M-Davies opened this issue Apr 17, 2021 · 1 comment
Assignees
Labels
bug Something isn't working face Anything that relates to facial recognition
Milestone

Comments

@M-Davies
Copy link
Owner

The last successful time I was able to successfully transmit to AWS was at 18:59:54 on Thursday. Since then, I have been getting this where the timer stays on 0:00:00.8 instead of carrying on.

[13:06:15](base) ➜  scripts git:(camera) ✗ gst-launch-1.0 avfvideosrc device-index=0 ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=20/1 ! x264enc bframes=0 key-int-max=65 bitrate=300 ! video/x-h264,stream-format=avc,alignment=au,profile=baseline ! kvssink stream-name="CameraVideoStream" storage-size=512 access-key="foobar" secret-key="foobar" aws-region="eu-west-1"

Setting pipeline to PAUSED ...
log4cplus:ERROR could not open file ./kvs_log_configuration
INFO - createKinesisVideoClient(): Creating Kinesis Video Client
2021-04-17 13:07:36 [0x10b3ace00] INFO - heapInitialize(): Initializing native heap with limit size 536870912, spill ratio 0% and flags 0x00000001
2021-04-17 13:07:36 [0x10b3ace00] INFO - heapInitialize(): Creating AIV heap.
2021-04-17 13:07:36 [0x10b3ace00] INFO - heapInitialize(): Heap is initialized OK
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - getSecurityTokenHandler invoked
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - Refreshing credentials. Force refreshing: 0 Now time is: 1618661256939629 Expiration: 0
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000010
2021-04-17 13:07:36 [0x10b3ace00] INFO - createDeviceResultEvent(): Create device result event.
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - clientReadyHandler invoked
2021-04-17 13:07:36 [0x10b3ace00] INFO - try creating stream
2021-04-17 13:07:36 [0x10b3ace00] INFO - Creating Kinesis Video Stream CameraVideoStream
2021-04-17 13:07:36 [0x10b3ace00] INFO - createKinesisVideoStream(): Creating Kinesis Video Stream.
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): Kinesis Video Stream Info
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Stream name: CameraVideoStream 
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Streaming type: STREAMING_TYPE_REALTIME 
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Content type: video/h264 
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Max latency (100ns): 600000000
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Fragment duration (100ns): 20000000
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Key frame fragmentation: Yes
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Use frame timecode: Yes
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Absolute frame timecode: Yes
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Nal adaptation flags: 0
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Average bandwith (bps): 4194304
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Framerate: 25
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Buffer duration (100ns): 1200000000
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Replay duration (100ns): 400000000
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Connection Staleness duration (100ns): 600000000
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Store Pressure Policy: 1
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	View Overflow Policy: 1
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Segment UUID: NULL
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Frame ordering mode: 0
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): Track list
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Track id: 1
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Track name: kinesis_video
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Codec id: V_MPEG4/ISO/AVC
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Track type: TRACK_INFO_TYPE_VIDEO
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - logStreamInfo(): 	Track cpd: NULL
2021-04-17 13:07:36 [0x10b3ace00] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2021-04-17 13:07:36 [0x10b3ace00] INFO - writeHeaderCallback(): RequestId: 91d9ee17-f47c-4baf-8ff6-cb09e12baae4
2021-04-17 13:07:37 [0x7000052cb000] DEBUG - describeStreamCurlHandler(): DescribeStream API response: {"StreamInfo":{"CreationTime":1.607290559262E9,"DataRetentionInHours":3,"DeviceName":null,"IngestionConfiguration":null,"KmsKeyId":"arn:aws:kms:eu-west-1:206345857318:alias/aws/kinesisvideo","MediaType":null,"Status":"ACTIVE","StreamARN":"arn:aws:kinesisvideo:eu-west-1:206345857318:stream/CameraVideoStream/1607290559262","StreamName":"CameraVideoStream","Version":"D8l2J2RWO2SBhW3jNA7w"}}
2021-04-17 13:07:37 [0x7000052cb000] INFO - describeStreamResultEvent(): Describe stream result event.
2021-04-17 13:07:37 [0x7000052cb000] WARN - describeStreamResult(): Retention period returned from the DescribeStream call doesn't match the one specified in the StreamInfo
2021-04-17 13:07:37 [0x7000052cb000] WARN - describeStreamResult(): Content type returned from the DescribeStream call doesn't match the one specified in the StreamInfo
2021-04-17 13:07:37 [0x7000052cb000] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000020
2021-04-17 13:07:37 [0x7000052cb000] INFO - writeHeaderCallback(): RequestId: 1b6d3ac7-21ea-4d3c-87ab-9728f1e8899c
2021-04-17 13:07:37 [0x70000534e000] DEBUG - getStreamingEndpointCurlHandler(): GetStreamingEndpoint API response: {"DataEndpoint":"https://s-5ac677c0.kinesisvideo.eu-west-1.amazonaws.com"}
2021-04-17 13:07:37 [0x70000534e000] INFO - getStreamingEndpointResultEvent(): Get streaming endpoint result event.
2021-04-17 13:07:37 [0x70000534e000] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000020, Next state: 0x0000000000000010
2021-04-17 13:07:37 [0x70000534e000] DEBUG - getStreamingTokenHandler invoked
2021-04-17 13:07:37 [0x70000534e000] DEBUG - Refreshing credentials. Force refreshing: 1 Now time is: 1618661257254741 Expiration: 18446744073709551615
2021-04-17 13:07:37 [0x70000534e000] INFO - getStreamingTokenResultEvent(): Get streaming token result event.
2021-04-17 13:07:37 [0x70000534e000] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
2021-04-17 13:07:37 [0x70000534e000] DEBUG - streamReadyHandler invoked
2021-04-17 13:07:37 [0x70000534e000] Stream is ready
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
0:00:00.8 / 99:99:99.
@M-Davies M-Davies added bug Something isn't working face Anything that relates to facial recognition labels Apr 17, 2021
@M-Davies M-Davies added this to the Sprint 9 milestone Apr 17, 2021
@M-Davies M-Davies self-assigned this Apr 17, 2021
@M-Davies M-Davies added this to Backlog in Eye of Horus Board via automation Apr 17, 2021
@M-Davies M-Davies moved this from Backlog to In progress in Eye of Horus Board Apr 17, 2021
@M-Davies
Copy link
Owner Author

Update and restart fixed the issue 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working face Anything that relates to facial recognition
Projects
Development

No branches or pull requests

1 participant