[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Youtube is broken again

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Youtube is broken again

Problems, bugs, suggestions... anything related to SMPlayer.

Youtube is broken again

Postby rvm » Tue Nov 10, 2015 5:02 am

Youtube has made changes and now the code in smplayer to get the signature function is broken. If you have problems to play VEVO videos try this:

- Update the Youtube code (in the Help menu).

- If it still fails, delete the file sig.ini in the smplayer configuration folder.

Update: the problem has been fixed in version r7222.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Youtube is broken again

Postby newuser101 » Thu Nov 19, 2015 6:40 pm

rvm:

I like your YouTube extension. I've noticed one thing, though: when a video is not available at the suggested resolution (for example, 720p), the download fails. A check with the YouTube site then reveals that the video WAS available at, say, 480p. Is there any way you could implement an automatic check to see if lower resolution versions of a video are available even though the desired resolution version is not?

Thanks!
newuser101
 
Posts: 72
Joined: Fri Oct 02, 2015 8:43 am

Re: Youtube is broken again

Postby rvm » Fri Nov 20, 2015 5:06 am

smtube already does that, if it can't find a video with the preferred resolution it tries to find another one with lower resolution.

However the 480p and 1080p videos in Youtube are in a different format (DASH) which smtube currently ignores (it adds an extra complexity to support them because the audio and video are in separated streams). But youtube-dl does support DASH so you can configure smtube to call youtube-dl to download the videos.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Youtube is broken again

Postby newuser101 » Fri Nov 20, 2015 8:18 am

Hmmm, I was using youtube.dl when I encountered the problem I mentioned on several videos. Not sure why the downloads failed. Thanks, anyway...
newuser101
 
Posts: 72
Joined: Fri Oct 02, 2015 8:43 am

Re: Youtube is broken again

Postby newuser101 » Sun Nov 22, 2015 4:59 am

Okay, rvm, I now see where the downloads are failing. My preferred resolution is 720p, but if that resolution is not available and the only 480p video available is in MP4 format, the download fails. I just tried to download two 720p MP4 videos, but failed. I checked via another program and was able to get the videos, but only at 480p MP4. That's it, then...
newuser101
 
Posts: 72
Joined: Fri Oct 02, 2015 8:43 am

Re: Youtube is broken again

Postby rvm » Sun Nov 22, 2015 5:35 am

Could you put a link to one of those videos that fail?
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Youtube is broken again

Postby newuser101 » Sun Nov 22, 2015 7:17 am

Okay, youtube.dl failed at 720p on the following video, but I was able to get a 480p MP4 version of it using another program:

https://www.youtube.com/watch?v=AsApomcBfYs
newuser101
 
Posts: 72
Joined: Fri Oct 02, 2015 8:43 am

Re: Youtube is broken again

Postby rvm » Sun Nov 22, 2015 8:32 am

If I download that video with smtube + uget, since the 720p format is not available it downloads the video in 360p.

If I download it with smtube + youtube-dl, yes it fails.

If you copied the configuration from this post then you are probably using the option "-f 22" for youtube-dl.

22 is the code for 720p (mp4 format). If you replace it with "-f best" then youtube-dl would download the video in the best quality it can find (in the case of your link it would be downloaded in 360p as well).

It's also possible to use "-f bestvideo+bestaudio". In that case the video is downloaded with resolution 480p, however it downloads two files: a mp4 with the video only (no sound) and a m4a with the audio.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Youtube is broken again

Postby newuser101 » Sun Nov 22, 2015 8:52 am

Yes, I was using the -f 22 option. I guess the problem with the 480p MP4 is what you referred to in an earlier post, not being able to blend the video and the audio. I might try the -f best option, but I do like to get the best possible resolution available, so I'll continue to use my alternate program when SMTube fails. Thanks for checking into this for me!
newuser101
 
Posts: 72
Joined: Fri Oct 02, 2015 8:43 am


Return to General

Who is online

Users browsing this forum: Bing [Bot] and 29 guests