Giter VIP home page Giter VIP logo

Comments (8)

jely2002 avatar jely2002 commented on July 26, 2024 1

Hi Vincenzo,

I am currently working on v2.0.0 of this app. This version will support multiple downloads at the same time.

Metadata will now get downloaded along with the video in v2.0.0 (see the commit reference above).
I have achieved this by adding the --add-metadata flag as described in the ytdl documentation.

V2.0.0 has an option to view some of the video metadata as well. Below a sneak peak of the multiple download system and the info/metadata modal.

v2.0.0 sneakpeak

I hope I have answered your question and implemented the requested feature. Let me know if you happen to have another question.

from youtube-dl-gui.

jely2002 avatar jely2002 commented on July 26, 2024 1

So it would be a kind of muxing what youtube-dl does (in merging audio and video files, without conversion)?

Yes that is exactly what it does.

Would be very nice! Thank you.

Great I will implement it then.

create a manual for each single setting of the tool

Great idea, I will make a wiki page with explanations of all settings.

and to put all the "niche" options in the settings

The settings menu in v2.0.0 looks like this. All the niche options can be added to the advanced section.

the v2 settings menu

Hope everything is resolved and answered now!

from youtube-dl-gui.

vincenzogianfelice avatar vincenzogianfelice commented on July 26, 2024 1

Yes!..Perfect.

The settings menu in v2.0.0 looks like this. All the niche options can be added to the advanced section.

Obviously, in this section (advanced settings) the more options you enter the better ;)

Thanks

from youtube-dl-gui.

vincenzogianfelice avatar vincenzogianfelice commented on July 26, 2024

thanks for your answer. First of all I wanted to ask you if this new feature (of metadata) could be selected by the user ... in the sense that the user decides when to download the metadata. Furthermore (in the metadata) are also contained the description, the genre of the video, etc ... in short, the classic things of a youtube video?

And finally I wanted to ask you other things, since surely in this case you will know more than me. I have tried many downloaders: the first is youtube-dl-gui and recently yours too. I tried to download the same video and after downloading it I compared the hash of the two files (the first file I downloaded with youtube-dl-gui, that of mrs0m30n3, while the second I downloaded with your tool), and the files do not match, even if they are the same video and there are the same settings. Why does this happen? Does your tool (or more generally) youtube-dl apply conversions? And if so, how can I download a video in a "genuine" way (as it is) without any kind of conversion?

Thank you and sorry for my English!

from youtube-dl-gui.

jely2002 avatar jely2002 commented on July 26, 2024

What metadata gets included and can it be a setting?

The --add-metadata flag adds the video title and the video description as metadata. And some other data if youtube-dl can find it.
I guess I could add a setting to toggle this behavior.
V2.0.0 does offer an option to download the view count, likes, etc as a seperate JSON file.

Why are the hashes different?

If someone uploads a video to YouTube, it will transcode the video to all the possible video formats YouTube serves. After transcoding I believe the original gets discarded (not sure). When youtube-dl then downloads the video, it has multiple formats and files to choose from. For 720p and lower youtube serves the video and audio from one file. But starting from 1080p and above, YouTube serves video and audio from seperate files. After downloading these files, youtube-dl uses ffmpeg to merge the files together. In general YouTube has a webm and a mp4 version of all video files, sometimes YouTube even has different codecs. I think this may be causing the different hash values. One program might use the webm variants and the other might use the mp4 variants. The same applies to audio, YouTube serves webm audio as well as m4a audio. And some programs might write metadata or add subtitles, all these things contribute to a varying hash value.

All available formats for a standard 1080p60 video:
all available video formats

Can one download the original video?

It is impossible to download the genuine uploaded video from YouTube using youtube-dl, because YouTube transcodes the video to the suiting codecs, resolutions and container formats.
If you want no conversion at all you would need to use the command line and not include ffmpeg so nothing gets converted.

Hope this looong answer was of interest to you 😄

from youtube-dl-gui.

vincenzogianfelice avatar vincenzogianfelice commented on July 26, 2024

First of all I have to congratulate you on the graphical interface. She's very beautiful!.
Regarding this:

It is impossible to download the genuine uploaded video from YouTube using youtube-dl, because YouTube transcodes the video to the suiting codecs, resolutions and container formats.
If you want no conversion at all you would need to use the command line and not include ffmpeg so nothing gets converted.

Hope this looong answer was of interest to you

But shouldn't these tools be just wrappers for the youtube-dl tool? In this case, why is it not possible to download without any conversion also from your tool (for example)?

And one more thing ... if I download it without conversion, what is the format of the video? And what changes between this video and the one downloaded with your tool (always as an example)?

I mean, what I ask myself ... if it is possible to download the video without conversion ("original"... even if not original.), why should the tools, in turn, perform an "additional" conversion?

from youtube-dl-gui.

jely2002 avatar jely2002 commented on July 26, 2024

My tool applies no additional conversion. Youtube-dl itself merges the audio and video together so it becomes one file.
And if the --recode-video argument gets passed, youtube-dl will use ffmpeg to recode the video to the specified format. My tool does not convert anything other than the merging (and sometimes recoding) that youtube-dl does.

I could add a setting to v2.0.0 that will allow you to keep the unmerged files. This way when you download a video that needs to be merged you will end up with the merged file and the seperate files downloaded. Is that something you would be interested in?

If you download without conversion you will end up with a .mp4 or a .mkv file format. If you download without conversion and without merging you end up with a .webm or .mp4 video file and a .webm or .m4a audio file.

from youtube-dl-gui.

vincenzogianfelice avatar vincenzogianfelice commented on July 26, 2024

My tool applies no additional conversion. Youtube-dl itself merges the audio and video together so it becomes one file.
And if the --recode-video argument gets passed, youtube-dl will use ffmpeg to recode the video to the specified format. My tool does not convert anything other than the merging (and sometimes recoding) that youtube-dl does.

So it would be a kind of muxing what youtube-dl does (in merging audio and video files, without conversion)?

I could add a setting to v2.0.0 that will allow you to keep the unmerged files. This way when you download a video that needs to be merged you will end up with the merged file and the seperate files downloaded. Is that something you would be interested in?

Would be very nice! Thank you.
Indeed, I would say (since it can be useful to many, not just me) to leave the "intro page" (as soon as you open the program) as it is and to put all the "niche" options in the settings (via flag) so a more experienced user can easily set what he wants. I do not know if you understood. Furthermore, if it is possible (since most of people don't and take for granted the fact that they "know" everything about youtube-dl) to create a manual for each single setting of the tool (which would then be the youtube-dl options ) in order to facilitate their understanding.

In any case, thanks anyway.

from youtube-dl-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.