VLC

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8663
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

VLC

Post#1 by Ed_P » 27 Nov 2024, 21:08

Is there a download link for an official Porteus 5.01mod ule for VLC? One that works with Cinnamon?

slapt-mod works but the module is bigger than the Porteus ISO. :D

donald
Full of knowledge
Full of knowledge
Posts: 2092
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

VLC

Post#2 by donald » 28 Nov 2024, 01:34

Hi Ed
The info is in the Image. :)
Image

vlc from alien (15.0 not from current) -- this one I think:
http://www.slackware.com/~alien/slackbu ... 1alien.txz

other packages from: -- NOT NEEDED ANYMORE
https://slackware.nl/slakfinder/index.p ... e=#results

How to get rid of the "stale plugins warnings"

Code: Select all

cd /usr/lib64/vlc/
./vlc-cache-gen /usr/lib64/vlc/plugins/
Last edited by donald on 28 Nov 2024, 02:22, edited 1 time in total.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4126
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

VLC

Post#3 by ncmprhnsbl » 28 Nov 2024, 01:50

donald wrote:
28 Nov 2024, 01:34
The info is in the Image.
@donald, btw, fyi, those xcb-util* packages are now in 003-xorg since a bunch of updates ago.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

donald
Full of knowledge
Full of knowledge
Posts: 2092
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

VLC

Post#4 by donald » 28 Nov 2024, 02:16

Oops -OK -thanks
So one only needs the (alien) vlc package and the
qt5-base-5.15.3_20220318-x86_64-xfce-cinnamon-openbox-lxde-mate-gnome.xzm

User avatar
Ed_P
Contributor
Contributor
Posts: 8663
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

VLC

Post#5 by Ed_P » 28 Nov 2024, 04:17

Thanks donald.
donald wrote:
28 Nov 2024, 01:34
The info is in the Image. :)
Yes it is, this is mine: Image

Will this:
donald wrote:
28 Nov 2024, 02:16
qt5-base-5.15.3_20220318-x86_64-xfce-cinnamon-openbox-lxde-mate-gnome.xzm
resolve the red errors? And do you have a link for it.

My slapt-mod version is 3.0.17.3 and 237.6 MB. How did you build your 3.0.21 version? Your alien 3.0.21 link yields: File not downloaded. Potential security risk.

donald
Full of knowledge
Full of knowledge
Posts: 2092
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

VLC

Post#6 by donald » 28 Nov 2024, 05:17

Ed_P wrote:
28 Nov 2024, 04:17
Will this....resolve the red errors?
I already posted what to do - again:
cd /usr/lib64/vlc/
[as root] ./vlc-cache-gen /usr/lib64/vlc/plugins/

My slapt-mod version is 3.0.17.3 and 237.6 MB.
vlc-3.0.21-x86_64-1alien.txz is ~28MB
if you need the qt5-base-5.15.3...xzm it will add ~10MB [file is in bundles]
How did you build your 3.0.21 version?
right-click > txz2xzm
Your alien 3.0.21 link yields: File not downloaded. Potential security risk.
not on my end -- maybe because it is only http not https.
try this one
http://www.slackware.com/~alien/slackbu ... kg64/15.0/
and pick the txz file.

User avatar
Ed_P
Contributor
Contributor
Posts: 8663
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

VLC

Post#7 by Ed_P » 28 Nov 2024, 14:44

Thank you donald. :)
donald wrote:
28 Nov 2024, 05:17
try this one
http://www.slackware.com/~alien/slackbu ... kg64/15.0/
and pick the txz file.
That worked :good: and this:

Code: Select all

guest@porteus:~/Downloads$ su
Password: 
root@porteus:/home/guest/Downloads# txz2xzm *.txz
Verifying package vlc-3.0.21-x86_64-1alien.txz.
Installing package vlc-3.0.21-x86_64-1alien.txz:
PACKAGE DESCRIPTION:
# vlc (multimedia player for various audio and video formats)
#
# VLC media player is a highly portable multimedia player for various
# audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...)
# as well as DVDs, VCDs, and various streaming protocols.
# It can also be used as a server to stream in unicast or multicast in
# IPv4 or IPv6 on a high-bandwidth network.
#
# vlc home: http://www.videolan.org/vlc/
#
Executing install script for vlc-3.0.21-x86_64-1alien.txz.
Package vlc-3.0.21-x86_64-1alien.txz installed.
Creating /home/guest/Downloads/vlc-3.0.21-x86_64-1alien.xzm
donald wrote:
28 Nov 2024, 05:17
I already posted what to do - again:
cd /usr/lib64/vlc/
[as root] ./vlc-cache-gen /usr/lib64/vlc/plugins/
This worked also. :)

