Skip to content

Conversation

@t-boiko
Copy link
Contributor

@t-boiko t-boiko commented Mar 3, 2025

A brief explanation

Transcoding is an extension of the decoder - it is based on both the decoder and the encoder

  • transcoding from one codec to another is supported (you can specify a target bitrate, a vbv buffer relative size, vbr or cbr as well);
  • transcoding to multiple different resolutions.

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

@t-boiko t-boiko closed this Mar 26, 2025
@t-boiko t-boiko force-pushed the transcoding-1-to-n branch from 9b1081e to b9df139 Compare March 26, 2025 00:18
@t-boiko t-boiko reopened this Mar 26, 2025
@t-boiko t-boiko force-pushed the transcoding-1-to-n branch 2 times, most recently from 159de1f to f69924a Compare May 18, 2025 16:55
@t-boiko t-boiko force-pushed the transcoding-1-to-n branch 5 times, most recently from 4d342f0 to 94934de Compare May 31, 2025 13:01
@t-boiko t-boiko force-pushed the transcoding-1-to-n branch 4 times, most recently from d48d31e to 45b958c Compare June 18, 2025 21:14
@t-boiko t-boiko force-pushed the transcoding-1-to-n branch 3 times, most recently from 319fa6c to e0c9660 Compare October 15, 2025 19:36
Signed-off-by: Tymur Boiko <[email protected]>
@t-boiko t-boiko force-pushed the transcoding-1-to-n branch from e0c9660 to 02a20b9 Compare October 15, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant