Umplayer Youtube no longer working ?

Please post any bugs you have found
Post Reply
Message
Author
backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

Umplayer Youtube no longer working ?

#1 Post by backi »

Hi everybody !
Did anybody observe ? Umplayer no longer Youtube playing ?

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#2 Post by vovchik »

Dear backi,

thanks...you're right!

With kind regards,
vovchik

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#3 Post by 01micko »

Confirmed :(

Umplayer has been at 0.97 for about a year now so don't hold your breath for an update.

Actually, lucky it works with the latest mplayer, it still expects 1.0rc3

8 months .. http://umplayer.svn.sourceforge.net/viewvc/umplayer/ svn
Puppy Linux Blog - contact me for access

User avatar
scabz
Posts: 364
Joined: Thu 30 Apr 2009, 18:14
Location: Tallahassee FL US
Contact:

#4 Post by scabz »

i noticed this also, makes me sad.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#5 Post by pemasu »

8 months ago umplayer source code had youtube fix update. That is the last update.

http://umplayer.svn.sourceforge.net/vie ... yer/trunk/

Use find in browser for youtube fix and you will find the files which were changed. I hope that the source will be fixed again.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#6 Post by pemasu »

2 days ago smplayer-smtube svn has got fix for youtube.
Smtube-Smplayer compo plays youtube.

svn co https://smplayer.svn.sourceforge.net/svnroot/smplayer smplayer

For smtube run in its folder:
./get_svn_revision.sh

User avatar
scabz
Posts: 364
Joined: Thu 30 Apr 2009, 18:14
Location: Tallahassee FL US
Contact:

#7 Post by scabz »

thanks for the info i am on it now cuzz my mom needs it for her old pc to view youtube.

User avatar
scabz
Posts: 364
Joined: Thu 30 Apr 2009, 18:14
Location: Tallahassee FL US
Contact:

#8 Post by scabz »

smplayer-r4415 and smtube-r4415 are in my repo, compiled in precise beta5 against qt 4.8.2 http://www.mediafire.com/?mpv88jj3bp0m3

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#9 Post by pemasu »

Heh. Qmplay2 has fixed the youtube playing also. Qmplay2 needs a bit more work to get compile.
I have now dpup fixed source, it might work for others also. Qmplay2 needs opengl included Qt4 libs ---> libQtOpenGL and it uses ffmpeg as backend. I disabled pulseaudio dependency from source and I had to remove calls to libass flushevents, becauce my libass dev didnt like them. I can upload the qmplay2 hacked source and some tips if someone else wants to give it a go.
Attachments
qmplay2-plays-youtube-also.jpg
(45.09 KiB) Downloaded 1359 times

User avatar
scabz
Posts: 364
Joined: Thu 30 Apr 2009, 18:14
Location: Tallahassee FL US
Contact:

#10 Post by scabz »

pemasu post a link to your source, i will give it a try.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#11 Post by pemasu »

I will open tomorrow thread in Compiling section...later...for Qmplay2.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#12 Post by 01micko »

Hah!

You have just got to love open source! 8)

Code: Select all

diff -rupN trunk/src/retrievevideourl.cpp umplayer-0.97-patched/src/retrievevideourl.cpp
--- trunk/src/retrievevideourl.cpp	2011-12-31 01:00:29.000000000 +1000
+++ umplayer-0.97-patched/src/retrievevideourl.cpp	2012-09-17 09:15:02.613611654 +1000
@@ -64,9 +64,13 @@ void RetrieveVideoUrl::gotVideoPage(QNet
     QStringList::iterator stIt = codeList.begin();
     foreach(QString code, codeList)
     {
-        code.remove(0, 4);
         QUrl url(code);
-        urlMap[url.queryItemValue("itag").toInt()] = code.remove(QRegExp("&itag=\\d+$"));
+        int itag = url.queryItemValue("itag").toInt();
+        //qDebug("itag: %d", itag);
+        code.remove(QRegExp("itag=(\\d+)&url="));
+        code.replace("&sig=", "&signature=");
+        urlMap[itag] = code;
+        //qDebug("code: '%s'", code.toUtf8().constData());
     }
     /*regex.setPattern("\\\"t\\\"\\s*:\\s*\\\"([^\\\"]*)");
     regex.indexIn(replyString);
Only 1 simple block, stole it directly out of smplayer. I just like that umplayer has it integrated.
Attachments
umplayer_youtube_120917.patch.gz
(528 Bytes) Downloaded 583 times
Puppy Linux Blog - contact me for access

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#13 Post by pemasu »

Thanks 01micko. Youtube works now in Umplayer....with your patch.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#14 Post by vovchik »

@ 01micko

Brilliant!

@ pemasu

Could you post an updated binary here? OR elsewhere?

Many thanks, guys.

With kind regards,
vovchik

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#15 Post by 01micko »

Umplayer Slacko bins posted for slacko-530-533 and slacko-535+BETA

~
Puppy Linux Blog - contact me for access

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#16 Post by pemasu »

Youtube fixed Umplayer, Smplayer and Smtube has been updated to the dpup exprimo repo.
You will find them easily from the repo link:
http://www.smokey01.com/pemasu/pet_packages-exprimo/

Qmplay2 is there also, it just needs different qt4 libs, ie opengl version. And other dependencies also.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#17 Post by vovchik »

Dear pemasu,

At least my stuff can be played - the stuff I wrote or arranged. Just look at google youtube pavliygeo - there is much of my music for orchestra.

Thanks and kind regards,
vovchik

PS. Like this: http://www.youtube.com/watch?v=I8Akr64cVYM[/url]

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

Seeking?

#18 Post by stifiling »

The updates are working for youtube viewing...but seeking no longer works. Meaning....you can't skip to the 20th minute or whatever in an hr long video...you have to watch the whole thing. This used to work....wonder if it'll be fixed.

User avatar
scabz
Posts: 364
Joined: Thu 30 Apr 2009, 18:14
Location: Tallahassee FL US
Contact:

#19 Post by scabz »

seeking works for me, on my umplayer that i compiled with patch it might just be the video.

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#20 Post by stifiling »

scabz wrote:seeking works for me, on my umplayer that i compiled with patch it might just be the video.
you're right...umplayer does work with youtube seeking. It's smplayer that isn't, at least not for me.

Post Reply