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

Cleaner -list-formats Print #10762

Closed
gyvess opened this issue Sep 26, 2016 · 1 comment
Closed

Cleaner -list-formats Print #10762

gyvess opened this issue Sep 26, 2016 · 1 comment

Comments

@gyvess
Copy link

@gyvess gyvess commented Sep 26, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.24. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.09.24

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

I often watch game videos and will check to see if the video is available in 60FPS before I download it. This is what the print typically looks something like this.

[info] Available formats for h-ODtILmVOY:
format code  extension       resolution        note
249                    webm         audio only   DASH audio   52k , opus @ 50k, 539.68KiB
250                    webm         audio only   DASH audio   70k , opus @ 70k, 708.97KiB
140                    m4a            audio only   DASH audio  127k , m4a_dash container, mp4a.40.2@128k, 1.49MiB
251                    webm         audio only   DASH audio  135k , opus @160k, 1.34MiB
171                    webm         audio only   DASH audio  145k , vorbis@128k, 1.32MiB
278                    webm         256x144      144p  114k , webm container, vp9, 30fps, video only, 1.15MiB
160                    mp4            256x144      144p  118k , avc1.4d400c, 30fps, video only, 1.31MiB
242                    webm         426x240      240p  268k , vp9, 30fps, video only, 2.52MiB
133                    mp4            426x240      240p  268k , avc1.4d4015, 30fps, video only, 2.90MiB
243                    webm         640x360      360p  556k , vp9, 30fps, video only, 4.71MiB
134                    mp4            640x360      360p  636k , avc1.4d401e, 30fps, video only, 6.48MiB
244                    webm         854x480      480p  902k , vp9, 30fps, video only, 8.37MiB
135                    mp4            854x480      480p 1162k , avc1.4d401f, 30fps, video only, 12.10MiB
247                    webm         1280x720    720p 1921k , vp9, 30fps, video only, 16.71MiB
136                    mp4            1280x720    720p 2330k , avc1.4d401f, 30fps, video only, 24.08MiB
248                    webm         1920x1080  1080p 3440k , vp9, 30fps, video only, 29.90MiB
137                    mp4            1920x1080  1080p 4352k , avc1.640028, 30fps, video only, 45.16MiB
17                      3gp              176x144      small , mp4v.20.3,  mp4a.40.2@ 24k
36                      3gp               320x180     small , mp4v.20.3,  mp4a.40.2
43                      webm          640x360       medium , vp8.0,  vorbis@128k
18                     mp4               640x360      medium , avc1.42001E,  mp4a.40.2@ 96k
22                     mp4               1280x720    hd720 , avc1.64001F,  mp4a.40.2@192k (best)

I'd like another column for FPS so it's easier to spot, but I also think getting rid of 1080p, 720p, hd720, etc. in the note would be a good idea because the resolution is already printed.

It'd look something like this. I'm going to switch some lines to be 60FPS just as an example.

format code  extension       resolution    fps        note
249                    webm         audio only    na       DASH audio   52k , opus @ 50k, 539.68KiB
250                    webm         audio only    na       DASH audio   70k , opus @ 70k, 708.97KiB
140                    m4a            audio only    na       DASH audio  127k , m4a_dash container, mp4a.40.2@128k, 1.49MiB
251                    webm         audio only    na       DASH audio  135k , opus @160k, 1.34MiB
171                    webm         audio only    na       DASH audio  145k , vorbis@128k, 1.32MiB
278                    webm         256x144       30      114k , webm container, vp9, video only, 1.15MiB
160                    mp4            256x144       30      118k , avc1.4d400c, video only, 1.31MiB
242                    webm         426x240       30      268k , vp9, video only, 2.52MiB
133                    mp4            426x240       30      268k , avc1.4d4015, video only, 2.90MiB
243                    webm         640x360       30      556k , vp9, video only, 4.71MiB
134                    mp4            640x360       30      636k , avc1.4d401e, video only, 6.48MiB
244                    webm         854x480       30      902k , vp9, video only, 8.37MiB
135                    mp4            854x480       30      1162k , avc1.4d401f, video only, 12.10MiB
247                    webm         1280x720      30     1921k , vp9, video only, 16.71MiB
136                    mp4            1280x720     60      2330k , avc1.4d401f, video only, 24.08MiB
248                    webm         1920x1080    30     3440k , vp9, video only, 29.90MiB
137                    mp4            1920x1080    60     4352k , avc1.640028, video only, 45.16MiB
17                      3gp             176x144       na      mp4v.20.3,  mp4a.40.2@ 24k
36                      3gp             320x180       na     mp4v.20.3,  mp4a.40.2
43                      webm          640x360       na       vp8.0,  vorbis@128k
18                     mp4              640x360       na      avc1.42001E,  mp4a.40.2@ 96k
22                     mp4             1280x720      na    avc1.64001F,  mp4a.40.2@192k (best)
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 26, 2016

FPS is only available to very few extractors (~15 out of ~900) so FPS will be an empty column most of the time. Needless to say it may break clients that rely on the current format. Thus I don't see much sense in such change.

@dstftw dstftw closed this Sep 26, 2016
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
2 participants
You can’t perform that action at this time.