Added 1-to-n transcoding #124
Open
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.
A brief explanation
Transcoding is an extension of the decoder - it is based on both the decoder and the encoder
Transcoder specific changes are put together with the decoder's and the encoder's code because from maintenance and support points of view it would be time consuming to track and update everything from the decoder and the encoder. My goal was to minimize the code duplication and efforts for the code maintenance and support (however the transcoder has it's separate own project folder and Main).
The transcoder can be built from it's own folder using CMake in the same way as for the decoder or the encoder (see Build.md in the transcoder's folder).
cmdline example:
./demos/vk-video-trans-test -i input_file_to_reencode --codec hevc --qualityLevel 3 --profile 0 --bitrate 5 --vbvbuf-ratio 2 --numberResizedOutputs 3 1280x720 800x600 352x288