-
Notifications
You must be signed in to change notification settings - Fork 0
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
Deutschewelle, Phoenix and 3 Sat do not work #3
Comments
I understand the root cause by now. Most videos are a single stream of video and audio but some videos have a separate audio stream. The latter is common when the ARD Mediathek web front-end provides the choice among standard audio and clear speech audio. In the past, mediathek failed to play such videos. Commit adec25b from a few minutes ago plays now at least video. Note: The youtube-dl fork https://github.com/yt-dlp/yt-dlp can merge in real-time such separate video and audio into one stream and pipe it to stdio / ffplay. By replacing
and
such videos can be played in mediathek as well. At least in theory. Yt-dlp fails to sync audio and video of livestreams (such as the one from the ARD Mediathek) resulting in audio lagging a few seconds behind. For now, above patch is not applied. |
I opened a bug against yt-dlp for the sync issue yt-dlp/yt-dlp#4433 |
yt-dl is basically invoking
Here is the verbose output with noise filtered out
Apparently, the start timestamps differ, here by 12 seconds
ffmpeg blindly merges two streams. I can't find the proper options to sync them. ffmpeg
Inserting |
ARD mediathek used to stream video together with audio. Since a few months, it's now streaming audio and video separately. youtube-dl can not provide two streams. The youtube-dl fork yt-dlp can, but fails to sync the two streams. Ffplay is then blindly merging the two streams resulting in audio lagging a few seconds behind. See bug report #3 New approach: video stream downloading and rendering is now performed by mpv. On the plus side, mpv supports gpu acceleration while ffplay did not. Signed-off-by: Stefan Schaeckeler <schaecsn@gmx.net>
Deutschewelle does not work. Phoenix and 3 Sat do no work most of the time.
Root-cause unknown.
The text was updated successfully, but these errors were encountered: