Rafostar / gtuber

C library to fetch media info from websites
https://rafostar.github.io/gtuber/
GNU Lesser General Public License v2.1
9 stars 3 forks source link

gtuber-dl: Suggest default selection #56

Open josch opened 1 year ago

josch commented 1 year ago

Hi,

when running gtuber-dl without --non-interactive one is presented with a list of itags. Since gtuber-dl is able to choose a combination of video and audio automatically as well, maybe this option should be suggested as the default so that one can also just hit [Enter] if one is fine with the default?

Such a feature would also make it less ambiguous that it is possible to choose multiple formats at once and how to separate them. For example, the prompt could look like this:

Selected Itags (default: 299,251):
Rafostar commented 1 year ago

One idea I had for this, is to also ask GStreamer what is the best format (codec and resolution) that user can do hardware accelerated decoding of on current device and present that as default. It was postponed for now, cause as I mentioned in other issue, not all formats work currently. So it would be either fixing them first or avoiding them under assumption that they will not work.