Sample example using valve module, flush All Queues and seek feature #354
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #233
Description
PR contains two samples which uses three features of main Apra Pipes
Sample 1. creates Thumbnail using Valve module.
The pipeline reads MP4 video using Mp4ReaderSource Module and sends H264 encoded frames to H264Decoder Module then it send YUV420 encoded frames to valve module from valve module it take only one frame (1st frame) and send it to ColorConversion module where YUV420 frame gets converted to RGB raw frame then its sent to JPEGEncoderNVJPEG to covert it to jpg image and then sent to FileWriterModule to write the file.
Sample 2. start video from beginning using flush all queues and seek features
The pipeline reads MP4 video using Mp4ReaderSource Module and sends H264 encoded frames to H264Decoder Module then it send YUV420 encoded frames to ColorConversion module where YUV420 frame gets converted to RGB raw frame and then given to ImageViewerModule to render on screen after starting pipeline I am calling flushAllQueuesAndSeek function to restart video from beginning.
Precise description of the changes in this pull request
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Other
Screenshots (if applicable)
Checklist