Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List human-readable video title where possible in format list (-F) display #6850

Open
i336 opened this issue Sep 13, 2015 · 3 comments
Open

List human-readable video title where possible in format list (-F) display #6850

i336 opened this issue Sep 13, 2015 · 3 comments
Labels

Comments

@i336
Copy link

@i336 i336 commented Sep 13, 2015

I often use -F to list the possible video encoding formats I can use for videos.

When I do this, I see something like

[info] Available formats for dQw4w9WgXcQ:
...

which tells me nothing about the video.

I've recently discovered that the formats available for YouTube videos is unpredictable and depends on what batch-transcoding settings were in place when the video was originally uploaded.

If I do an -F request for several videos, I'll get a terminal full of "Available formats for ....." and I'll then need to repeatedly crossreference the video IDs manually to work out what to do next - I might want to find a higher quality copy of a given video, or I might only want the audio track of another, etc, but I can only make the appropriate judgement calls if I know the title of the video in question!

I would suggest [re]using the filename output format specifier (minus the file extension, if feasible) to control the presentation.

Thanks for such an awesome program, btw! :D

@i336 i336 changed the title List human-readable video title where possible in format list display List human-readable video title where possible in format list (-F) display Sep 13, 2015
@jaimeMF jaimeMF added the request label Sep 13, 2015
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 13, 2015

Using the filename could be triccky, it can contain info about the format (resolution, format_id ...). Would using the title be enough? (I think that's quite reasonable).

@i336
Copy link
Author

@i336 i336 commented Sep 13, 2015

Ah, of course, I didn't think of that. I'm not that familiar with youtube-dl's internal structure, I was looking for an existing easily reusable datapoint to make the feature easier to implement.

Just the video title would certainly be sufficient.

:D

@porg
Copy link

@porg porg commented Jan 2, 2016

I'd also welcome the title in the format listing, as this tells more than Available formats for <ID>.
At least on demand. I'd expect this when issuing --get-format and --get-title together, but currently this produces nothing instead of a format listing with titles, as I'd expect it. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.