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] "Last message repeated XXX times" (or more) #16513

Closed
marabu88 opened this issue May 21, 2018 · 5 comments
Closed

[youtube] "Last message repeated XXX times" (or more) #16513

marabu88 opened this issue May 21, 2018 · 5 comments

Comments

@marabu88
Copy link

@marabu88 marabu88 commented May 21, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.18. 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 2018.05.18

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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 can not bring the log, since this does not happen with all streams! besides, these are living streams and I can not reproduce this problem! in addition, some streams are very time-consuming. At the end only this line is "Last message repeated XXX times". Nothing special except this.

Some live streams do not end correctly. I get the message "Last message repeated N times". "N" can be really big (N > 1000) and it really downloaded each time last message from Youtube. Such hanging streams heavily load the network when there are a lot of them.

For download streams from Youtube i use last version yutube-dl and use command string like this:
youtube-dl.exe --hls-use-mpegts https://www.youtube.com/watch?v=XXXXXXXXXXX

Why some streams not ended correctly and how fix it? I can set some limit for this?

I REALLY tried to find the answer to my question and did not find it! If you think that this problem is described and solved - then PLEASE post here a link to this solution. It is very difficult for me to write in English, which does not detract from the importance of my communication.

P.s. I have a suspicion that this happens to streams that have been deleted

@marabu88
Copy link
Author

@marabu88 marabu88 commented May 23, 2018

Only i have this problem? No any ideas how fix it?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 26, 2018

There is not enough context for any reasoning. Anyway Last message repeated comes from ffmpeg so you may ask there. Closing for now.

@marabu88
Copy link
Author

@marabu88 marabu88 commented May 29, 2018

I think this is a problem with YouTube, not ffmpeg or youtube-dl. but you can somehow automatically stop recording after a certain number of repetitions ???
if you want to reproduce this problem - just record any random streams of users. It often happens that the broadcast is complete, but YouTube continues to play a static picture. I think that this is what leads to this behavior.

@marabu88
Copy link
Author

@marabu88 marabu88 commented Jan 11, 2019

ffmpeg have any parameters to force the recording of the stream to stop after a certain repetition of messages? and can i set these parameters in the youtube-dl command line?
 

@ZuyingWo
Copy link

@ZuyingWo ZuyingWo commented Jan 30, 2019

here is what I did. Hoping it can be your reference.

In my local environment, this happens when FFMPEG is called to merge audio and video files.

when I download youtube via urls, most audio tracks are saved as "webm" file, and most video tracks are "mp4" file.

And this ERROR always occurs when ffmpeg merging "webm" and "mp4".

I don't know why, but audio and video are merged successfully when I convert "webm" file to "m4a" file at first, and then merge "m4a" and "mp4".
Here are the commands I used.

ffmpeg -i xxxxxx.webm -vn xxxxxx.m4a
ffmpeg -i xxxxxx.mp4 -i xxxxxxx.m4a -c copy xxxxxxx.mov

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.