deniscerri / ytdlnis

Android Video/Audio Downloader app using yt-dlp
GNU General Public License v3.0
3.62k stars 123 forks source link

[FEATURE REQUEST] Simplify containers formats #401

Closed Rikiub closed 6 months ago

Rikiub commented 7 months ago

When you download a file, you have the option to select a container, for example, in audio we have m4a, mp3, opus and in video mp4 and mkv. However, many containers are redundant.

Webm does not have much player compatibility (and does not support basic metadata like thumbnails).

Also, formats like flac and wav are used for lossless compressed files, but it doesn't make sense since most web pages compress their files in formats like mp3. You should prioritize containers with lossy compression to avoid confusion.

To add, in yt-dlp using the --audio-format command will convert the file. This will increase the final file size without any difference in quality.

Is your feature request available in yt-dlp? Please describe.

You can change the final container of a file with this command:

--remux-video "webm>mkv:opus>ogg:aac>m4a:alac>m4a".

For example: webm will be remuxed to mkv without convert/recode the file.

Describe the solution you'd like.

Simplify the list of containers to the most essentials, like:

By default, it should look for the best format, but in case the user selects another container, the list of formats could be checked. If the format extension is not found in the selected container, it should notify through the interface that "file would be converted".

zaednasr commented 6 months ago

@Rikiub dm me on telegram so we can talk about with others and find a solution.

SyCoREAPER commented 6 months ago

Please leave the download settings exactly as they are.

They are useful even if some containers seem "redundant". If individuals (I'm not referring to you OP) need something with "less confusing" options, there are plenty of other apps out there.

I love this app precisely for the control it gives.

zaednasr commented 6 months ago

@SyCoREAPER i decided to not change it. At the end of the day, if you dont like some containers, dont choose them. As you said the app gives you options, its up to you to use them or not.

Closing this as i forgot :)