WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: VLC  (Read 10734 times)

Offline pedantik

  • Newbie
  • *
  • Posts: 24
VLC
« on: April 26, 2020, 05:05:21 AM »
I'm pretty much a Linux beginner.  I've installed Tiny Core and have managed to get a couple of apps working such as Gftp and PCManFM working.
I'm having the devil's own trouble getting VLC to work. I got vlc3.tcz installed and the icon appears in the dock, but refuses to run.  I have a .avi file on the hard in /home/tc.  Right clicking on that and selecting open with reveals no installed applications.
Any ideas where I might be going wrong.

P

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: VLC
« Reply #1 on: April 26, 2020, 05:06:54 AM »
Which version and architecture have you installed?

Offline pedantik

  • Newbie
  • *
  • Posts: 24
Re: VLC
« Reply #2 on: April 26, 2020, 05:13:07 AM »
I downloaded the Core Plus ISO the Core x86 Project Version 11.1 from http://tinycorelinux.net/downloads.html

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: VLC
« Reply #3 on: April 26, 2020, 05:43:19 AM »
CorePlus uses the tiny x server Xvesa by default - I'm not sure vlc will work with this, but apart from that, it looks like it has a missing dep on libidn.

What happens if you load the libidn extension and then enter the command "vlc" in a terminal window?

Offline pedantik

  • Newbie
  • *
  • Posts: 24
Re: VLC
« Reply #4 on: April 26, 2020, 06:02:41 AM »
Many thanks for your reply.  I installed libidn.tcx.  After that I ran vlc /home/tc.sample.avi
I got a video output, but no audio
main decoder error: failed to create audio output.
So I have no audio configured.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: VLC
« Reply #5 on: April 26, 2020, 06:16:16 AM »
You could try installing the alsa-config and pavucontrol extensions, opening pavucontrol and then running vlc again

Offline pedantik

  • Newbie
  • *
  • Posts: 24
Re: VLC
« Reply #6 on: April 26, 2020, 06:19:29 AM »
I installed  pavucontrol.tcz  and pulseaudio is there.
I attach my error screen now

    [EDIT]: Removed duplicate attachment.  Rich
« Last Edit: April 26, 2020, 08:31:41 AM by Rich »

aus9

  • Guest
Re: VLC
« Reply #7 on: April 26, 2020, 07:04:26 AM »
@pedantik

I am on 64 bit with an AMD APU. I show my code box to help you dismiss some errors. However, if you want video acceleration and are on a nvidia chipset ....you may need to install more packages

Code: [Select]
vlc 3points.mp4
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[00000000016a9430] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-tc'
libEGL warning: DRI2: failed to authenticate
libEGL warning: DRI2: failed to authenticate
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
libEGL warning: DRI2: failed to authenticate
QObject::~QObject: Timers cannot be stopped from another thread



the main things to look at are dependent on whether you have alsa set up ....choose alsa in your sound
tools -> preferences -> output ...pulldown and select alsa

or pulseaudio setup ....select pulseaudio

For most people ...automatic works fine.

You can dismiss
libEGL warning: DRI2: failed to authenticate
Failed to open VDPAU backend libvdpau_nvidia.so
libEGL warning: DRI2: failed to authenticate
XDG_RUNTIME_DIR not set.....because it tells you it has set up something else

You can not dismiss errors for
main audio output...........I suggest you chose the wrong one or chose the right one but its not set up correctly
main decoder.....you are missing a decoder for the format of file you chose.

Please confirm you have set up and have alsa working correctly thru the speaker test
and or pulseaudio working correctly

If they set up properly we may ask for a list of tce installed to see if you are missing one.

their info files are important

Good luck

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: VLC
« Reply #8 on: April 26, 2020, 07:39:36 AM »
I installed  pavucontrol.tcz  and pulseaudio is there.
I attach my error screen now

Did you double-click on the pulseaudio icon? Did pavucontrol open and show an audio output?

Offline pedantik

  • Newbie
  • *
  • Posts: 24
Re: VLC
« Reply #9 on: April 26, 2020, 08:22:07 AM »
I don't see a pulseaudio icon
the Pavucontrol icon is in the tray, opens and shows an audio output

Offline pedantik

  • Newbie
  • *
  • Posts: 24
Re: VLC
« Reply #10 on: April 26, 2020, 08:35:49 AM »
Thanks aus9 I don't get a sound on speaker-test

Offline pedantik

  • Newbie
  • *
  • Posts: 24
Re: VLC
« Reply #11 on: April 26, 2020, 08:43:15 AM »
This is my pulseaudio error
« Last Edit: August 15, 2021, 08:32:15 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: VLC
« Reply #12 on: April 26, 2020, 08:50:55 AM »
Hi pedantik
Welcome to the forum. Please don't use images to post commands and their results.

You can copy text from the terminal by holding down the left mouse button and dragging the mouse.
You can then paste the text by first left clicking  and then center clicking in the destination location.

If you prefer, you can redirect the output of commands to a text file instead:
Code: [Select]
vlc /home/tc/1.avi > vlcerror.txt 2>&1Now you can copy/paste from the  vlcerror.txt  file you just created.

Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly.
« Last Edit: August 01, 2020, 01:31:25 PM by Rich »

Offline pedantik

  • Newbie
  • *
  • Posts: 24
Re: VLC
« Reply #13 on: April 26, 2020, 09:25:33 AM »
Hi Rich,
Apologies for the faux pas and many thanks for the tips re posting commands and their results.

P
« Last Edit: April 26, 2020, 09:28:23 AM by pedantik »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: VLC
« Reply #14 on: April 26, 2020, 10:00:41 AM »
Thanks aus9 I don't get a sound on speaker-test

If you've started pavucontrol, which starts pulseaudio, the alsa sound test will not work because pulseaudio has taken control of the audio output.

The pulseaudio error you show is because you started pulseaudio without first starting the dbus daemon. You need to either:

* start pavucontrol, which starts the dbus daemon and pulseaudio
or
* start the dbus daemon and then "pulseaudio -vv"