bugLinterna Mágica - Bugs: bug #39402, LM doesn't load for some Youtube...

 
 

bug #39402: LM doesn't load for some Youtube videos

Submitter:  None
Submitted:  Wed 03 Jul 2013 12:21:38 AM UTC
   
 
Category:  Source code bug Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  valkov
Open/Closed:  Open Release:  git-master
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 02 Nov 2013 03:54:10 PM UTC, comment #32: 

By "the bug is not present" I've meant that the signature encryption is not done. The signatures are extracted the normal way.

Ivaylo Valkov <valkov>
Group administrator
Sat 02 Nov 2013 03:48:47 PM UTC, comment #31: 

Hi,

Could you test the latest Git (master) sources? I've implemented  something like a work-around. A notification is displayed to the user when it is detected that the signatures are not present or (assumption) encrypted.

While I was testing with a proxy it seamed that the bug is not present. I was able to play a WebM URL by copying it to the browser address bar. Since WebM is handled by the browser, the proxy connection is used.

Could you confirm my observations? In the worst case scenario, you will see the notification.

Ivaylo Valkov <valkov>
Group administrator
Tue 10 Sep 2013 12:32:00 AM UTC, comment #30: 

I am presently using viewtube for Youtube and LM for everything else. Not sure if Youtube would do it for all videos, I think these are copyrighted material. Thanks for the hard work, it is no big deal, LM works for enough sites. :)

Anonymous
Sat 07 Sep 2013 09:49:38 AM UTC, comment #29: 

Hi,

That is bad news. Unfortunately I do not have the time to update so often, and probably will always be late with the fix for it to have any effect.

I can introduce a message for such clips that will recommend using youtube-dl or ViewTube, because it is assumed they would have (better) support for such clips. Will that work for you?

