[Howto] Accelerated video playback with Chrome plugin

Moderators: mdrjr, odroid, meveric

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby mad_ady » Thu Aug 31, 2017 8:22 pm

Yes, something has changed on youtube side (and their page has a different look as well). Better wait for a fix from youtube-dl. Usually youtube pulls some change like this right before Christmas, to keep people busy :D
User avatar
mad_ady
 
Posts: 4479
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby sputnik » Wed Sep 06, 2017 10:17 am

I have been busy. Shortly after my last post I realized I could add --no-warnings to the youtube-dl command, which I did for a couple of days to keep working, but the problem has been solved now with youtube-dl-2017.09.02.
I have reforked your repository to keep your latest changes and now I have a new updated version of the helper. I managed to fix the security issues, no more injection vulnerability. And I have added a new feature - standalone capability which reads a url from the clipboard and plays it, no browser necessary. I dunno, maybe I'll be the only one using it, but it's all transparent unless you want to use it, everything works as before. The difference is you can execute "~/.config/chromium/NativeMessagingHosts/odroid.c2.video.helper use_clipboard" directly from the command line or a hotkey you set in your Desktop Manager (my use case) and it will play the link you have stored in the clipboard. The advantage for me is I can still use chromium from the remote x86_64 machine here, if I want to play a video just copy the url and hit the hotkey, less effort and time than starting my local odroid chromium executable. I was going to just create a special copy of the helper to do it, then realized it could just be added to the existing program easily. I just had to modify the first few lines of the main program loop and added a small subroutine, you'll see. All tests fine here, with the caveat that I don't have c2play dualstream, so those two playback routines haven't really been tested.
If you wish to use the new clipboard capability there are a couple of added dependencies: perl-Clipboard (not sure what apt calls it, this
one: http://search.cpan.org/~king/Clipboard-0.13/lib/Clipboard.pme) and the x11 package xclip. They aren't required if you don't use standalone mode. Also libproc-background-perl is no longer required FWIW.
I'll send you a pull request, but of course I won't be offended if you don't like it for some reason, you can just reject it. I didn't realize in the beginning I was going to find so many things to fool with ;)
Edit: Oh, and I think I'm done but I think there is still a problem with kodi modifying something. Anyhow, that will just be one line if I find it, I'll just post that here.
sputnik
 
Posts: 68
Joined: Tue Aug 11, 2015 9:39 am
languages_spoken: english, some spanish
ODROIDs: C1+

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby mad_ady » Wed Sep 06, 2017 2:04 pm

Please send the pull request. It's great that you're using it and adding improvements. I've mostly developed it as a proof of concept and I'm not usually playing youtube on my C2.

What you could do (as an addon, or in a different branch) is to install the plugin on your x86 chrome and when you push the button it grabs the video url and sends it to the C2 for playback. You'll need to invent a suitable network communication option and a server process on the c2 but it might save you a copy to clipboard :)
User avatar
mad_ady
 
Posts: 4479
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby sputnik » Wed Sep 06, 2017 4:51 pm

I thought about doing something like that, but this seemed easier. Maybe I'll rethink it, but I've been using this, it's pretty ok. And yes, I know that you did it as mostly proof of concept (but great work!), but since I am actually using it it was worth spending a little time to feature it up a little.
I sent the pull request a couple of minutes after the last post, if you don't see it let me know and I'll do it again.
sputnik
 
Posts: 68
Joined: Tue Aug 11, 2015 9:39 am
languages_spoken: english, some spanish
ODROIDs: C1+

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby mad_ady » Wed Sep 06, 2017 4:53 pm

Ok, I've merged your changes and tweaked the comments and first post to account for the new dependencies.
Also, have you tested that the backend still works with chrome natively since you removed the while(1) loop? Does it get respawned by chrome on demand?
User avatar
mad_ady
 
Posts: 4479
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby sputnik » Wed Sep 06, 2017 7:03 pm

Yes I did, and just tested again because you asked, played 1 video, then chose another and played it, no issues. Native on the odroid. I don't see what else is needed than that, I just don't think the perpetual while was necessary. BTW, just used Kodi for a couple of hours beforehand, so my diagnosis was wrong about that it seems.
sputnik
 
Posts: 68
Joined: Tue Aug 11, 2015 9:39 am
languages_spoken: english, some spanish
ODROIDs: C1+

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby mad_ady » Wed Sep 06, 2017 7:44 pm

This should clean up Kodi interference (and does so before playback):
Code: Select all
   #cleanup after kodi - reenable video layer
   `echo 0 > /sys/class/video/disable_video`;

User avatar
mad_ady
 
Posts: 4479
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby raduj » Sat Mar 10, 2018 5:50 am

Hello mad_ady,

The playback from the browser doesn't work anymore for me. I followed your steps provided in the previous posts when I encountered a similar issue, but no luck. Is any chance to check if something has changed in the code?
raduj
 
Posts: 38
Joined: Wed Dec 07, 2016 6:24 pm
languages_spoken: english
ODROIDs: N/A

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby mad_ady » Sat Mar 10, 2018 5:05 pm

The only likely change is with youtube. Try updating youtube-dl sudo youtube-dl -U and see if that fixes it. Otherwise, show me your config file (enable both debugs): (~/.odroid.c2.video.helper.conf) and after trying to play a video run and let me know what it outputs.
Code: Select all
sudo journalctl -f | grep odroid.c2.video.helper
User avatar
mad_ady
 
