MrS0m30n3 / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
The Unlicense
9.27k stars 1.58k forks source link

allow custom format #516

Closed osascruz closed 3 years ago

osascruz commented 3 years ago

Please follow the guide below

WARNING

All invalid issues will be rejected!!


Before going further


What is the purpose of your issue?

Please remove any sections between (---) if they are not related to your issue


Feature request (request for a new functionality)

Please make sure that the requested feature is NOT already in the TODO list

maybe related to "Mix formats option" ?

What operating system do you use ?

windows10


We need possibility to use format such as -f "bestvideo[height<=?480]+bestaudio[ext=m4a]/best[height<=480]" instead of just because sometimes there is no high resolution video but split video/audio instead,

That would solve the MP3 problem too where it sometimes download 2GB 4K video to strip 60MB of audio content, when m4a file is available, to avoid that the Mp3 format should use : -f "bestaudio[ext=m4a]/best[height<=480]"

to limit to best audio with m4a format (so can be converted to mp3) and if not available, limit the max video size to be downloaded (only care here is the audio, no need to download HUGE 2160p video one !)

maybe it is already supported , but I can't find any INI file or customization of the command line

axcore commented 3 years ago

This project is abandoned. There is a fork here, but I don't if it supports the feature you want.

My own fork enables you to add any command-line options you like: click Edit > General download options, then add something to the Extra command line options box, for example -f "bestaudio[ext=m4a]/best[height<=480]"

osascruz commented 3 years ago

Thank you so much for your prompt reply !