transcodebin: need API to only transcode one stream type and let the rest passthrough
I have a container containing one audio and one video stream. I'd like to use transcodebin
to produce a file using a specific container and audio formats but keep the existing video stream as it and just remux it (I don't want to re-encode video to save CPU).
I didn't find any convenient way to do this using the current API. The only option is to configure the profile
with the video format used in the input but I don't know it beforehand.
Maybe we could have a wildcard or passthrough special profile saying "I don't care what the format is, just re-use whatever we already have if supported by the container" ?
cc @thiblahute