And now this:

Code: Select all

root@porteus:/home/guest/Downloads# cd /usr/lib64/vlc/
root@porteus:/usr/lib64/vlc# ./vlc-cache-gen /usr/lib64/vlc/plugins/
root@porteus:/usr/lib64/vlc# vlc
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
[00000000011abdc0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[00000000012513a0] dbus interface error: Failed to connect to the D-Bus session daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[00000000012513a0] main interface error: no suitable interface module
[00000000010eb7f0] main libvlc error: interface "dbus,none" initialization failed
[00000000010eb7f0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000000011c59f0] skins2 interface error: cannot instantiate dialogs provider
[000000000119fda0] main playlist: playlist is empty
[00000000011c59f0] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.21 Vetinari
Command Line Interface initialized. Type `help' for help.
> 
and this:

Code: Select all

root@porteus:/usr/lib64/vlc# exit
exit
guest@porteus:~/Downloads$ vlc
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[00000000022777f0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000002350880] skins2 interface error: cannot instantiate dialogs provider
[000000000232bea0] main playlist: playlist is empty
[0000000002350880] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.21 Vetinari
Command Line Interface initialized. Type `help' for help.
> ^C[0000000002350880] [cli] lua interface error: Error loading script /usr/lib64/vlc/lua/intf/cli.luac: lua/intf/modules/host.lua:286: Interrupted.
guest@porteus:~/Downloads$ 
which means I need to add this? :%)
donald wrote:
28 Nov 2024, 05:17
if you need the qt5-base-5.15.3...xzm it will add ~10MB [file is in bundles]
And why the heck is the vlc module that slapt-mod build 10 times larger than this one? :%)

donald
Full of knowledge
Full of knowledge
Posts: 2092
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

VLC

Post#8 by donald » 28 Nov 2024, 18:39

Ed

001-core.xzm:20240924
002-xorg.xzm:20240924
002-xtra.xzm:20240924
003-cinnamon.xzm:20240924
initrd.xz:20230923
running live - always fresh - in a virtualbox vm.

--> And now this <--
after the cache has been build [as root] - switch back to guest to run vlc,
--> and this <--
vlc does not show the gui without the qt5-base-5.15.3 module.

User avatar
Ed_P
Contributor
Contributor
Posts: 8663
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

VLC

Post#9 by Ed_P » 29 Nov 2024, 02:30

donald wrote:
28 Nov 2024, 18:39
vlc does not show the gui without the qt5-base-5.15.3 module.
Ok.

Can the cache that this creates be saved as a module or created on /tmp?
Ed_P wrote:
28 Nov 2024, 14:44
root@porteus:/home/guest/Downloads# cd /usr/lib64/vlc/
root@porteus:/usr/lib64/vlc# ./vlc-cache-gen /usr/lib64/vlc/plugins/
root@porteus:/usr/lib64/vlc#

rych
Warlord
Warlord
Posts: 733
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

VLC

Post#10 by rych » 29 Nov 2024, 11:17

Ed_P wrote:
29 Nov 2024, 02:30
Can the cache that this creates be saved as a module
Yes, that's how I do this for my own vlc module in the old "VLC" thread VLC,

I copy-paste my last message from there to here for your convenience:

Upgraded to vlc-3.0.21-x86_64-1alien, thanks
donald wrote:
28 Nov 2024, 01:34
vlc from alien (15.0 not from current) -- this one I think:
who gave the link in the newly created parallel "VLC" thread.

My working patch for enabling vlc to run under root:

Code: Select all

root@porteus:/tmp/vlc-3.0.21-x86_64-1alien-rych/usr/bin# sed -i 's/geteuid/getppid/' vlc
And while having an old vlc still activated, we patch the plugins:

Code: Select all

root@porteus:/tmp/vlc-3.0.21-x86_64-1alien-rych/usr/lib64/vlc# ./vlc-cache-gen plugings
Now deactivate and remove the old vlc module, and build the new module vlc-3.0.21-x86_64-1alien-rych.xzm

The size increased a lot: the plugins folder is 3 times larger than 3.0.20 one.

Telegram LINK: https://t.me/PorteusX/41/61

Post Reply