Posts: 4479
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby raduj » Mon Mar 12, 2018 5:13 am

I have updated youtube-dl, but still nothing. The content of the odroid.c2.video.helper.conf.sample (somehow I don't have anymore odroid.c2.video.helper.conf, just odroid.c2.video.helper.conf.sample) is below:
Code: Select all
; For normal use this should be named ~/.odroid.c2.video.helper.conf

[general]

; 0 makes no entries in syslog, 1 writes entries to syslog, defaults to 1 if not used
debug=1

; 0 gives sparse syslog entries with debug=1, 1 gives more verbose entries, defaults to 1 if not used
playerdebug=1

; player and youtube-dl entries are optional, if the defaults suit you not necessary in the config at all
; defaults to /usr/local/bin/c2play-x11 if not used
;player=/home/<user>/.git/c2play/c2play-x11

; defaults to /usr/local/bin/youtube-dl if not used
;youtube-dl=/usr/bin/youtube-dl

[youtu]
; select quality for youtube.
; 22 - 1280x720 video + audio
; 18 - 640x360 video + audio
extraArgs="-f 22 --no-playlist"

; for 1080p, 4k videos, must use c2play dualstream branch because video and audio are sent as different streams
;set quality to 3840x2160 with audio mp4a.40.2@128k (44100Hz)
; 137,140 - 1080p video + audio
; 266,140 - 4k video + audio
;extraArgs="-f266,140 --no-playlist"

[vimeo]

; below items are optional, not necessary unless you want to do some pre/post-c2play shell commands
[preprocess]
;command='(xset -dpms;xset s off;killall compton) &'
[postprocess]
;command='(xset dpms;xset s on;compton) &'


The output after trying to play a video is below:

Code: Select all
odroid@odroid64:~$ sudo journalctl -f | grep odroid.c2.video.helper
Mar 12 07:06:22 odroid64 sudo[21077]:   odroid : TTY=pts/1 ; PWD=/home/odroid ; USER=root ; COMMAND=/bin/cat .odroid.c2.video.helper.conf
Mar 12 07:09:11 odroid64 sudo[21208]:   odroid : TTY=pts/2 ; PWD=/home/odroid ; USER=root ; COMMAND=/bin/cat .odroid.c2.video.helper.conf


Keep trying to play in external player, but nothing.
raduj
 
Posts: 38
Joined: Wed Dec 07, 2016 6:24 pm
languages_spoken: english
ODROIDs: N/A

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby raduj » Mon Mar 12, 2018 5:56 am

I have noticed that there are no more entries after re-downloading the git and reinstalling the host script on the 9th of March 2018:

Code: Select all
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Read configuration from /home/odroid/.odroid.c2.video.helper.conf
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Config contains: $VAR1 = {'general.player' => '/usr/local/bin/c2play-x11','youtu.extraArgs' => '-f 22 --no-playlist','general.playerdebug' => '1','youtu.direct' => '0','general.debug' => 1};
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Listening for a message
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Received message {"url":"https://www.youtube.com/watch?v=vSQY4LkoD2M","type":"page"}
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: $VAR1 = \{'type' => 'page','url' => 'https://www.youtube.com/watch?v=vSQY4LkoD2M'};
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Extracting youtube-dl link
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Extracted domain www.youtube.com
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Looking at config section general
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Looking at config section youtu
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: domain www.youtube.com matches base youtu
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Looking at config section general
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Looking at config section youtu
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: domain www.youtube.com matches base youtu
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Looking at config section general
Mar  9 20:58:27 odroid64 odroid.c2.video.helper[4155]: Extracting with command /usr/local/bin/youtube-dl -g -f 22 --no-playlist 'https://www.youtube.com/watch?v=vSQY4LkoD2M' 2>&1
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Read configuration from /home/odroid/.odroid.c2.video.helper.conf
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Config contains: $VAR1 = {'youtu.direct' => '0','general.playerdebug' => '1','youtu.extraArgs' => '-f 22 --no-playlist','general.player' => '/usr/local/bin/c2play-x11','general.debug' => 1};
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Listening for a message
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Received message {"url":"https://www.youtube.com/watch?v=vSQY4LkoD2M","type":"page"}
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: $VAR1 = \{'url' => 'https://www.youtube.com/watch?v=vSQY4LkoD2M','type' => 'page'};
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Extracting youtube-dl link
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Extracted domain www.youtube.com
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Looking at config section youtu
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: domain www.youtube.com matches base youtu
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Looking at config section general
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Looking at config section youtu
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: domain www.youtube.com matches base youtu
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Looking at config section general
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Looking at config section general
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4156]: Extracting with command /usr/local/bin/youtube-dl -g -f 22 --no-playlist 'https://www.youtube.com/watch?v=vSQY4LkoD2M' 2>&1
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4141]: Output: WARNING: unable to extract uploader nickname#012#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?initcwndbps=765000&key=yt6&id=o-AO3Gf88lVo8Cg1fW66fMoyP_vsilnLNjnaV4CaM9rotz&c=WEB&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&mm=31%2C29&ipbits=0&ms=au%2Crdu&dur=347.277&mv=m&source=youtube&pl=19&mime=video%2Fmp4&ip=125.168.16.185&fvip=5&ratebypass=yes&signature=BD252B43A2C8758E0634FE960FF8B164147865A1.B4430FC365CCACFF20DDE5EDBC973B0D401C2BA4&lmt=1514011640389311&requiressl=yes&itag=22&ei=wFqiWpTeF4KrqAGRqY3oBQ&mt=1520589401&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&expire=1520611104
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4141]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?initcwndbps=765000&key=yt6&id=o-AO3Gf88lVo8Cg1fW66fMoyP_vsilnLNjnaV4CaM9rotz&c=WEB&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&mm=31%2C29&ipbits=0&ms=au%2Crdu&dur=347.277&mv=m&source=youtube&pl=19&mime=video%2Fmp4&ip=125.168.16.185&fvip=5&ratebypass=yes&signature=BD252B43A2C8758E0634FE960FF8B164147865A1.B4430FC365CCACFF20DDE5EDBC973B0D401C2BA4&lmt=1514011640389311&requiressl=yes&itag=22&ei=wFqiWpTeF4KrqAGRqY3oBQ&mt=1520589401&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&expire=1520611104
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4141]: Listening for a message
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Read configuration from /home/odroid/.odroid.c2.video.helper.conf
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Config contains: $VAR1 = {'general.player' => '/usr/local/bin/c2play-x11','youtu.direct' => '0','general.debug' => 1,'youtu.extraArgs' => '-f 22 --no-playlist','general.playerdebug' => '1'};
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Listening for a message
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Received message {"url":"https://www.youtube.com/watch?v=vSQY4LkoD2M","type":"page"}
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: $VAR1 = \{'type' => 'page','url' => 'https://www.youtube.com/watch?v=vSQY4LkoD2M'};
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Extracting youtube-dl link
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Extracted domain www.youtube.com
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Looking at config section general
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Looking at config section youtu
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: domain www.youtube.com matches base youtu
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Looking at config section general
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Looking at config section youtu
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: domain www.youtube.com matches base youtu
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Looking at config section general
Mar  9 20:58:28 odroid64 odroid.c2.video.helper[4159]: Extracting with command /usr/local/bin/youtube-dl -g -f 22 --no-playlist 'https://www.youtube.com/watch?v=vSQY4LkoD2M' 2>&1
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Read configuration from /home/odroid/.odroid.c2.video.helper.conf
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Config contains: $VAR1 = {'youtu.direct' => '0','general.playerdebug' => '1','general.player' => '/usr/local/bin/c2play-x11','general.debug' => 1,'youtu.extraArgs' => '-f 22 --no-playlist'};
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Listening for a message
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Received message {"url":"https://www.youtube.com/watch?v=vSQY4LkoD2M","type":"page"}
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: $VAR1 = \{'url' => 'https://www.youtube.com/watch?v=vSQY4LkoD2M','type' => 'page'};
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Extracting youtube-dl link
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Extracted domain www.youtube.com
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Looking at config section youtu
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: domain www.youtube.com matches base youtu
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Looking at config section general
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: message repeated 2 times: [ Looking at config section general]
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Looking at config section youtu
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: domain www.youtube.com matches base youtu
Mar  9 20:58:29 odroid64 odroid.c2.video.helper[4160]: Extracting with command /usr/local/bin/youtube-dl -g -f 22 --no-playlist 'https://www.youtube.com/watch?v=vSQY4LkoD2M' 2>&1
Mar  9 20:58:51 odroid64 odroid.c2.video.helper[4150]: Output: WARNING: unable to extract uploader nickname#012#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?requiressl=yes&pl=19&lmt=1514011640389311&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&dur=347.277&key=yt6&source=youtube&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&ei=1FqiWoSNLIifqQGIvKLwBg&id=o-AO39JRYWqzvZGHVIRrQm_jlmqa3fTyaWYbke3b5i8HgZ&ratebypass=yes&itag=22&mm=31%2C29&ip=125.168.16.185&mime=video%2Fmp4&expire=1520611124&c=WEB&signature=31429ACDF0E703943369047E5C3BA263D2AE80BA.49152FA25F485122FDA7CD24A42200864C0F4F5F&fvip=5&ms=au%2Crdu&ipbits=0&mv=m&initcwndbps=765000&mt=1520589401
Mar  9 20:58:51 odroid64 odroid.c2.video.helper[4150]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?requiressl=yes&pl=19&lmt=1514011640389311&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&dur=347.277&key=yt6&source=youtube&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&ei=1FqiWoSNLIifqQGIvKLwBg&id=o-AO39JRYWqzvZGHVIRrQm_jlmqa3fTyaWYbke3b5i8HgZ&ratebypass=yes&itag=22&mm=31%2C29&ip=125.168.16.185&mime=video%2Fmp4&expire=1520611124&c=WEB&signature=31429ACDF0E703943369047E5C3BA263D2AE80BA.49152FA25F485122FDA7CD24A42200864C0F4F5F&fvip=5&ms=au%2Crdu&ipbits=0&mv=m&initcwndbps=765000&mt=1520589401
Mar  9 20:58:51 odroid64 odroid.c2.video.helper[4150]: Listening for a message
Mar  9 20:58:52 odroid64 odroid.c2.video.helper[4147]: Output: WARNING: unable to extract uploader nickname#012#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?mt=1520589401&itag=22&ratebypass=yes&dur=347.277&mm=31%2C29&lmt=1514011640389311&signature=7DB7C98E6B413E30AF399063A2C58255A31581E7.28D7E983B1CA5DCF824F5347BAD7CB3DEA070F2F&c=WEB&expire=1520611126&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ipbits=0&initcwndbps=765000&mv=m&pl=19&ei=1VqiWpGxOMbo4AKT2K9w&requiressl=yes&ms=au%2Crdu&ip=125.168.16.185&fvip=5&source=youtube&mime=video%2Fmp4&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&key=yt6&id=o-AKXNoYRaUeP3h3HNniCSR7COx6scn9GlYuGDMJlngdwz
Mar  9 20:58:52 odroid64 odroid.c2.video.helper[4147]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?mt=1520589401&itag=22&ratebypass=yes&dur=347.277&mm=31%2C29&lmt=1514011640389311&signature=7DB7C98E6B413E30AF399063A2C58255A31581E7.28D7E983B1CA5DCF824F5347BAD7CB3DEA070F2F&c=WEB&expire=1520611126&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ipbits=0&initcwndbps=765000&mv=m&pl=19&ei=1VqiWpGxOMbo4AKT2K9w&requiressl=yes&ms=au%2Crdu&ip=125.168.16.185&fvip=5&source=youtube&mime=video%2Fmp4&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&key=yt6&id=o-AKXNoYRaUeP3h3HNniCSR7COx6scn9GlYuGDMJlngdwz
Mar  9 20:58:52 odroid64 odroid.c2.video.helper[4147]: Listening for a message
Mar  9 20:58:59 odroid64 odroid.c2.video.helper[4156]: Output: WARNING: unable to extract uploader nickname#012#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?beids=%5B9466592%5D&requiressl=yes&ip=125.168.16.185&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&ms=au%2Crdu&mt=1520589401&key=yt6&mime=video%2Fmp4&mn=sn-hufvjvgx-hxae%2Csn-ntq7yn7l&mm=31%2C29&pl=19&id=o-AInAhnWzUkSd9kqKDzO5LU_L02eFJxQLgM4BlQMJHRhm&signature=C25E924F4921A25E5E0AE931658FB12FC9EAF11C.A5D4D432F6C0C22E8E94B396A99C70F00C78B61C&lmt=1514011640389311&initcwndbps=765000&source=youtube&itag=22&dur=347.277&fvip=5&ipbits=0&c=WEB&expire=1520611135&ratebypass=yes&ei=31qiWv7ZBtWA4QLI9qqIBw
Mar  9 20:58:59 odroid64 odroid.c2.video.helper[4156]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?beids=%5B9466592%5D&requiressl=yes&ip=125.168.16.185&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&ms=au%2Crdu&mt=1520589401&key=yt6&mime=video%2Fmp4&mn=sn-hufvjvgx-hxae%2Csn-ntq7yn7l&mm=31%2C29&pl=19&id=o-AInAhnWzUkSd9kqKDzO5LU_L02eFJxQLgM4BlQMJHRhm&signature=C25E924F4921A25E5E0AE931658FB12FC9EAF11C.A5D4D432F6C0C22E8E94B396A99C70F00C78B61C&lmt=1514011640389311&initcwndbps=765000&source=youtube&itag=22&dur=347.277&fvip=5&ipbits=0&c=WEB&expire=1520611135&ratebypass=yes&ei=31qiWv7ZBtWA4QLI9qqIBw
Mar  9 20:58:59 odroid64 odroid.c2.video.helper[4156]: Listening for a message
Mar  9 20:59:00 odroid64 odroid.c2.video.helper[4155]: Output: WARNING: unable to extract uploader nickname#012#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?expire=1520611136&ms=au%2Crdu&id=o-ALhOIUDE5fbiWb8cY7xHUVOQxCgFBYF8xD4c3hYDNo0J&mv=m&mt=1520589401&fvip=5&dur=347.277&pl=19&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&mm=31%2C29&signature=23EB4BD26C8EE23C6F12E44FB9DF79334D01D9B8.D638F11E13FD0FE72DCE82E65D7F07DD012A2B98&requiressl=yes&source=youtube&mime=video%2Fmp4&ip=125.168.16.185&c=WEB&initcwndbps=765000&ei=31qiWsHFOMarqQGA9L6wBg&itag=22&ratebypass=yes&ipbits=0&lmt=1514011640389311&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&key=yt6
Mar  9 20:59:00 odroid64 odroid.c2.video.helper[4155]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?expire=1520611136&ms=au%2Crdu&id=o-ALhOIUDE5fbiWb8cY7xHUVOQxCgFBYF8xD4c3hYDNo0J&mv=m&mt=1520589401&fvip=5&dur=347.277&pl=19&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&mm=31%2C29&signature=23EB4BD26C8EE23C6F12E44FB9DF79334D01D9B8.D638F11E13FD0FE72DCE82E65D7F07DD012A2B98&requiressl=yes&source=youtube&mime=video%2Fmp4&ip=125.168.16.185&c=WEB&initcwndbps=765000&ei=31qiWsHFOMarqQGA9L6wBg&itag=22&ratebypass=yes&ipbits=0&lmt=1514011640389311&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&key=yt6
Mar  9 20:59:00 odroid64 odroid.c2.video.helper[4155]: Listening for a message
Mar  9 20:59:01 odroid64 odroid.c2.video.helper[4159]: Output: WARNING: unable to extract uploader nickname#012#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?initcwndbps=765000&c=WEB&dur=347.277&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&signature=BA37CD1A87DEBFFA2CAB5CC9062BD8AF8560D29C.2F622ABFC8C4270C2AEFB934109277A95E632C79&mm=31%2C29&id=o-AKlfGqNeF_r8wmhhAKXxq7rTT4Ef30gLzmSa-MW89fU5&mime=video%2Fmp4&mv=m&source=youtube&fvip=5&ms=au%2Crdu&lmt=1514011640389311&ip=125.168.16.185&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ipbits=0&ei=4lqiWoueCMLw4gKmlqeADQ&itag=22&pl=19&ratebypass=yes&requiressl=yes&expire=1520611138&mt=1520589401
Mar  9 20:59:01 odroid64 odroid.c2.video.helper[4159]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?initcwndbps=765000&c=WEB&dur=347.277&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&signature=BA37CD1A87DEBFFA2CAB5CC9062BD8AF8560D29C.2F622ABFC8C4270C2AEFB934109277A95E632C79&mm=31%2C29&id=o-AKlfGqNeF_r8wmhhAKXxq7rTT4Ef30gLzmSa-MW89fU5&mime=video%2Fmp4&mv=m&source=youtube&fvip=5&ms=au%2Crdu&lmt=1514011640389311&ip=125.168.16.185&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ipbits=0&ei=4lqiWoueCMLw4gKmlqeADQ&itag=22&pl=19&ratebypass=yes&requiressl=yes&expire=1520611138&mt=1520589401
Mar  9 20:59:01 odroid64 odroid.c2.video.helper[4159]: Listening for a message
Mar  9 20:59:01 odroid64 odroid.c2.video.helper[4160]: Output: WARNING: unable to extract uploader nickname#012#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?ipbits=0&dur=347.277&fvip=5&ratebypass=yes&c=WEB&expire=1520611138&ei=4lqiWsOTAZWLgAPWmpvoAQ&initcwndbps=765000&mt=1520589401&source=youtube&signature=878F99FC4D2ADAEC82ABBABC61B8D2FAD2011962.2437345E4A13BE1AB97ED0780E4EBFC54BDEFE0D&mm=31%2C29&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&id=o-AD1Zyl9eB88DsxUHpJNpaNf6JeB434OzX2-_l4OyVYSZ&pl=19&itag=22&ip=125.168.16.185&beids=%5B9466593%5D&requiressl=yes&ms=au%2Crdu&lmt=1514011640389311&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&mime=video%2Fmp4&key=yt6
Mar  9 20:59:01 odroid64 odroid.c2.video.helper[4160]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r5---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?ipbits=0&dur=347.277&fvip=5&ratebypass=yes&c=WEB&expire=1520611138&ei=4lqiWsOTAZWLgAPWmpvoAQ&initcwndbps=765000&mt=1520589401&source=youtube&signature=878F99FC4D2ADAEC82ABBABC61B8D2FAD2011962.2437345E4A13BE1AB97ED0780E4EBFC54BDEFE0D&mm=31%2C29&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7s&id=o-AD1Zyl9eB88DsxUHpJNpaNf6JeB434OzX2-_l4OyVYSZ&pl=19&itag=22&ip=125.168.16.185&beids=%5B9466593%5D&requiressl=yes&ms=au%2Crdu&lmt=1514011640389311&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&mime=video%2Fmp4&key=yt6
Mar  9 20:59:01 odroid64 odroid.c2.video.helper[4160]: Listening for a message
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Read configuration from /home/odroid/.odroid.c2.video.helper.conf
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Config contains: $VAR1 = {'youtu.direct' => '0','general.playerdebug' => '1','general.player' => '/usr/local/bin/c2play-x11','general.debug' => 1,'youtu.extraArgs' => '-f 22 --no-playlist'};
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Listening for a message
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Received message {"url":"https://www.youtube.com/watch?v=prI5LV1ctS8","type":"page"}
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: $VAR1 = \{'url' => 'https://www.youtube.com/watch?v=prI5LV1ctS8','type' => 'page'};
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Extracting youtube-dl link
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Extracted domain www.youtube.com
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Looking at config section youtu
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: domain www.youtube.com matches base youtu
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Looking at config section general
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: message repeated 2 times: [ Looking at config section general]
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Looking at config section youtu
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: domain www.youtube.com matches base youtu
Mar  9 21:08:39 odroid64 odroid.c2.video.helper[5095]: Extracting with command /usr/local/bin/youtube-dl -g -f 22 --no-playlist 'https://www.youtube.com/watch?v=prI5LV1ctS8' 2>&1
Mar  9 21:08:56 odroid64 odroid.c2.video.helper[5095]: Output: WARNING: unable to extract uploader nickname#012#012ERROR: requested format not available
Mar  9 21:08:56 odroid64 odroid.c2.video.helper[5095]: Received an error from youtube-dl. Searching for suitable quality and ignoring user parameters. This will be slower
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Read configuration from /home/odroid/.odroid.c2.video.helper.conf
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Config contains: $VAR1 = {'youtu.extraArgs' => '-f 22 --no-playlist','general.playerdebug' => '1','general.player' => '/usr/local/bin/c2play-x11','general.debug' => 1,'youtu.direct' => '0'};
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Listening for a message
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Received message {"url":"https://www.youtube.com/watch?v=prI5LV1ctS8","type":"page"}
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: $VAR1 = \{'url' => 'https://www.youtube.com/watch?v=prI5LV1ctS8','type' => 'page'};
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Extracting youtube-dl link
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Extracted domain www.youtube.com
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Looking at config section youtu
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: domain www.youtube.com matches base youtu
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Looking at config section general
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: message repeated 2 times: [ Looking at config section general]
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Looking at config section youtu
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: domain www.youtube.com matches base youtu
Mar  9 21:08:59 odroid64 odroid.c2.video.helper[5127]: Extracting with command /usr/local/bin/youtube-dl -g -f 22 --no-playlist 'https://www.youtube.com/watch?v=prI5LV1ctS8' 2>&1
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Read configuration from /home/odroid/.odroid.c2.video.helper.conf
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Config contains: $VAR1 = {'general.player' => '/usr/local/bin/c2play-x11','general.debug' => 1,'youtu.extraArgs' => '-f 22 --no-playlist','youtu.direct' => '0','general.playerdebug' => '1'};
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Listening for a message
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Received message {"url":"https://www.youtube.com/watch?v=prI5LV1ctS8","type":"page"}
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: $VAR1 = \{'type' => 'page','url' => 'https://www.youtube.com/watch?v=prI5LV1ctS8'};
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Extracting youtube-dl link
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Extracted domain www.youtube.com
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Looking at config section general
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Looking at config section general
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Looking at config section youtu
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: domain www.youtube.com matches base youtu
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Looking at config section youtu
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: domain www.youtube.com matches base youtu
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Looking at config section general
Mar  9 21:09:05 odroid64 odroid.c2.video.helper[5163]: Extracting with command /usr/local/bin/youtube-dl -g -f 22 --no-playlist 'https://www.youtube.com/watch?v=prI5LV1ctS8' 2>&1
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Read configuration from /home/odroid/.odroid.c2.video.helper.conf
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Config contains: $VAR1 = {'general.playerdebug' => '1','general.debug' => 1,'youtu.direct' => '0','youtu.extraArgs' => '-f 22 --no-playlist','general.player' => '/usr/local/bin/c2play-x11'};
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Listening for a message
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Received message {"url":"https://www.youtube.com/watch?v=prI5LV1ctS8","type":"page"}
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: $VAR1 = \{'type' => 'page','url' => 'https://www.youtube.com/watch?v=prI5LV1ctS8'};
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Extracting youtube-dl link
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Extracted domain www.youtube.com
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Looking at config section general
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Looking at config section general
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Looking at config section youtu
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: domain www.youtube.com matches base youtu
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Looking at config section youtu
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: domain www.youtube.com matches base youtu
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Looking at config section general
Mar  9 21:09:06 odroid64 odroid.c2.video.helper[5186]: Extracting with command /usr/local/bin/youtube-dl -g -f 22 --no-playlist 'https://www.youtube.com/watch?v=prI5LV1ctS8' 2>&1
Mar  9 21:09:13 odroid64 odroid.c2.video.helper[5095]: Selected video quality 18 instead (18           mp4        480x360    medium , avc1.42001E, mp4a.40.2@ 96k#012)
Mar  9 21:09:13 odroid64 odroid.c2.video.helper[5095]: Re-extracting with command /usr/local/bin/youtube-dl -g -f 18 --no-playlist 'https://www.youtube.com/watch?v=prI5LV1ctS8' 2>&1
Mar  9 21:09:21 odroid64 odroid.c2.video.helper[5127]: Output: WARNING: unable to extract uploader nickname#012#012ERROR: requested format not available
Mar  9 21:09:21 odroid64 odroid.c2.video.helper[5127]: Received an error from youtube-dl. Searching for suitable quality and ignoring user parameters. This will be slower
Mar  9 21:09:23 odroid64 odroid.c2.video.helper[5163]: Output: WARNING: unable to extract uploader nickname#012#012ERROR: requested format not available
Mar  9 21:09:23 odroid64 odroid.c2.video.helper[5163]: Received an error from youtube-dl. Searching for suitable quality and ignoring user parameters. This will be slower
Mar  9 21:09:26 odroid64 odroid.c2.video.helper[5186]: Output: WARNING: unable to extract uploader nickname#012#012ERROR: requested format not available
Mar  9 21:09:26 odroid64 odroid.c2.video.helper[5186]: Received an error from youtube-dl. Searching for suitable quality and ignoring user parameters. This will be slower
Mar  9 21:09:27 odroid64 odroid.c2.video.helper[5095]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r6---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?mv=m&mt=1520590012&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&fvip=6&ms=au%2Crdu&pl=19&id=o-AOvOIc26yuxvyCUDNpLqkRq_h-mLdNRE5jZoH2GHp3E-&mime=video%2Fmp4&gir=yes&mn=sn-hufvjvgx-hxae%2Csn-ntq7yn76&ip=125.168.16.185&key=yt6&mm=31%2C29&expire=1520611763&ei=Ul2iWtyhOsarqQGArbj4CA&requiressl=yes&itag=18&initcwndbps=736250&source=youtube&clen=17176359&dur=218.894&ipbits=0&c=WEB&lmt=1389271306839211&ratebypass=yes&signature=50639F2B6555186DF2124D45B8E34D6EFE965D53.C0B1DC87A224AE0F22CE686154F2608B2A547256
Mar  9 21:09:27 odroid64 odroid.c2.video.helper[5095]: Listening for a message
Mar  9 21:09:34 odroid64 odroid.c2.video.helper[5163]: Selected video quality 18 instead (18           mp4        480x360    medium , avc1.42001E, mp4a.40.2@ 96k#012)
Mar  9 21:09:34 odroid64 odroid.c2.video.helper[5163]: Re-extracting with command /usr/local/bin/youtube-dl -g -f 18 --no-playlist 'https://www.youtube.com/watch?v=prI5LV1ctS8' 2>&1
Mar  9 21:09:35 odroid64 odroid.c2.video.helper[5127]: Selected video quality 18 instead (18           mp4        480x360    medium , avc1.42001E, mp4a.40.2@ 96k#012)
Mar  9 21:09:35 odroid64 odroid.c2.video.helper[5127]: Re-extracting with command /usr/local/bin/youtube-dl -g -f 18 --no-playlist 'https://www.youtube.com/watch?v=prI5LV1ctS8' 2>&1
Mar  9 21:09:39 odroid64 odroid.c2.video.helper[5186]: Selected video quality 18 instead (18           mp4        480x360    medium , avc1.42001E, mp4a.40.2@ 96k#012)
Mar  9 21:09:39 odroid64 odroid.c2.video.helper[5186]: Re-extracting with command /usr/local/bin/youtube-dl -g -f 18 --no-playlist 'https://www.youtube.com/watch?v=prI5LV1ctS8' 2>&1
Mar  9 21:09:51 odroid64 odroid.c2.video.helper[5163]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r6---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?source=youtube&ms=au%2Crdu&mv=m&mt=1520590012&mn=sn-hufvjvgx-hxae%2Csn-ntq7yn76&mm=31%2C29&requiressl=yes&clen=17176359&mime=video%2Fmp4&itag=18&ipbits=0&key=yt6&expire=1520611787&dur=218.894&pl=19&gir=yes&ratebypass=yes&fvip=6&lmt=1389271306839211&ei=a12iWoXQMO35qQGM_qv4AQ&id=o-ABIgl9lqubfJF9nuwQ21Cgy1WuaaGsGqJIgRWLGdcK-2&initcwndbps=736250&c=WEB&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ip=125.168.16.185&signature=479334FBF7CE61A4DD49522D2B2C2B73B0E2293D.733A70B6939D26D0E9A7B48C4C47430680E06191
Mar  9 21:09:51 odroid64 odroid.c2.video.helper[5163]: Listening for a message
Mar  9 21:09:51 odroid64 odroid.c2.video.helper[5127]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r6---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?fvip=6&ratebypass=yes&ip=125.168.16.185&c=WEB&ei=bF2iWpGwGISm4gLg36S4DA&key=yt6&itag=18&mime=video%2Fmp4&clen=17176359&gir=yes&expire=1520611788&ipbits=0&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&initcwndbps=765000&lmt=1389271306839211&mv=m&mt=1520590124&ms=au%2Crdu&source=youtube&pl=19&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7l&mm=31%2C29&dur=218.894&requiressl=yes&id=o-AMcfhhTmTNfMWNQy0I4uge0lSABhVjb-6R9mPUN2I69B&signature=083A379218152367086B03C6D3D1B6B4DE61F805.3B81E8C97EC894C2B6A1787260C13B6F822EF65E
Mar  9 21:09:51 odroid64 odroid.c2.video.helper[5127]: Listening for a message
Mar  9 21:09:54 odroid64 odroid.c2.video.helper[5186]: Unable to parse youtube-dl output: WARNING: unable to extract uploader nickname#012https://r6---sn-hufvjvgx-hxae.googlevideo.com/videoplayback?ei=bl2iWpmvHM-34gLMwJ3YAQ&dur=218.894&clen=17176359&initcwndbps=736250&source=youtube&itag=18&requiressl=yes&key=yt6&expire=1520611790&mn=sn-hufvjvgx-hxae%2Csn-ntqe7n7l&ip=125.168.16.185&mm=31%2C29&gir=yes&pl=19&id=o-AG7Snkzn1dLT0jfk869s3cNjcACO8__2ei3or6JN_c4U&mime=video%2Fmp4&fvip=6&ms=au%2Crdu&mv=m&mt=1520590012&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ratebypass=yes&lmt=1389271306839211&c=WEB&ipbits=0&signature=64352BFBB97A8AA9EE0A3FA49D3D2CFC174CEB0F.235ABB740B97FD834A39463EF36BB6D9724F45F1
Mar  9 21:09:54 odroid64 odroid.c2.video.helper[5186]: Listening for a message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[3858]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[3859]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[3901]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[4147]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[4141]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[4150]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[4155]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[4156]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[4159]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[4160]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[5095]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[5163]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[5186]: Received message
Mar  9 22:09:54 odroid64 odroid.c2.video.helper[5127]: Received message
odroid@odroid64:~$
raduj
 
Posts: 38
Joined: Wed Dec 07, 2016 6:24 pm
languages_spoken: english
ODROIDs: N/A

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby raduj » Mon Mar 12, 2018 6:00 am

[quote][/quote]The command I used to see the syslogs is
Code: Select all
odroid@odroid64:~$ sudo cat /var/log/syslog | grep video.helper
raduj
 
Posts: 38
Joined: Wed Dec 07, 2016 6:24 pm
languages_spoken: english
ODROIDs: N/A

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby mad_ady » Mon Mar 12, 2018 3:22 pm

It seems that on march 9 it could find the conf file. You can copy/rename the conf.sample file to end in .conf and try again. I'll try to test as well.
User avatar
mad_ady
 
Posts: 4479
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby sputnik » Tue Mar 13, 2018 5:41 am

I hadn't paid attention to this because I finally got a big boy computer, can hang with the big kids now ;)
But yeah, just tried it, here it seems odroid.helper is working fine, I'm running compton compositor and after clicking the player button, compton is killed, all set up for c2play, but it seems c2play fails, get framebuffer screen for an instant, and then as though it thinks it's done, all goes back to compton and the browser. I haven't updated anything since 9/2017, so I updated c2play, no help. I've also never set up the conf file. I'll look at this more later today, I have to remember what hoops we jumped through here. This is a C1+
sputnik
 
Posts: 68
Joined: Tue Aug 11, 2015 9:39 am
languages_spoken: english, some spanish
ODROIDs: C1+

Re: [Howto] Accelerated video playback with Chrome plugin

Unread postby sputnik » Tue Mar 13, 2018 7:27 am

I was mistaken, I did have the conf file, it was hidden as /home/<user>/.odroid.c2.video.helper.conf. After enabling the debug stuff I got this:
Code: Select all
Mar 12 14:35:30 [odroid.c2.video.helper] Read configuration from /home/<user>/.odroid.c2.video.helper.conf_
Mar 12 14:35:30 [odroid.c2.video.helper] Config contains: $VAR1 = {'general.player' => '/home/<user>/.git/c2play/c2play-x11','general.debug' => 1,'general.youtube-dl' => '/usr/bin/youtube-dl','postprocess.command' => '(xset dpms;xset s on;compton) &','general.playerdebug' => '1','youtu.extraArgs' => '-f 22/18/17 --no-playlist','preprocess.command' => '(xset -dpms;xset s off;killall compton) &'};_
Mar 12 14:35:30 [odroid.c2.video.helper] Listening for a message_
Mar 12 14:35:30 [odroid.c2.video.helper] Getting URL passed from browser_
Mar 12 14:35:30 [odroid.c2.video.helper] Received message {"url":"https://www.youtube.com/watch?v=J6yPEGXnS_o","type":"page"}_
Mar 12 14:35:30 [odroid.c2.video.helper] Extracting youtube-dl link_
Mar 12 14:35:30 [odroid.c2.video.helper] Extracted domain www.youtube.com_
Mar 12 14:35:30 [odroid.c2.video.helper] Looking at config section general_
Mar 12 14:35:30 [odroid.c2.video.helper] Looking at config section postprocess_
Mar 12 14:35:30 [odroid.c2.video.helper] Looking at config section general_
Mar 12 14:35:30 [odroid.c2.video.helper] Looking at config section youtu_
Mar 12 14:35:30 [odroid.c2.video.helper] domain www.youtube.com matches base youtu_
Mar 12 14:35:30 [odroid.c2.video.helper] Looking at config section preprocess_
Mar 12 14:35:30 [odroid.c2.video.helper] Extracting with command /usr/bin/youtube-dl -g '-f 22/18/17 --no-playlist' 'https://www.youtube.com/watch?v=J6yPEGXnS_o' 2>&1_
Mar 12 14:36:00 [odroid.c2.video.helper] Found real URL via youtube-dl: https://r5---sn-a5meknes.googlevideo.com/videoplayback?expire=1520912157&ratebypass=yes&dur=609.105&fvip=2&ipbits=0&mn=sn-a5meknes%2Csn-q4flrnee&mm=31%2C26&pl=16&id=o-ANt5ydsckbjBEIkbwaj0yyEiBJbBwn6E_b6clUe78RI2&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&mt=1520890485&ms=au%2Conr&lmt=1257081296042964&requiressl=yes&ip=76.176.34.60&c=WEB&ei=vfKmWo64A9jc-wPIwrjwCA&source=youtube&initcwndbps=1521250&signature=551B16C37D07E58748675D26AE36BE02186CF74D.BD3B87810F2F38D17EC3956E5D04F0D94A6EE2B9&itag=18&clen=9949582&key=yt6&mime=video%2Fmp4&gir=yes_
Mar 12 14:36:00 [odroid.c2.video.helper] Starting player with cmdline: /home/<user>/.git/c2play/c2play-x11 https://r5---sn-a5meknes.googlevideo.com/videoplayback?expire=1520912157&ratebypass=yes&dur=609.105&fvip=2&ipbits=0&mn=sn-a5meknes%2Csn-q4flrnee&mm=31%2C26&pl=16&id=o-ANt5ydsckbjBEIkbwaj0yyEiBJbBwn6E_b6clUe78RI2&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&mt=1520890485&ms=au%2Conr&lmt=1257081296042964&requiressl=yes&ip=76.176.34.60&c=WEB&ei=vfKmWo64A9jc-wPIwrjwCA&source=youtube&initcwndbps=1521250&signature=551B16C37D07E58748675D26AE36BE02186CF74D.BD3B87810F2F38D17EC3956E5D04F0D94A6EE2B9&itag=18&clen=9949582&key=yt6&mime=video%2Fmp4&gir=yes 2>&1_

So putting that cmdline in manually I got this (snipped to pertinent issue):
Code: Select all
X11Window: xwin = 29360130
[https @ 0xfba50] HTTP error 403 Forbidden
avformat_open_input failed.
Server returned 403 Forbidden (access denied)
terminate called after throwing an instance of 'AVException'
This is with youtube-dl-2018.03.03. So I'm with you mad_ady, looks like the problem is with youtube-dl
Edit: Well, apparently there's something crazy about the 1st link I tried, installed youtube-dl-2018.03.10 and others now play well but it doesn't. Anyhow, seems 2018.03.10 works for sure, until the next time (and there will be a next time).
sputnik
 
Posts: 68
Joined: Tue Aug 11, 2015 9:39 am
languages_spoken: english, some spanish
ODROIDs: C1+

Previous

Return to Ubuntu (All Linux'es)

Who is online

Users browsing this forum: No registered users and 2 guests