Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 16 Jul 2018, 05:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
VLC 3.0.2
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [41 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
WiZard

Joined: 11 Sep 2005
Posts: 90

PostPosted: Mon 09 Apr 2018, 19:46    Post subject: chromecast test  

@oscar
answers to your questions:

Does the device show up in Pup-SysInfo or HardInfo, for example?
-no, but since it is a network device not directly connected it probably would not.

Does it work with anything else in Puppy at all?
-not that I know

As a test, you might want to try SMplayer and see if Chromecast is recognised or if it works in that.
-that became a whole new problem. SMplayer requires the Chrome browser with the Chromecast extension "Google Cast". Google Cast has been discontinued since at some version casting is built into Chrome.

I did load Chromium 52 which has casting built in and it could not find the Chromecast device either, but that could be an issue with Chromium.

I tried this in both Slacko 6.3.0 & Stretch 7.5.

May need to increase alcohol consumption

thanks
Gary
Back to top
View user's profile Send private message 
Mayou


Joined: 17 Apr 2014
Posts: 104

PostPosted: Tue 10 Apr 2018, 04:17    Post subject: vlc-astuces-faq  

vlc-astuces-faq
Tutorial pour France.
Back to top
View user's profile Send private message 
WiZard

Joined: 11 Sep 2005
Posts: 90

PostPosted: Sat 14 Apr 2018, 12:04    Post subject: vlc chromecast  

Hi Oscar

I'm still testing trying to find a clue as to why chromecast doesn't work in VLC 3.01. I found several threads by forum member ETP who created several puplets for chromemcast. Most require the "google cast" extension which is no longer available. Chromebook-pupv1 already had the google cast extension included, so I did a frugal install. This puppy did find the chromecast device & could cast from the browser.

This validated that my device is discoverable in puppy and chromecast can be done.

I've also tested peedbee's chromium 52 & 65, which include the casting feature, in stretch 7.5, slacko 6.3.0 & xenial 7.5 without success. I'm going to post in the chromium thread to see if anyone has casting working.

Gary
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 1780
Location: London, England

PostPosted: Sat 14 Apr 2018, 14:49    Post subject:  

Hello Gary,

Without having an example of the physical device it is difficult for me to conduct any further testing of this issue. Sometimes when I sleep on things or have a few cups of tea, other ideas hit me, but so far nothing further has.

All I can tell you is that all the messages and other indications from the compiling process suggest that Chromecast support has been built, but obviously something is still not right. There are other missing optional dependencies that are flagged up, but I didn't spot anything that looked relevant to this.

So it is good that you are still on the case and maybe others with experience of this device will chime in. It is a new feature in VLC which they supposedly improved from 3.0.0. to 3.0.1 but it could be that they still have work to do on it. If someone is able to identify any step which I need to include in the compiling process I will gladly give it another try.

EDIT:-
One question worth considering.
Does Chromecast support in VLC 3.0.1 require dbus?
DpupStretch has a very old dbus .pet
Configure script warns about this and (I think) disables dbus.
I will investigate options for an upgrade of dbus (Stretch .deb packages or build from source?) and then maybe try a test re-compile of VLC when I get some time.

_________________
Oscar in England

Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 1780
Location: London, England

PostPosted: Tue 17 Apr 2018, 06:16    Post subject:  

I have now re-uploaded VLC 3.0.1 for Stretch Pup

This version has D-Bus enabled.
I am not optimistic that this will fix the Chromecast operation, but it is worth a try.
To fully test, it may be necessary to upgrade your dbus package in DpupStretch as well.
D-Bus has a daemon as well as a library - be sure any upgrade has fully worked and it has been restarted.

I have also enabled some other libraries and functions including:-
libarchive
chromaprint
libshout
libmodplug
libmpg123
live555
libSDL_image
libshout
libspeex and libspeexdsp

Strictly for TESTING, download .pet or .sfs from here:-
https://yadi.sk/d/nxx9TP2i3HcXB5?force_show=1

_________________
Oscar in England

Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3901
Location: King's Lynn, UK.

PostPosted: Tue 17 Apr 2018, 12:13    Post subject: Re: vlc chromecast  

WiZard wrote:
Hi Oscar

I'm still testing trying to find a clue as to why chromecast doesn't work in VLC 3.01. I found several threads by forum member ETP who created several puplets for chromemcast. Most require the "google cast" extension which is no longer available. Chromebook-pupv1 already had the google cast extension included, so I did a frugal install. This puppy did find the chromecast device & could cast from the browser.

This validated that my device is discoverable in puppy and chromecast can be done.

I've also tested peedbee's chromium 52 & 65, which include the casting feature, in stretch 7.5, slacko 6.3.0 & xenial 7.5 without success. I'm going to post in the chromium thread to see if anyone has casting working.

Gary


@ Gary:-

There's a very simple reason why the 'Google Cast' extension is no longer available. Because since around Chrome 52 or 53, 'cast' support is now baked right into the browser code. Therefore, the extension was considered no longer necessary.

I used to have the extension installed, on the off-chance that I was going to get around to buying a Chromecast at some point. One day, I was looking through my extensions list and noticed that the 'Google Cast' extension had disappeared. I have never been able to re-install it, since, according to the Google Product Groups forum, "With the cast function now built-in to the browser, the Cast extension was henceforth considered redundant. Therefore, it was removed from the Chrome Store."

I run a mixture of older & newer Chromes. The Cast function is built-in to the new versions.....but since the extension was removed (through my Google a/c cloud connectivity, I would imagine), it means it was also removed from the older browsers, too. The very ones that needed it!

(Google, of course, expect that you will always be running the very newest version of the browser. For Linux, since this now means 64-bit, it means installing a 64-bit OS, if you're not already running one. And if you're still running a 32-bit machine, oh dear; tough shit. Out you go and buy a new machine, mate. Google couldn't care less; not their problem.....it's yours.)

This means that you need to run a newer version of the browser, I would think. If you're not 64-bit (now required to run current Chrome), then try one of the Chromium 'clones' (like Iron). The Chromium Project is still manufacturing 32-bit versions; it's only Google that have 'put the boot in' and killed 32-bit versions of Chrome.

Oscar has a fairly recent 32-bit Iron package that should be able to help you with this. And, I agree about 'Chromepup', as I call it. I've run this for around 3 years now. ETP did include the 'Cast' extension, but you would have to run the browser as is (remain on Chrome 39 as installed), and never, ever 'sign-in' to a Google a/c. Because within 24 hours I can guarantee the extension would 'disappear' into thin air.

('Big' brother knows best..!) Rolling Eyes


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------


Last edited by Mike Walsh on Tue 17 Apr 2018, 20:54; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3901
Location: King's Lynn, UK.

PostPosted: Tue 17 Apr 2018, 20:36    Post subject:  

OscarTalks wrote:
Since the Chromecast device is a piece of plug-in hardware I am wondering if it is actually recognised on the system.

It may be that you need to load a kernel module or something.

Does the device show up in Pup-SysInfo or HardInfo, for example?
Does it work with anything else in Puppy at all?
As a test, you might want to try SMplayer and see if Chromecast is recognised or if it works in that.
http://smokey01.com/OscarTalks


Oscar, I can't see that a kernel module would be needed. The hardware connection is at the other end of the stream; it's plugged into the 'target' device (e.g., your television), and receives the stream as broadcast from your router's wifi output transmitter.

The only Chromecast functionality at your computer's end (AFAIK) is the code as currently built-in to the browser (or the 'Google Cast' extension, but you would need to be disconnected from Google Sync - i.e., not 'signed-in' - in order to prevent Google from removing it through your account's cloud connection).

