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

youtube 60 fps support? #3170

Closed
bugfood opened this issue Jun 28, 2014 · 7 comments
Closed

youtube 60 fps support? #3170

bugfood opened this issue Jun 28, 2014 · 7 comments

Comments

@bugfood
Copy link

@bugfood bugfood commented Jun 28, 2014

Hi,

Youtube claims to have added support for 60 fps videos.

http://www.polygon.com/2014/6/26/5847822/youtube-support-60-fps-video-tip-jar-fan-funding
https://www.youtube.com/playlist?list=PLbsGxdAPhjv9UrLo19pS8teoRKj7funAy
https://www.youtube.com/watch?v=T3ny9zIckP0

Downloading the referenced videos results in a 30 fps file (or 30000/1001). Does specific support need to be added to youtube-dl for this?

Thanks,
Corey

@ghost
Copy link

@ghost ghost commented Jun 28, 2014

Works for me, i think you must download best video...

Hlavní
Celý název a cesta                       : C:\Users\pulpe\Titanfall Gameplay at 60fps (High Frame Rate EXCLUSIVE!!)-7SRTEXSpcyI.mp4
Formát                                   : dash
CodecID                                  : dash
Velikost souboru                         : 138 MiB
Duration/String                          : 3mn 29s
Celkový BitRate                          : 5 512 Kbps
Encoded date                             : UTC 2014-06-25 06:06:32
Tagged date                              : UTC 2014-06-25 06:06:32

Video
ID                                       : 1
Formát                                   : AVC
Formát/                                  : Advanced Video Codec
Format_Profile                           : High@L4.2
Format_Settings_CABAC/String             : Ano
Format_Settings_RefFrames/String         : 3 frame
CodecID                                  : avc1
/                                        : Advanced Video Coding
Duration/String                          : 3mn 29s
Bit rate                                 : 5 504 Kbps
Šířka                                    : 1 920pixely
Výška                                    : 1 080pixely
Poměr stran                              : 16:9
Frame rate                               : 60,000 fps
Minimum frame rate                       : 59,920 fps
Maximum frame rate                       : 90,543 fps
ColorSpace                               : YUV
ChromaSubsampling                        : 4:2:0
BitDepth/String                          : 8 bits
ScanType/String                          : Progressive
Bits/(Pixel*Frame)                       : 0.044
StreamSize/String                        : 138 MiB (100%)
Encoded date                             : UTC 2014-06-25 06:06:32
Tagged date                              : UTC 2014-06-25 06:06:32
@bugfood
Copy link
Author

@bugfood bugfood commented Jun 28, 2014

Thanks for your response. What program did you use to display the information above? I'd do the same if I knew what to run.

In any case, given the "138 MiB" for the video stream above, I definitely seem to be getting a different file, since mine is only about 80 MB for the entire file.

$ git log '--format=[%h] %B' -n 1
[78ff59d] [Motherless] simplify

$ ./youtube-dl 'https://www.youtube.com/watch?v=7SRTEXSpcyI'
[youtube] Setting language
[youtube] 7SRTEXSpcyI: Downloading webpage
[youtube] 7SRTEXSpcyI: Downloading video info webpage
[youtube] 7SRTEXSpcyI: Extracting video information
[download] Destination: Titanfall Gameplay at 60fps (High Frame Rate EXCLUSIVE!!)-7SRTEXSpcyI.mp4
[download] 100% of 79.98MiB in 01:06

$ ls -l Titanfall\ Gameplay\ at\ 60fps\ \(High\ Frame\ Rate\ EXCLUSIVE\!\!\)-7SRTEXSpcyI.mp4 
-rw-r--r-- 1 bugfood bugfood 83863155 2014-06-25 17:49:16 Titanfall Gameplay at 60fps (High Frame Rate EXCLUSIVE!!)-7SRTEXSpcyI.mp4
$ mplayer Titanfall\ Gameplay\ at\ 60fps\ \(High\ Frame\ Rate\ EXCLUSIVE\!\!\)-7SRTEXSpcyI.mp4 -identify -frames 0 2>&1 | grep ID_VIDEO
ID_VIDEO_ID=0
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=3000048
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=720
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=1.7778
ID_VIDEO_CODEC=ffh264

Is this a user error on my part? I don't see any available options for selecting a better format.

Thanks,
Corey

@muhasturk
Copy link

@muhasturk muhasturk commented Jun 28, 2014

You can use mediainfo commond line utility to display information about audio/video files.
Download from below
http://mediaarea.net/en/MediaInfo/Download/

@bugfood
Copy link
Author

@bugfood bugfood commented Jun 28, 2014

Thanks. Here it is:

$ mediainfo Titanfall\ Gameplay\ at\ 60fps\ \(High\ Frame\ Rate\ EXCLUSIVE\!\!\)-7SRTEXSpcyI.mp4 
General
Complete name                            : Titanfall Gameplay at 60fps (High Frame Rate EXCLUSIVE!!)-7SRTEXSpcyI.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 80.0 MiB
Duration                                 : 3mn 30s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 195 Kbps
Encoded date                             : UTC 2014-06-25 00:49:12
Tagged date                              : UTC 2014-06-25 00:49:12
gsst                                     : 0
gstd                                     : 210046
gssd                                     : BADC21FC2HH1403990307422218
gshh                                     : r8---sn-ab5l6nee.googlevideo.com

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=60
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 3mn 30s
Bit rate                                 : 3 000 Kbps
Maximum bit rate                         : 4 602 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.109
Stream size                              : 75.1 MiB (94%)
Tagged date                              : UTC 2014-06-25 00:49:14

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 3mn 30s
Bit rate mode                            : Variable
Bit rate                                 : 192 Kbps
Maximum bit rate                         : 201 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 4.81 MiB (6%)
Title                                    : IsoMedia File Produced by Google, 5-11-2011
Encoded date                             : UTC 2014-06-25 00:49:14
Tagged date                              : UTC 2014-06-25 00:49:14

Thanks,
Corey

@muhasturk
Copy link

@muhasturk muhasturk commented Jun 28, 2014

you should download with
youtube-dl -f 137+140 <url>

General
Complete name                            : Titanfall Gameplay at 60fps (High Frame Rate EXCLUSIVE!!)-7SRTEXSpcyI.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 141 MiB
Duration                                 : 3mn 30s
Overall bit rate                         : 5 645 Kbps
Writing application                      : Lavf54.63.104

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.2
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 3mn 29s
Bit rate                                 : 5 504 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 60.000 fps
Minimum frame rate                       : 59.920 fps
Maximum frame rate                       : 85.633 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.044
Stream size                              : 138 MiB (97%)

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 3mn 30s
Bit rate mode                            : Constant
Bit rate                                 : 126 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 3.14 MiB (2%)
@bugfood
Copy link
Author

@bugfood bugfood commented Jun 29, 2014

Interesting; that does it, thanks.

-Corey

@ghost
Copy link

@ghost ghost commented Jun 29, 2014

or you can even use

youtube-dl -f bestvideo+bestaudio <url>
@ghost ghost closed this Jun 29, 2014
This issue was closed.
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.