-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Video Playback Broken #63
Comments
I have the same problem, especially with music videos, like this youtube video "V9PVRfjEBTI" |
The itag video 18 stopped returning |
How to solve this problem? Thank you |
For some videos, YouTube has increased protection. Looks like your videos are affected. This just means that it sometimes gets fewer streams back. I guess you still get streams back? |
This problem occurs in almost all music videos. Please help me solve it. Thank you. |
Thanks, seems like all combined video/audio urls are not returning even when using .filterVideoAndAudio() |
Does yt-dlp actually return streaming links or does it just download the videos? - which it does by downloading video and audio separately and then combining them afterwards. |
I believe I am also experiencing this issue. It's happening on all of the videos I try. The streams returned are either audio-only or video-only. This was not a problem for me until this morning. I was able to combine the audio and video streams locally but it seems to take longer to load due to the added overhead of the merging process. Is there a more efficient method? I'd imagine that YouTube itself doesn't combine streams locally for playback to occur? |
@meirinberg I think YouTube slowly moves to separate streams. Depending on where you are located and which video you are watching, you experience this earlier or later. |
Thank you @alexeichhorn. |
hello @alexeichhorn your way is quite reasonable but I am facing a big problem, the video length is not accurate to reality if i use avplayer.currentItem.duration , the duration of both video and audio streams separately are doubled, is there any solution for this |
@hoangnam714 Is the video duration correctly reflected in the playback bar? Because I especially fixed this issue in commit f3126a6, but it might not apply to this property for some weird reason. |
Please take a look at the attached screenshot and give feedback.![Screenshot 2024-11-14 at 6 57 35 PM](https://private-user-images.githubusercontent.com/5600659/386416899-39695bcf-aafa-4250-a83b-dbe1e2dcea7a.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5Mjk2NTksIm5iZiI6MTczODkyOTM1OSwicGF0aCI6Ii81NjAwNjU5LzM4NjQxNjg5OS0zOTY5NWJjZi1hYWZhLTQyNTAtYTgzYi1kYmUxZTJkY2VhN2EuanBlZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDExNTU1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2OTc3ZjQ4NmIyNGRjNzczZDY5Y2E0Nzk0ZWQxODk3YjM4YzY5NGVjMWZlNmJiNjU4YWJkMjg0N2I1MGNmNzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.y1jw_xyrPjQc1b66yDd_3ATTZossFArxhbpEQ6jNaCE)
The text was updated successfully, but these errors were encountered: