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

2.5 Hour YouTube Live Stream downloads as a 14 second file at 36,000 fps #26767

Open
nickdrones opened this issue Oct 1, 2020 · 1 comment
Open
Labels

Comments

@nickdrones
Copy link

@nickdrones nickdrones commented Oct 1, 2020

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

I downloaded a live stream from YouTube immediately after it completed and the file successfully downloaded as being around 867mb. However, when I tried to play it, I realized that it had squished the 2.5 hr stream down into a 14 second file with a bitrate of over 400mbps at nearly 36,000 frames per second. The video is no longer available on YouTube in its entirety so simply redownloading is not an option. Has anyone had an error like this before that they were able to resolve? I've attached a picture of the file properties below.

enter image description here

@nickdrones nickdrones added the question label Oct 1, 2020
@okh-mzny
Copy link

@okh-mzny okh-mzny commented Oct 2, 2020

Does the file contain an audio stream?
You can check with ffmpeg or ffprobe, please post the output of that.
Furthermore, you should be able to slowen the video with ffmpegs setpts filter.
ffmpeg -i input.mp4 -vf "setpts=4.0*PTS" output.mkv

where the 4.0 means slow the video down to 0.25x speed.

I'll be able to help you further if you provide file info from ffmpeg, the relevant part looks something like this:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.48.100
  Duration: 00:00:57.02, start: 0.000000, bitrate: 592 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x480 [SAR 8:9 DAR 16:9], 455 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
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.