You are not logged in.
Hello,
I’ve tried to display the output of archillectTV but without success. I only ever obtain the sound without the image (no video). Here is the line that I am using :
mpv -v --load-unsafe-playlists http://archillect.com/tv
Just in case, here is what I obtain with mpv –version :
jlfh0816 @ voyager1404 ~
└─ $ ▶ mpv --version
mpv 0.23.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
built on Sun Jan 8 04:44:36 UTC 2017
ffmpeg library versions:
libavutil 55.34.100
libavcodec 57.64.101
libavformat 57.56.100
libswscale 4.2.100
libavfilter 6.65.100
libswresample 2.3.100
ffmpeg version: 3.2.2
and apt-cache policy ffmpeg mpv :
jlfh0816 @ voyager1404 ~
└─ $ ▶ apt-cache policy ffmpeg mpv
ffmpeg:
Installé : 7:3.2.2~trusty2
Candidat : 7:3.2.2~trusty2
Table de version :
*** 7:3.2.2~trusty2 0
500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
mpv:
Installé : 2:0.23.0~trusty
Candidat : 2:0.23.0~trusty
Table de version :
*** 2:0.23.0~trusty 0
500 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
2:0.15.0+git7~trusty 0
500 http://ppa.launchpad.net/rvm/smplayer/ubuntu/ trusty/main amd64 Packages
0.3.4-1 0
500 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Has anyone ever managed to display http://archillect.com/tv in something (MPV, mplayer, vlc, ...) other than a browser (I’m using Firefox 50)?
I would like to display it in MPV or mplayer.
Thank you for your suggestions,
Last edited by jlfh0816 (2017-01-14 20:57:34)
Xubuntu 18.04.4 LTS (64 bits)
Offline
As far as I can tell, the site is displaying a sequence of animated gifs along with a separate mp3 soundtrack--not a normal video stream like mpv can play from youtube.
Are you using an Ubuntu Trusty PPA in BL, or are you actually running Ubuntu? I have a multimedia Jessie backports repository myself that I've been keeping current versions of ffmpeg and mpv in, among some other applications: https://build.opensuse.org/project/show … evepassert
Last edited by stevep (2017-01-14 22:44:38)
Offline
Ooops, sorry, overlooked this one :8
Thread moved to Help & Support (Other)
@OP: if I try this in my BunsenLabs system, I also only get sound; I think this is the only "playable" content, as stevep notes.
EDIT: Also: Best. Avatar. Ever.
Last edited by Head_on_a_Stick (2017-01-14 22:46:43)
Offline
this is tricky.
the gifs are changing each time you reload the page (i.e. they are not in sync with the music, which is a completely seprate soundcloud stream).
the gifs are not coming from archillect but from elsewhere (...tumblr...).
why not open an issue with youtube-dl, but i think you should consider that this might remain unresolved for some time; maybe it's possible to create a script? tricky, i wouldn't know how to integrate the javascript...
Offline
Some ideas that might get you part of the way
https://brontosaurusrex.github.io/2016/ … ote-files/
Online
First of all, thank you for all your answers. I wasn’t expecting this many.
@stevetep
To answer you, I’m using Xubuntu (not Ubuntu Trusty PPA in BL). You may be right that they are animated gifs like this one. However, I am able to play animated gifs that come from my own computer. That’s why I don’t understand - why not those from ArchillectTV? Also, thank you for sharing your multimedia Jessie backports repository.
@Head_on_a_Stick
Sorry for posting this in the wrong topic, thanks for putting it in the right section of this forum. Glad to hear you like my Tetris avatar!
@nobody
I agree that youtube-dl should have been able to fetch both the gifs and the audio. As you suggested, I will contact youtube-dl and report this bug or anomaly. Would you know the address for me to do so? As for writing a script in Python, this is sadly beyond my abilities… 8.(
@ohnonot
You are right, the gifs come from elsewhere. The site they come from is ...tumblr...
I have tried to download them from there but only one at a time with my command line. Here is the result of download:
jlfh0816 @ voyager1404 ~
└─ $ ▶ youtube-dl http://38.media.tumblr.com/aa96f7652ba1eef33e97c84b57225e91/tumblr_n3kec5RtLY1trzml2o1_500.gif
[generic] tumblr_n3kec5RtLY1trzml2o1_500: Requesting header
WARNING: Falling back on generic information extractor.
[generic] tumblr_n3kec5RtLY1trzml2o1_500: Downloading webpage
WARNING: URL could be a direct video link, returning it as such.
[download] Destination: tumblr_n3kec5RtLY1trzml2o1_500-tumblr_n3kec5RtLY1trzml2o1_500.gif
[download] 100% of 1022.78KiB in 00:00
The problem is that the displayed gif changes every 10 seconds (...and address url too...). What command line could be used to automate the process of displaying the next gif every 10 seconds? If I succeed in the meantime, I will keep you up to date of course. Thanks for your suggestion.
@brontosaurusrex
Thank you very much for your link, a lot of fodder for thought in it. I’ll see if I can do something with it for my issue. If I do, I’ll naturally post what I’ve obtained.
Last edited by jlfh0816 (2017-01-15 15:07:53)
Xubuntu 18.04.4 LTS (64 bits)
Offline
Even if you succeed with a gif changer there are still things to be done, like
- additional layer of zooming in, out
- the fact that there is no easy way to interactively control mpv from another process (at least not from shell scripts) < that means that playback will have to stop at some point (but that could be probably addressed with very large playlist)
p.s. unless i'am wrong and mpv has a wonderfull slave option this days.
- unknowns, like the AI part http://archillect.com/about
Last edited by brontosaurusrex (2017-01-15 22:29:17)
Online
Okay, I doubt indeed that there exists a command line that allows me to display in MPV gif after gif coming from ArchillectTV (only the gifs, I’m putting the audio part on the side for now).
Another idea would be to redirect the stream from ArchillectTV – received by Firefox – to MPV. In other words, kind of like opening a Firefox window inside MPV. But would that be possible? in command lines? Sounds complicated to me...
Xubuntu 18.04.4 LTS (64 bits)
Offline
i was thinking about this.
basically what we're looking at here is a web page, not a video.
i agree it would be cool to be able to watch it like this with mpv, and i also see that it can't be too hard technically, but it's very niche and i simply don't think anybody did it yet.
what you can do:
- read documentation for both mpv and youtube-dl
- have a look at existing youtbe-dl extractors and maybe you can modify an existsing one?
...i think if it is possible to do this with mpv, you have to look at youtube-dl much deeper.
BUT - another thought:
as was said, it's just a web page.
why not use a web browser to play it?
surf -a a -bgn http://archillect.com/tv
Last edited by ohnonot (2017-01-17 07:37:12)
Offline
BUT - another thought:
as was said, it's just a web page.
why not use a web browser to play it?
Yes, that is the only way I managed to play it before asking for help on this forum. I did so by using the following script in fullscreen on Firefox (works fine):
#!/bin/bash
firefox http://archillect.com/tv &
sleep 5
xdotool key F11 # hit full screen
My end goal is to display the ArchillectTV live stream as an animated desktop background thanks to Xwinwrap coupled with MPV (or Mplayer).
I know it’s not exactly simple but I will keep looking for a solution. If I do find one, I will post it here to let you all know.
Thank you again so much for your help.
PS: Youtube-dl bug report (today): https://github.com/rg3/youtube-dl/issues/11757
Last edited by jlfh0816 (2017-01-17 21:41:10)
Xubuntu 18.04.4 LTS (64 bits)
Offline
i really recommend using a seperate browser for this, like the aforementioned surf.
the fullscreen bit is very easily achieved with openbox' rc.xml's applications section!
it should also be fairly trivial to get it on the root window.
since surf has the ability to
-e xid Reparents to window specified by xid.
you probably don't even need a seperate app for that, but i wasn't succesful on a quick try.
PS:
about your youtube-dl issue:
i think you would gain some sympathy for your cause if you change it from "Bug report (encountered problems with youtube-dl)" to "Site support request" or "Feature request"... just saying...
Last edited by ohnonot (2017-01-20 07:30:30)
Offline
i really recommend using a seperate browser for this, like the aforementioned surf.
I have tested and surf works indeed. With xwininfo, I indicated the window id of my desktop (0x1a00003) and it does display both the audio and video streams from ArchillectTV in a separate window (no fullscreen option and no toggle F11 option because using surf version for Xubuntu 14.04). Here is the command line:
surf -e 0x1a00003 http://archillect.com/tv
Also works fine with the xid for the root window (0x256).
surf -e 0x256 http://archillect.com/tv
As for my bug report that I submitted to youtube-dl (github), I have changed it according to your suggestion into site support & feature request. Thanks again for the advice!
Last edited by jlfh0816 (2017-01-21 18:01:59)
Xubuntu 18.04.4 LTS (64 bits)
Offline
so you provided the roiot window id, but it still opens its own window?
i had the same experience.
sometimes a translation from hex to decimal or vice versa is required, might want to try that.
did it work with xwinwrap?
xwinwrap strangely does not seem to be available on my distro (archlinux), at least not packaged by that name, so i couldn't try that.
and thank you for correcting that github issue.
Offline
@ohnonot
The thing is, I have 2 different computers on which different Xubuntu versions are installed.
On the 1st one, the Xubuntu version is 14.04 – installed on it is surf version 0.4.1.
On the 2nd one, the Xubuntu version is 16.04 – installed on it is surf version 0.7.
In both cases, the command line:
surf http://archillect.com/tv
gives the exact same result as that other command line:
surf -e xid http://archillect.com/tv
This is regardless of the ‘xid‘ that I enter (desktop, root, …). What I obtain is always the same new separate window displaying ArchillectTV (audio and video streams) and nothing else.
This is why I suspect that ‘-e xid’ doesn’t work on neither of my Xubuntu distros. That comes to me as quite a big disappointment…
The only upside on Xubuntu 16.04 is that I can successfully utilize the fullscreen option ‘-F’ of surf 0.7 (option which does not exist on my other version of surf, 0.4.1).
Regarding my attempt to couple xwinwrap with surf, it sadly failed despite trying out many different command lines with both surf versions.
As for your question, there might be a version of xwinwrap for ArchLinux. I have found some information about one on this link:
https://aur.archlinux.org/packages/shantz-xwinwrap-bzr/
(see latest comment on 2017-01-14 by chris_I )
Here’s hoping it will work for you!
Last edited by jlfh0816 (2017-01-22 21:23:13)
Xubuntu 18.04.4 LTS (64 bits)
Offline