Just my tuppence-worth, FWIW. A thought; it's more likely that some configuration may need to be done in your router's firewall (or Pup's) in order to open the necessary ports for allowing the stream to get through..?


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
OscarTalks


Joined: 05 Feb 2012
Posts: 1780
Location: London, England

PostPosted: Wed 18 Apr 2018, 06:58    Post subject:  

Hello Mike,

Thanks for the clarifications. I think you are right about the kernel module situation. This is one of the problems with trying to help out with things I have no personal experience of. For a while I was unsure if some hardware was actually plugged into the computer. Only on further reading did I realise that, as you say, it is only plugged in to the target device (TV or whatever).

Networking and/or firewall settings are indeed one possible cause of the lack of functionality. That thought had occurred to me as well.

With VLC 3.0.1 in Stretch Pup, I have a suspicion that some fundamental component is missing and it may well be that it is missing from the wider System rather than from the build of VLC itself. The Chromecast plugin is present. This depends on libprotobuf-lite which I have also included. Running ldd on the plugin checks out OK.

Could it be that the missing component is the browser? Perhaps this needs to be installed even if it is not running?

I find it interesting that with SMplayer they have included an additional executable named simple_web_server which has to run for Chromecast to work. Also the browser is still needed I believe. Is it possible that the VLC devs have eliminated the need for the server daemon (?) and the browser as well?

As far as I know, all the Stretch Pups are 32bit. I have not come across anyone trying to produce a 64bit one. So then I have to ask if the Chromecast code is ONLY in Google's Chrome or is it in the Chromium source? It may be that the other Chromium derivative browsers don't have it.

_________________
Oscar in England

Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3901
Location: King's Lynn, UK.

PostPosted: Wed 18 Apr 2018, 12:58    Post subject:  

Hi, Oscar.

No, the other 'clones' have it, alright; I've just checked in Iron 58, here in ETP's Chromebookpup (v1); it's there in the right-click context menu, large as life.

Don't forget, Chrome's based on Chromium.....although I'll grant you, Google do add a certain amount of their own specific stuff when they build Chrome.

I replaced the Chrome 39 that came with this a long time ago; 'updated' to the last 32-bit Chrome (48.0.2564.116). I can, however, get Chrome 39 with the cast extension back again simply by running the LiveCD.....although to keep the extension, I would have to isolate 39, and make sure I didn't sign-in with it.

That's assuming, of course, that it still functions with the browser..!

As you postulate, I suspect the browser needs to be installed. AFAIK, it's the only direct source of the ChromeCast code.


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
WiZard

Joined: 11 Sep 2005
Posts: 90

PostPosted: Wed 18 Apr 2018, 16:15    Post subject: vlc chromecast  

@mike
@oscar

Mike thanks for jumping in to help.

Oscar, tested the 4/16 VLC with no success. Have not tried updating d-bus but will if you still think it might work.

Here is what we know (running on my system)

win7>vlc 3.01=works
win7>chrome64 w/cast=works
dpup stretch 7.5>vlc 3.01=no device
dpup stretch 7.5>chromium52 w/cast=no device
dpup stretch 7.5>chromium65 w/cast=no device
dpup stretch 7.5>iron63 w/cast=no device
Chromebook-pupv1=works (mike's right, you can't sign into google)

The puppy chromium/iron test were also done in slacko 6.3.0 & xenial 7.5

@mike
did I understand correctly that you got Iron 58 to install in Chromebookpup (v1), if so do you have a link to the one you used?

Thanks
Gary
Back to top
View user's profile Send private message 
WiZard

Joined: 11 Sep 2005
Posts: 90

PostPosted: Wed 18 Apr 2018, 18:46    Post subject: vlc chromecast  

Found a web page suggesting if the chromecast device is not found in VLC gui that you should try casting from the terminal. When I tried it threw up some errors. Below is the output from the terminal, first line is the command string.


# vlc --sout="#chromecast{ip=192.168.1.101}" /mnt/home/movies/Kisses.mp4
VLC media player 3.0.1 Vetinari (revision 3.0.1-0-gec0f700fcc)
[06658438] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0698b098] main tls client error: TLS client plugin not available
[069817c0] stream_out_chromecast stream out error: cannot load the Chromecast controller (Failed to create TLS client)
[069815b0] main stream output error: stream chain failed for `chromecast{ip=192.168.1.101}'
[a9704a60] main input error: cannot start stream output instance, aborting
#
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3901
Location: King's Lynn, UK.

PostPosted: Wed 18 Apr 2018, 18:56    Post subject:  

Hi, Gary.

Mm. Well, let me try to explain.

For quite some time now, I've run a bevy of browsers (Chrome, Chromium, SlimJet and Iron) in all my Pups. I run these from a remote data partition, sym-linked into every Pup at the points where Pup expects to find all the relevant files.

For a long while, I've updated these browsers (glibc & other requirements notwithstanding; not all browsers will run in all Pups as time passes) by the simple expedient of downloading the necessary tarballs, extracting the bits I need (usually the browser directory itself) and replacing those relevant files.

Because of this, I can't give you an exact link to the specific setup I have, simply because it doesn't exist! However, Oscar has a build of Iron 58 which should work fine in 'Chromepup'. You can find it here:-

https://yadi.sk/d/_S5b4g7tpcyZn?force_show=1

Don't bother with Iron 63; it won't run in Chromepup, because it not only requires GTK3 and newer NSS libraries, it also requires a newer glibc (at least 2.17). Chromepup, as is the case with Precise 571, from which it's derived, employs 2.15. Ergo sum. (And I think I'm right in saying that the 'Precise' repos have finally been archived by Canonical, which unfortunately means they're no longer accessible.)

Give Oscar's 58 a try. It should work without any problems, because like Google, who re-compile the Chromium code-base against an older glibc to give a Chrome with maximum compatibility for the greatest number of people, SRWare do exactly the same with Iron. Let us know how you get on with it. Any problems, we'll see if we can 'iron' them out!


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
WiZard

Joined: 11 Sep 2005
Posts: 90

PostPosted: Wed 18 Apr 2018, 19:46    Post subject: vlc chromecast  

@mike
I loaded Oscar's iron 58 in chromebookpupv1, but it does not show cast in the menu, strange.

Gary
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 1780
Location: London, England

PostPosted: Wed 18 Apr 2018, 19:59    Post subject:  

I have re-uploaded a new build of VLC 3.0.1 compiled in Dpup Stretch.
https://yadi.sk/d/nxx9TP2i3HcXB5?force_show=1

I have now added:-

libmicrodns (local network name look-ups)
libmtp (media transfer protocol)
libnfs
libsmbclient (samba)
libvncclient (vnc)

These extra functions might be useful even if they don't get Chromecast working.

@ Gary
Thanks for the earlier reports.
Regarding D-Bus, this probably needs to be looked at in the Stretch development thread so I will probably post there. If you want to upgrade in your system it might be a good idea and shouldn't hurt, but take usual precautions. I think that from PPM you just need dbus, dbus-x11 and libdbus-1-3 as packages. The dbus package drags in libapparmor as a dependency but this is fine. I think you can remove the old file /etc/init.d/messagebus because this is replaced by /etc/init.d/dbus as a daemon starter script.

In my Stretch test-bed remaster I have compiled latest D-Bus from source with systemd disabled and that seems fine so far in my tests.

The terminal output you posted looks interesting. Obviously it suggests that something connected with TLS is missing. The newly created samba (which you mentioned in the other thread) and vnc plugins do link to libgnutls which is a TLS library so the new build is worth a quick try. Otherwise at least it gives a good clue of the direction in which I need to look.

_________________
Oscar in England

Back to top
View user's profile Send private message 
WiZard

Joined: 11 Sep 2005
Posts: 90

PostPosted: Wed 18 Apr 2018, 22:23    Post subject: vlc chromecast  

@oscar
The 4/18 version recognizes the chromcast device, hooray, but it doesn't stream yet. The VLC cast procedure is: start video>click playback>renderer>choose chromecast device.
At that point the video should stream to the tv, instead the video stops on the computer (normal), but does not appear on the tv.

Tried it in terminal again, messages are the same.

Good work Oscar, we're making progress.

Gary
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [41 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1293s ][ Queries: 12 (0.0111s) ][ GZIP on ]