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 live video downloading but not able to play immediately. #10658

Closed
sant527 opened this issue Sep 15, 2016 · 4 comments
Closed

youtube live video downloading but not able to play immediately. #10658

sant527 opened this issue Sep 15, 2016 · 4 comments

Comments

@sant527
Copy link

@sant527 sant527 commented Sep 15, 2016

  • [ X] I've verified and I assure that I'm running youtube-dl 2016.09.11.1

Before submitting an issue make sure you have:

  • [ X] At least skimmed through README and most notably FAQ and BUGS sections
  • [X ] 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)
  • [ X] Question
  • Other

i am trying to download the live video from youtube.

the link is https://www.youtube.com/watch?v=KJS2JyQZowo

I am trying the following command:

youtube-dl -f 91 --postprocessor-args '-movflags faststart' "https://www.youtube.com/watch?v=KJS2JyQZowo"

Its downloading the file named: Lalbaugcha Raja LIVE Visarjan Sohala 2016-KJS2JyQZowo.mp4.part

if i open it with mpv it says:

santhosh % mpv "Lalbaugcha Raja LIVE Visarjan Sohala 2016-KJS2JyQZowo.mp4.part"
Playing: Lalbaugcha Raja LIVE Visarjan Sohala 2016-KJS2JyQZowo.mp4.part
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found
[lavf] avformat_open_input() failed
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found
[lavf] avformat_open_input() failed
Failed to recognize file format.

Exiting... (Errors when loading file)

So how long i have to wait to watch the live video. Or can i start playing as it is keep downloading

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 15, 2016

Could you try to download with --hls-use-mpegts?

@sant527
Copy link
Author

@sant527 sant527 commented Sep 15, 2016

can you give me the full command. i dont know about --hls-use-mpegts. even in google i couldnt find

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 16, 2016

Like this:

youtube-dl -f 91 --hls-use-mpegts "https://www.youtube.com/watch?v=KJS2JyQZowo"
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 18, 2016

I'm closing this ticket as the command work for other live streams. Feel free to ask if there are still problems.

@yan12125 yan12125 closed this Sep 18, 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.