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

Unable to build in Intelji #188

Closed bradasteiner closed 9 months ago

bradasteiner commented 10 months ago

I'm getting the following error:

java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

How can I resolve this?

bradasteiner commented 10 months ago

I am able to build from the command line however. But when running mvn clean test, it seems like none of the tests are run?

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@2ff4f00f
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.308 sec

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
sirknightj commented 10 months ago

Hi @bradasteiner, could you try running with Java 11?

bradasteiner commented 10 months ago

Hey I tried setting it to Java 11 like this: image But I am still getting the same error

sirknightj commented 10 months ago

In the command line, please double check that the correct Java version is used. IntelliJ and the command-line may be using different java versions. You can do this by running echo $JAVA_HOME and java --version. If it's different, please set the JAVA_HOME environment variable in your terminal to the 11 equivalent.

Here is the output of my terminal:

echo $JAVA_HOME                         
/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home
java --version
openjdk 11.0.21 2023-10-17 LTS
OpenJDK Runtime Environment Corretto-11.0.21.9.1 (build 11.0.21+9-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.21.9.1 (build 11.0.21+9-LTS, mixed mode)

mvn clean test                                    
[INFO] Scanning for projects...
[INFO] 
[INFO] -----< com.amazonaws:amazon-kinesis-video-streams-parser-library >------
[INFO] Building Amazon Kinesis Video Streams Parser Library 1.2.5
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Deleting /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/target
[INFO] 
[INFO] --- lombok:1.18.20.0:delombok (delombok) @ amazon-kinesis-video-streams-parser-library ---
Copying resource file: com/amazonaws/kinesisvideo/parser/examples/.DS_Store
/Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMerger.java:150: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static OutputSegmentMerger createToStopAtFirstNonMatchingSegment(final OutputStream outputStream) {
                                      ^
File: /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/kinesis/KinesisDataStreamsWorker.java [delomboked]
File: /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/kinesis/KinesisRecordProcessor.java [unchanged]
File: /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvElementVisitException.java [unchanged]
File: /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvElementVisitor.java [unchanged]
File: /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/visitors/CountVisitor.java [delomboked]
File: /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/visitors/ElementSizeAndOffsetVisitor.java [delomboked]
...
[INFO] Delombok complete.
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ amazon-kinesis-video-streams-parser-library ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources from src/main/resources to target/classes
[INFO] 
[INFO] --- compiler:3.9.0:compile (default-compile) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 92 source files to /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/target/classes
[INFO] /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/target/generated-sources/delombok/com/amazonaws/kinesisvideo/parser/kinesis/KinesisDataStreamsWorker.java: Some input files use or override a deprecated API.
[INFO] /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/target/generated-sources/delombok/com/amazonaws/kinesisvideo/parser/kinesis/KinesisDataStreamsWorker.java: Recompile with -Xlint:deprecation for details.
[INFO] /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/target/generated-sources/delombok/com/amazonaws/kinesisvideo/parser/mkv/MkvDataElement.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/target/generated-sources/delombok/com/amazonaws/kinesisvideo/parser/mkv/MkvDataElement.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- lombok:1.18.20.0:testDelombok (test-delombok) @ amazon-kinesis-video-streams-parser-library ---
[WARNING] Skipping Test Delombok; no source to process.
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ amazon-kinesis-video-streams-parser-library ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 16 resources from src/test/resources to target/test-classes
[INFO] 
[INFO] --- compiler:3.9.0:testCompile (default-testCompile) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/target/test-classes
[INFO] /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMergerTest.java: /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMergerTest.java uses or overrides a deprecated API.
[INFO] /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMergerTest.java: Recompile with -Xlint:deprecation for details.
[INFO] /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/utilities/FragmentMetadataVisitorTest.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/me/Downloads/tests/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/utilities/FragmentMetadataVisitorTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[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 TestSuite
[ERROR] Tests run: 68, Failures: 1, Errors: 0, Skipped: 9, Time elapsed: 13.30 s <<< FAILURE! -- in TestSuite
bradasteiner commented 10 months ago

Ok I set java to version 11 on the command line as well:

java --version
openjdk 11.0.22 2024-01-16 LTS
OpenJDK Runtime Environment Corretto-11.0.22.7.1 (build 11.0.22+7-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.22.7.1 (build 11.0.22+7-LTS, mixed mode)
echo $JAVA_HOME 
/usr/lib/jvm/java-11-amazon-corretto

But I am still seeing 0 tests run:

mvn clean test
[INFO] Scanning for projects...
[INFO] 
[INFO] -----< com.amazonaws:amazon-kinesis-video-streams-parser-library >------
[INFO] Building Amazon Kinesis Video Streams Parser Library 1.2.5
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Deleting /home/brad/projects/amazon-kinesis-video-streams-parser-library/target
[INFO] 
[INFO] --- lombok-maven-plugin:1.18.20.0:delombok (delombok) @ amazon-kinesis-video-streams-parser-library ---
Copying resource file: com/amazonaws/kinesisvideo/parser/examples/.DS_Store
/home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMerger.java:150: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static OutputSegmentMerger createToStopAtFirstNonMatchingSegment(final OutputStream outputStream) {
                                      ^
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/kinesis/KinesisDataStreamsWorker.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/kinesis/KinesisRecordProcessor.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/PutMediaWorker.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/BoundingBoxImagePanel.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/GetMediaForFragmentListWorker.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/ImagePanel.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/KinesisVideoRekognitionIntegrationExample.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/KinesisVideoGStreamerPiperExample.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/KinesisVideoFrameViewer.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/StreamOps.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/KinesisVideoBoundingBoxFrameViewer.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/ListFragmentWorker.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/lambda/DDBBasedFragmentCheckpointManager.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/lambda/FragmentCheckpointManager.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/lambda/EncodedFrame.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/lambda/KVSMediaSource.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/lambda/FragmentCheckpoint.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/lambda/KinesisVideoRekognitionLambdaExample.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/lambda/H264FrameProcessor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/GetMediaWorker.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/KinesisVideoCommon.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/KinesisVideoExample.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/ContinuousGetMediaWorker.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/examples/KinesisVideoRendererExample.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/KinesisVideo.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/FaceType.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/DetectedFace.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/Face.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/RekognizedOutput.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/MatchedFace.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/RekognitionOutput.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/StreamProcessorInformation.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/RekognitionInput.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/RekognizedFragmentsIndex.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/InputInformation.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/Quality.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/Pose.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/FaceSearchResponse.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/BoundingBox.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/pojo/Landmark.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/rekognition/processor/RekognitionStreamProcessor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/FrameVisitor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/FragmentMetadataVisitor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/FrameRendererVisitor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/MkvChildElementCollector.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/consumer/GetMediaResponseStreamConsumer.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/consumer/FragmentMetadataCallback.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/consumer/MergedOutputPiperFactory.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/consumer/FragmentProgressTracker.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/consumer/MergedOutputPiper.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/consumer/GetMediaResponseStreamConsumerFactory.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/MkvTrackMetadata.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/H264FrameDecoder.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/H264BoundingBoxFrameRenderer.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/H264FrameRenderer.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/BufferedImageUtil.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/FragmentMetadata.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/DynamoDBHelper.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/MkvTag.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/SimpleFrameVisitor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/ProducerStreamUtil.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/H264FrameEncoder.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMerger.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvValue.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvTypeInfoProvider.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvStartMasterElement.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/visitors/CopyVisitor.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/visitors/ElementSizeAndOffsetVisitor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/visitors/CountVisitor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/visitors/CompositeMkvElementVisitor.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/Frame.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvEndMasterElement.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/FrameProcessException.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvStreamReaderCallback.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvElement.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvDataElement.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvElementVisitor.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/MkvElementVisitException.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/mkv/StreamingMkvReader.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/InputStreamParserByteSource.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/EBMLTypeInfo.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/MkvTypeInfos.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/ParserBulkByteSource.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/TrackingReplayableIdAndSizeByteSource.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/EBMLUtils.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/EBMLElementMetaData.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/EBMLTypeInfoProvider.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/ParserByteSource.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/EBMLParserInternalElement.java [delomboked]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/EBMLParserCallbacks.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/ReplayIdAndSizeBuffer.java [unchanged]
File: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/main/java/com/amazonaws/kinesisvideo/parser/ebml/EBMLParser.java [delomboked]
[INFO] Delombok complete.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ amazon-kinesis-video-streams-parser-library ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 92 source files to /home/brad/projects/amazon-kinesis-video-streams-parser-library/target/classes
[INFO] /home/brad/projects/amazon-kinesis-video-streams-parser-library/target/generated-sources/delombok/com/amazonaws/kinesisvideo/parser/kinesis/KinesisDataStreamsWorker.java: Some input files use or override a deprecated API.
[INFO] /home/brad/projects/amazon-kinesis-video-streams-parser-library/target/generated-sources/delombok/com/amazonaws/kinesisvideo/parser/kinesis/KinesisDataStreamsWorker.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/brad/projects/amazon-kinesis-video-streams-parser-library/target/generated-sources/delombok/com/amazonaws/kinesisvideo/parser/utilities/FragmentMetadataVisitor.java: Some input files use unchecked or unsafe operations.
[INFO] /home/brad/projects/amazon-kinesis-video-streams-parser-library/target/generated-sources/delombok/com/amazonaws/kinesisvideo/parser/utilities/FragmentMetadataVisitor.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- lombok-maven-plugin:1.18.20.0:testDelombok (test-delombok) @ amazon-kinesis-video-streams-parser-library ---
[WARNING] Skipping Test Delombok; no source to process.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ amazon-kinesis-video-streams-parser-library ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 16 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /home/brad/projects/amazon-kinesis-video-streams-parser-library/target/test-classes
[INFO] /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMergerTest.java: /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMergerTest.java uses or overrides a deprecated API.
[INFO] /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/utilities/OutputSegmentMergerTest.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/mkv/MkvValueTest.java: Some input files use unchecked or unsafe operations.
[INFO] /home/brad/projects/amazon-kinesis-video-streams-parser-library/src/test/java/com/amazonaws/kinesisvideo/parser/mkv/MkvValueTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Surefire report directory: /home/brad/projects/amazon-kinesis-video-streams-parser-library/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@69a3d1d
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.365 s
[INFO] Finished at: 2024-01-25T08:42:08-08:00
[INFO] ------------------------------------------------------------------------
bradasteiner commented 9 months ago

Do you have any other suggestions? I am running Ubuntu 22. Is there a list of setup instructions I can follow to reproduce? Or something like a docker container?

bradasteiner commented 9 months ago

Or alternatives in any other languages, such as python?

bradasteiner commented 9 months ago

I ended up using this for python which works well https://github.com/aws-samples/amazon-kinesis-video-streams-consumer-library-for-python