MrS0m30n3 / youtube-dl-gui

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

Either youtube-dl or the GUI should have a Repackage option, not just a Recode #184

Open Twombs opened 7 years ago

Twombs commented 7 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

What operating system do you use ?


Either youtube-dl or the GUI should have a Repackage option, not just a Recode. As you no doubt know, many formats such as FLV and MP4 are container files. So while recoding from one format can take quite a while, depending on the user's system, using ffmpeg to do a codec copy, takes only a few seconds, So please add it, certainly for MP4 and MKV. MKV of course, has the best error correction, and also supports chapters. It would also be great if the GUI allowed chapter creation every 5 minutes (or so) for example, when repackaging to MKV.

MrS0m30n3 commented 7 years ago

Hi @Twombs

First of all, the "recode" option is not available in youtube-dlg. It's in the TODO list but i probably wont add it since i dont think a lot of users will find it usefull.

Now about the "repackage" option. It's available in youtube-dl by using the --postprocessor-args option. Again, not going to add it in the GUI since most users wont use it. But don't get disappointed bacause you can still use the "repackage" option in youtube-dlg by adding this --recode-video mkv --postprocessor-args "-codec copy" in the commands box under the Extra tab.

Now here is my question for your second request. Is ffmpeg able to create chapters every 5 minutes when repackaging to MKV? I searched a little bit and i could not find a way to do it.

Twombs commented 7 years ago

Thanks for the reply and info. I likewise think the 'recode' option as it stands, is not desired by many, especially going by the complaints I have seen about time taken. However, 'recode' coupled with '--postprocessor-args "-codec copy"' would be a different matter, and likely to be popular in my view. I know that with some of the sites I use, you only get an FLV file, which is not supported by many hardware players, certainly in the past. So, like many I imagine, I always have to repackage, usually to MKV. Perhaps you could add your own 'Repackage' option, or display an example of it prominently for all to see and use in your Extra tab.

As for the Chapters I mentioned, I will have to re-investigate (been a while) and get back to you. I recall it is something to do with a template file passed on the command-line. But perhaps that was with MkvToolnix (MkvMerge) or other?

Once again, thanks for making me aware of the specifics of '--postprocessor-args "-codec copy"'. :)