aws / amazon-kinesis-video-streams-parser-library

Amazon Kinesis Video Streams parser library is for developers to include in their applications that makes it easy to work with the output of video streams such as retrieving frame-level objects, metadata for fragments, and more.
Apache License 2.0
103 stars 52 forks source link

SLF4J: Class path contains multiple SLF4J bindings. issue when trying to execute KinesisVideoRendererExample test #125

Closed leo7322 closed 11 months ago

leo7322 commented 3 years ago

I followed the instruction from the tutorial https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-renderer.html. However, when I tried to execute the KinesisVideoRendererExample test in the 6th step, I got the error below. 螢幕擷取畫面 (175) Does anyone know this issue? Also, if the information isn't clear enough, please let me know. Thanks.

swethasree8 commented 2 years ago

@leo7322 Did you find any solution? For me also same issue(SLF4J,log4j error) but tests are passed

leo7322 commented 2 years ago

@swethasree8 No, I did not find a solution. Instead, I found an alternative. Since I was trying to use the GetMedia API in this library, I use the following resources. https://github.com/aws-samples/amazon-kinesis-video-streams-media-viewer For your information.

gtapizquent commented 2 years ago

Running into this same issue.

sirknightj commented 11 months ago

Just ran this sample following the documentation, verified the media in the aws management console, and did not see those warning log lines. Please try the latest and see if the issue persists. If it does, please let us know!

sirknightj commented 11 months ago

Additional testing info: Tested both using IntelliJ and using command line, didn't see anything either time:

mvn test -Dtest=KinesisVideoRendererExampleTest
[INFO] --- surefire:3.1.2:test (default-test) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.amazonaws.kinesisvideo.parser.examples.KinesisVideoRendererExampleTest
[WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 12.87 s -- in com.amazonaws.kinesisvideo.parser.examples.KinesisVideoRendererExampleTest
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 2
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16.907 s
[INFO] Finished at: 2023-09-19T20:51:55-07:00
[INFO] ------------------------------------------------------------------------