ErrorFlynn / ytdlp-interface

Windows graphical interface for yt-dlp, designed as a simple YouTube downloader
MIT License
1.11k stars 58 forks source link

Add "extract audio" option to reduce the size of the downloaded file and automatically extract the audio track from dailymotion/facebook videos #135

Closed trimechee closed 5 months ago

trimechee commented 6 months ago

Hello, when we sleep we often listen to rare documentaries in French on crime which only exist on the dailymotion site, for example:

https://www.dailymotion.com/video/x8xx4py

and to save disk space ot quicly transfer the audio files to our samrtphone via snapdrop website for exemple, it will be great to automatically extract the audio track with this automatic audio extraction preset for dailymotion and facebook videos :

-f bestaudio/worst

or

-f bestaudio/worst -x

Thank you so much !

Explanation : With the "bestaudio" preset, according to my test, very fast and smooth downloading no problem, perfect 128 kb/s audio quality, with the "worsaudio" preset, very slow downloading and I was used to using yt-dlp with aria2c to speed up the download with the worstaudio preset, in addition with the "worstaudio" preset, it is impossible to move in the audio file hence the importance of adding "-x" i.e. the perst worst audio must be in the form " -f bestaudio -x", the problem I often use the "bestaudio" preset, but neither dailymotion nor facebook are compatible with this bestaudio preset and I have to delete this preset " bestaudio" when I download dailymotion and facebook videos and reactivate this "bestaudio" preset only with youtube videos which is tiring and boring, so our dream please is to have a universal preset that works with all sites and the preset" -f bestaudio/worst -x" seems to fix this problem and downloads audio from all sites and seems to convert the dailymotion video to an "m4a" audio file in some cases according to my tests like for this video:

https://www.dailymotion.com/video/x8mdd2c

....so my request please is to add an optional preset "-f bestaudio/worst -x" or "-f bestaudio/worst" which works with all sites, thank you very much!

ErrorFlynn commented 5 months ago

I'm having trouble understanding what you're requesting. What do you mean by "preset"? For example, you refer to -f bestaudio/worst -x as a preset, but it's just an argument for yt-dlp, that you can add yourself as a custom argument.

In other words, can't you just check the Custom arguments: checkbox in the interface, and add -f bestaudio/worst -x? Then you can enable/disable that by checking/unchecking the checkbox, or you can select other custom arguments from the drop-down list as needed.

I apologize, but I'm seriously failing to understand the problem you're trying to solve, or why you can't use the Custom arguments feature of the interface to solve it.

trimechee commented 5 months ago

Presets or atguments , this is the same thing : "The GUI offers a configurable list of preset options that can be used to download media if they are provided in multiple formats", ....there is no problem, thank you, i close the issue 👍