Allow selecting different video or audio presets in the render dialog
@aleb
Submitted by Alex Băluț
Description
In the render dialog you can choose for example the "youtube" render preset. This preset is actually the https://github.com/pitivi/gst-transcoder/blob/master/data/targets/online-service/youtube.gep encoding profile in disguise. This encoding profile has:
[streamprofile-default-1]
parent=default
type=video
format=video/x-h264
preset=Profile YouTube
pass=0
This means "streamprofile-default-1" uses x-h264 video and from that it uses the "Profile YouTube" preset. The "Profile YouTube" preset can be seen in the list of presets for x-h264: https://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/tree/ext/x264/GstX264Enc.prs?id=31e9641c4a869fd698dd059eaf5f53eaeb4a7136#n46
It would be useful to be able to choose an alternative preset for the type of video (or audio) specified by the render preset (AKA encoding profile).
One idea would be to have a new combobox after the combobox in the "Codec:" section, which would show by default the video/audio preset specified in the encoding profile.