That is not a good solution, because if YouTube does this for some clips it is a matter of time they introduce it for all. And then we are doomed. :( Unfortunately I'm out of ideas.

Ivaylo Valkov <valkov>
Group administrator
Tue 03 Sep 2013 01:21:09 AM UTC, comment #28: 

Hi,

Yeah, Viewtube is updated every few days automatically with greasemonkey.

Anonymous
Tue 20 Aug 2013 07:51:11 PM UTC, comment #27: 

Hi,

Any news for this issue? Are you still required to upgrade to newer versions of ViewTube and youtube-dl every few days?

Ivaylo Valkov <valkov>
Group administrator
Mon 12 Aug 2013 09:18:05 PM UTC, comment #26: 

Hi,

I'm currently preoccupied and cannot look into this. I'm hopping I'll have some time at the end of the week.

Ivaylo Valkov <valkov>
Group administrator
Wed 31 Jul 2013 07:02:24 PM UTC, comment #25: 

Oh, also Viewtube upgraded to 0731 and it works again as well.

Anonymous
Wed 31 Jul 2013 07:01:26 PM UTC, comment #24: 

Hi,

Just upgraded youtube-dl to version 2013.7.31 and it works again. I am attaching the dump file for this new version.

(file #28727)

Anonymous
Wed 31 Jul 2013 06:20:30 AM UTC, comment #23: 

Opps forgot to attach the log.

(file #28718, file #28719)

Anonymous
Wed 31 Jul 2013 06:14:42 AM UTC, comment #22: 

Hi,

Youtube-dl has stopped working on the link tonight, and Viewtube has stopped working as well. So I suppose they change every 4 or 5 days as Viewtube's developer said.

Anonymous
Wed 31 Jul 2013 04:55:15 AM UTC, comment #21: 

Hi,

That is definitely not a good news.

OK, last idea.

Could you provide the youtube-dl output [1] for a Vevo link that with Linterna Mágica loads the interface but does not playback? Could you also provide the Linterna Mágica debug messages for this link? Thanks!

[1] ./youtube-dl --dump-intermediate-pages -v "<YOUTUBE_LINK>" 2>&1 | tee youtube-dl.dump

Ivaylo Valkov <valkov>
Group administrator
Tue 30 Jul 2013 09:12:03 AM UTC, comment #20: 

Hi,

Just tested youtube-dl version 2013.07.25.2 on the link I posted, it does work.

Anonymous
Mon 29 Jul 2013 06:26:59 PM UTC, comment #19: 

Sorry, have not tried that yet.. was away for a bit. I will try it tonight and let you know

Anonymous
Mon 29 Jul 2013 06:23:17 PM UTC, comment #18: 

Hi,

What about youtube-dl? Does it work?

Ivaylo Valkov <valkov>
Group administrator
Mon 29 Jul 2013 06:18:12 PM UTC, comment #17: 

Hi,

Still not working. Attached the debug logs. Viewtube version 07.26 still works but the previous one (07.24) has stopped working. It has been only 3 days since july 26 so if vevo changes every 5 days still have two days to go to see what happens.

As I said before it is probably not worth your trouble to support these videos.

Thanks again for the wonderful script.

(file #28697, file #28698)

Anonymous
Sun 28 Jul 2013 05:51:42 PM UTC, comment #16: 

Hi,

I've fixed the youtube-dl decryption code in Linterna Mágica. It now decrypts exactly as youtube-dl. Could you please test revision 413? Thanks.

Ivaylo Valkov <valkov>
Group administrator
Thu 25 Jul 2013 01:02:25 AM UTC, comment #15: 

Hi,

I updated Viewtube today to version 2013.7.24 and it works again. But here is what the developer said "Try the latest version 07.24. It will work for (probably) 2 days, they change it after 2 days and then after 5"

So if I understand correctly it is a moving target, maybe it isn't worth your time and effort to try to fix it.

Thanks for the great script and great help.

P.S. I will try youtube-dl after waiting for two days and see what happens and report back. But please don't feel obliged to do more work on it in the mean time, I am sure you have more important things to do.

Anonymous
Wed 24 Jul 2013 05:06:55 AM UTC, comment #14: 

Hi,

Thank you for the information. I've already tested some of the ViewTube code with Linterna Mágica, and it worked. It is still not officially in the repositories. I've also found some errors in the code I've implemented from youtube-dl. I'll try to fix that.

The strangest thing is that youtube-dl and ViewTube seem to use different approach for some cases and I am unable to find information on what and why is happening during the decryption of the signatures.

Could you please test the latest version of youtube-dl [1] [2] and tell me is it still working for you?

Thanks a lot for the cooperation!

[1] http://youtube-dl.org/
[2] https://github.com/rg3/youtube-dl

Ivaylo Valkov <valkov>
Group administrator
Wed 24 Jul 2013 04:41:03 AM UTC, comment #13: 

Hi,

It seems that Youtube has changed something again and Viewtube no longer works on those videos. I filed a bug report there and waiting for it to be confirmed. So perhaps it may not be too useful to investigate its codes right now.

Anonymous
Mon 22 Jul 2013 07:19:50 AM UTC, comment #12: 

Hi,

Just tested rev.408 on the same link and unfortunately it still doesn't work.

When flash is enabled LM loads but with a message "waiting for video plugin" and nothing happens. When flash is disabled LM doesn't load at all, there is just a blackbox saying that adobe flash is not installed

Attached are two debug logs, one with flash enabled and one disabled.

Thanks

(file #28637, file #28638)

Anonymous
Sun 21 Jul 2013 02:10:42 PM UTC, comment #11: 

Hi,

I've borrowed some ideas and code from youtube-dl for the decrypting of the signatures when they are given in the s=<SIG> format. Could you please test revision 408 and report back? Please attach the debug messages again.

If my understanding of the youtbe-dl Python code is correct and I've ported it successfully to JavaScript, you should be able to play the problematic videos.

If you still have problems I'll try to use the ViewTube code in Linterna Mágica.

Thanks.

Ivaylo Valkov <valkov>
Group administrator
Mon 15 Jul 2013 03:30:47 AM UTC, comment #10: 

Hi,

Just to correct my previous post. The latest version of Viewtube (2013.7.1200 does work on Vevo.

I was using an old version earlier.

Anonymous
Sun 14 Jul 2013 10:07:04 PM UTC, comment #9: 

Hi,

VT is the same as LM, works on all videos I tested except the Vevo ones.

Anonymous
Sun 14 Jul 2013 03:25:56 PM UTC, comment #8: 

Hi,

Are you able to playback links that are not working with ViewTube? [1]

[1] http://userscripts.org/scripts/show/87011

Ivaylo Valkov <valkov>
Group administrator
Sun 14 Jul 2013 02:28:04 PM UTC, comment #7: 

Hi,

This time LM loads but videos don't play. Got a "waiting for plugin" message. As control I tested LM on other videos and it still works.

I attached again two debug logs, one when flash is enabled, one when it is disabled, on Firefox 22.

Thanks for the great work!

P.S. I found this on Smplayer's website
http://smplayer.sourceforge.net/en/changes
It seems that Youtube may have changed something, perhaps only outside the U.S.


(file #28567, file #28568)

Anonymous
Sun 14 Jul 2013 10:28:24 AM UTC, comment #6: 

Hi,

I was able to duplicate your results by using an HTTP proxy in Canada. It seems that for Vevo clips the signatures are given in s=<SIG> instead of sig=<SIG> format when I'm using the proxy. I'm hoping this is the only problem. I was able to patch the code and work-around this bug, but I am unable to fully test it. Since I am behind a proxy, the page is requested as I am in Canada, but the video plugin does not use the proxy, so I cannot test the playback.

Could you please est rev406, and again attach the debug messages? I've added extra debug output in this revision and deliberately made LM load 2 seconds later in YouTube. I'm hoping this revision works, because I am out of ideas for now. Thanks.

Ivaylo Valkov <valkov>
Group administrator
Fri 12 Jul 2013 05:07:39 AM UTC, comment #5: 

Hi,

Thanks for the debug messages. At first glance it seems that LM is unable to extract the links from the url_encoded_fmt_stream_map JavaScript variable in YouTube, because it stops after that. If, so it could be easily fixable by changing the regular expressions.

I'll try to reproduce the condition with an http proxy and possibly fix the bug during the weekend. Keep your fingers crossed, so I can really work on LM this weekend. :)

Ivaylo Valkov <valkov>
Group administrator
Thu 11 Jul 2013 12:36:11 AM UTC, comment #4: 

Hi,

Apart from the link I gave, all Vevo videos I tried did not work.

I am attaching the debug logs for the link from my first post, there are two logs, one with adobe flash plugin enabled, another without.

I am in Canada.

(file #28534, file #28535)

Anonymous
Fri 05 Jul 2013 04:54:26 AM UTC, comment #3: 

Hi,

Thansk for the information. I've tested again with unbranded Firefox 22 on Trisquel with and without flash. In either way the clip starts with HTML5 player, even when I disable the HTML5 trial. [1] I'm still able to watch the clip withLinterna Mágica. As far as I remember I've never had problems with Vevo clips so far.

It could be as you said DRM related issue. Could you share your location/country? Maybe I could reproduce the issue with an HTTP proxy?

Could you share few more links that are not working with LM?

Could you enable Linterna Mágica's debug option (set to 5) and attach the messages for a YouTube link that does not load? When debuging is enabled a window with debug messages is available at the bottom of the screen (see attached image). Double-clicking while holding Ctrl in this window selects/marks all messages.


[1] http://www.youtube.com/html5


Ivaylo Valkov <valkov>
Group administrator
Thu 04 Jul 2013 07:32:28 PM UTC, comment #2: 

Hi,

I have tested on Firefox 22 on both Ubuntu12.04 and Fedora19.

On Ubuntu I have tried with both Adobe Flash enabled and disabled and LM didn't work in either case. When flash was enabled the video would just play in flash and LM didn't load. When flash was disabled I saw a black box complaining that flash was absent.

In Fedora I haven't installed any flash plugin, neither adobe flash nor gnash. I saw only a blackbox.

In both cases LM plays other Youtube videos without problems. After further testing it seems that this phenomenon occurs only with the Vevo ones.I just found out that smtube (the Youtube player for Smplayer) cannot play these videos either. Maybe it is a DRM thing?

I am using LM unstable build rev 405 with the gecko-mediamplayer as backend.

Thanks.

Anonymous
Wed 03 Jul 2013 06:53:02 AM UTC, comment #1: 

Hi,

Thanks for reporting. The link you have provided is working for me with rev405, Abrowser 21.0, Firefox  21.0 and Firefox 22.0. With and without Gnash.

Could you give some more information? For example your browser and its version. Any flash plugin installed? The userscript extension (Scriptish vs. Greasemonkey) if you are using Firefox. Any other link that does not load.



Thanks.

Ivaylo Valkov <valkov>
Group administrator
Wed 03 Jul 2013 12:21:38 AM UTC, original submission:  

Hi,

I found that there are some Youtube videos for which LM just doesn't load, as if it has not been installed at all.

e.g

http://www.youtube.com/watch?v=VbpMpRq6DV4

This happens only for some videos, checked a few others and LM works ok.

Tested with rev405 from daily build.

Thanks

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #28727:  youtube-dl.dump added by None (39KiB - application/octet-stream)
file #28718:  youtube-dl.dump added by None (39KiB - application/octet-stream)
file #28719:  lmlog added by None (15KiB - application/octet-stream)
file #28697:  flash added by None (27KiB - application/octet-stream)
file #28698:  no_flash added by None (27KiB - application/octet-stream)
file #28637:  with_flash added by None (36KiB - application/octet-stream)
file #28638:  without_flash added by None (33KiB - application/octet-stream)
file #28567:  with_flash added by None (33KiB - application/octet-stream)
file #28568:  without_flash added by None (35KiB - application/octet-stream)
file #28534:  with_flash added by None (12KiB - application/octet-stream)
file #28535:  without_flash added by None (12KiB - application/octet-stream)
file #28487:  lm-yt.jpg added by valkov (189KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by valkov (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 21 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-02 valkov StatusIn Progress Works For Me
    2013-07-31 None Attached File- Added youtube-dl.dump, #28727
    2013-07-31 None Attached File- Added youtube-dl.dump, #28718
        Attached File- Added lmlog, #28719
    2013-07-31 valkov StatusReady For Test In Progress
    2013-07-29 None Attached File- Added flash, #28697
        Attached File- Added no_flash, #28698
    2013-07-28 valkov StatusIn Progress Ready For Test
    2013-07-24 valkov StatusReady For Test In Progress
    2013-07-22 None Attached File- Added with_flash, #28637
        Attached File- Added without_flash, #28638
    2013-07-14 None Attached File- Added with_flash, #28567
        Attached File- Added without_flash, #28568
    2013-07-14 valkov StatusNeed Info Ready For Test
    2013-07-11 None Attached File- Added with_flash, #28534
        Attached File- Added without_flash, #28535
    2013-07-05 valkov Attached File- Added lm-yt.jpg, #28487
    2013-07-03 valkov CategoryNone Source code bug
        StatusNone Need Info
        Assigned toNone valkov
        ReleaseNone git-master

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code