Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Print JSON and conversion progress command? #7056
Comments
|
You can dump metadata to file with |
|
@dstftw Does dumping it to --write-info-json give information just for the specific audio it downloaded or for the entire video? Because I would need the information specific for what was downloaded. And in addition, it can be quite useful to output both things to many people. Would be nice to have as an option instead of only being able to do it with the conversion progress being silent. |
|
It dumps metadata for the file being downloaded in outer dict as well as all others formats under |
|
@dstftw I'll take a look but I'm sure some indicator could be added. Sure it may not be useful to everyone but having the option is always better than not. Is there some other command I could run that doesn't download it but would give me the metadata plus audio format as per required above? I suppose I could pslit them up in two commands. |
|
|
@dstftw Thank you, but I would appreciate if you would add my suggestion as an enhancement in case someone decides to implement it. |
|
@dstftw I do not understand what the difference between the two args is though. |
|
I would prefer avoiding any kind of options that require some obscure indicators or introduce nondeterminism.
|
|
@dstftw Hmm ok, up to you. Is it at least possible to specify that if it a playlist is sent through to only download the first video or at most one video? |
|
Any of these:
|
|
@dstftw Is it possible to specify a non-DASH audio format by default without having to check the formats of each one? And thank you for the above post. |
|
Yes, |
|
@dstftw Hmm because I have issues wiht some of the audio files downloaded and struggle to play them - is there perhaps a recommended encoding setting or something to help eliminate problems? |
|
Too ambiguous to suggest anything. |
|
@dstftw Is it possible to set a duration limit where if the media is above a certain duration to not download it or alternatively just download up to the limit? And for the previous question I'm wondering if perhaps I need to change some encoding settings to make the audio playable. |
|
|
Hello,
Is it possible to make a request with the following arguments "--extract-audio" and then get the app to return some JSON with details about the media (such as title, description and thumbnail) and the format of the audio (for example, the extension and quality and whatnot) before proceeding to display the regular conversion progress?
If it's not, could this be implemented as it would be a useful to get a summary in JSON form of the metadata of the format that is about to be downloaded.
Thanks,
Daniel