RetroFE forums

General Category => General Discussion & Help => Topic started by: jonathon on May 23, 2017, 08:58:03 AM

Title: Linux problems
Post by: jonathon on May 23, 2017, 08:58:03 AM
Hi :)

i am in linux, but the video is not playing.
Title: Re: Linux problems
Post by: Pieter Hulshoff on May 23, 2017, 09:29:43 AM
i am in linux, but the video is not playing.

I suspect your libav/gstreamer libraries have not been installed yet.
Title: Re: Linux problems
Post by: jonathon on May 23, 2017, 08:07:28 PM
i installed all packages.
Title: Re: Linux problems
Post by: Pieter Hulshoff on May 23, 2017, 08:14:44 PM
Can you send me a list of your installed packages?

Sent from my SM-G920F using Tapatalk

Title: Re: Linux problems
Post by: jonathon on May 23, 2017, 08:22:50 PM
sudo apt-get install zlib1g libsdl2-2.0 libsdl2-mixer-2.0 libsdl2-image-2.0 libsdl2-ttf-2.0 libgstreamer1.0 libgstreamer-plugins-base1.0 libgstreamer-plugins-good1.0 libglib2.0
Title: Re: Linux problems
Post by: Pieter Hulshoff on May 23, 2017, 08:55:11 PM
Try installing the following libraries:
libavcodec-ffmpeg56:amd64
libavcodec53:amd64

Sent from my SM-G920F using Tapatalk

Title: Re: Linux problems
Post by: jonathon on May 24, 2017, 05:21:40 AM
maybe is because i'm in 17.04?
Title: Re: Linux problems
Post by: Pieter Hulshoff on May 24, 2017, 06:50:18 AM
maybe is because i'm in 17.04?

I seriously doubt it. More likely it's because the installation instructions are missing a few essential libraries, and I forgot to update them. You're not the first to report this problem, and without exception they all turned out to be missing libav/gstreamer libraries. My previous answer contains the libraries the last person with this problem did not have installed.

The list of libraries used when compiling RetroFE are these:
sudo apt-get install tortoisehg g++ cmake dos2unix zlib1g-dev libsdl2-2.0 libsdl2-mixer-2.0 libsdl2-image-2.0 libsdl2-ttf-2.0 \
            libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-ttf-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
            libgstreamer-plugins-good1.0-dev gstreamer1.0-libav zlib1g-dev libglib2.0-0 libglib2.0-dev sqlite3
Title: Re: Linux problems
Post by: jonathon on May 24, 2017, 10:01:51 AM
thanks!
i have video, but no audio.
Title: Re: Linux problems
Post by: Pieter Hulshoff on May 24, 2017, 11:04:15 AM
thanks!
i have video, but no audio.

Do you have audio when you play the videos in a separate video player?
Title: Re: Linux problems
Post by: jonathon on May 24, 2017, 11:47:58 AM
thanks!
i have video, but no audio.

Do you have audio when you play the videos in a separate video player?

yes.
Title: Re: Linux problems
Post by: Pieter Hulshoff on May 24, 2017, 01:25:17 PM
Odd, sounds like a gstreamer/libav codec issue. Which distribution are you using?

Sent from my SM-G920F using Tapatalk

Title: Re: Linux problems
Post by: jonathon on May 24, 2017, 08:00:25 PM
lubuntu 17.04
Title: Re: Linux problems
Post by: Pieter Hulshoff on May 24, 2017, 08:05:51 PM
lubuntu 17.04

Can you post the output of the following command?
apt list --installed | egrep -i "codec|gstreamer|libav"
Title: Re: Linux problems
Post by: jonathon on May 24, 2017, 10:02:20 PM
Code: [Select]
chromium-codecs-ffmpeg-extra/zesty-updates,zesty-security,now 58.0.3029.110-0ubuntu0.17.04.1354 amd64 [instalado, automático]
gir1.2-gstreamer-1.0/zesty,now 1.10.4-1 amd64 [instalado, automático]
gstreamer1.0-libav/zesty,now 1.10.4-1 amd64 [instalado]
gstreamer1.0-nice/zesty,now 0.1.13-2 amd64 [instalado]
gstreamer1.0-plugins-base/zesty,now 1.10.4-1ubuntu1 amd64 [instalado]
gstreamer1.0-plugins-good/zesty,now 1.10.4-1ubuntu1 amd64 [instalado]
libavahi-client3/zesty,now 0.6.32-1ubuntu1 amd64 [instalado]
libavahi-common-data/zesty,now 0.6.32-1ubuntu1 amd64 [instalado]
libavahi-common3/zesty,now 0.6.32-1ubuntu1 amd64 [instalado]
libavahi-core7/zesty,now 0.6.32-1ubuntu1 amd64 [instalado]
libavahi-glib1/zesty,now 0.6.32-1ubuntu1 amd64 [instalado]
libavc1394-0/zesty,now 0.5.4-4 amd64 [instalado]
libavcodec-dev/zesty,now 7:3.2.4-1build2 amd64 [instalado, automático]
libavcodec-extra/zesty,zesty,now 7:3.2.4-1build2 all [instalado]
libavcodec-extra57/zesty,now 7:3.2.4-1build2 amd64 [instalado, automático]
libavdevice57/zesty,now 7:3.2.4-1build2 amd64 [instalado]
libavfilter6/zesty,now 7:3.2.4-1build2 amd64 [instalado]
libavformat-dev/zesty,now 7:3.2.4-1build2 amd64 [instalado]
libavformat57/zesty,now 7:3.2.4-1build2 amd64 [instalado]
libavresample-dev/zesty,now 7:3.2.4-1build2 amd64 [instalado]
libavresample3/zesty,now 7:3.2.4-1build2 amd64 [instalado]
libavutil-dev/zesty,now 7:3.2.4-1build2 amd64 [instalado, automático]
libavutil55/zesty,now 7:3.2.4-1build2 amd64 [instalado]
libgstreamer-plugins-base1.0-0/zesty,now 1.10.4-1ubuntu1 amd64 [instalado]
libgstreamer-plugins-base1.0-dev/zesty,now 1.10.4-1ubuntu1 amd64 [instalado]
libgstreamer-plugins-good1.0-0/zesty,now 1.10.4-1ubuntu1 amd64 [instalado]
libgstreamer-plugins-good1.0-dev/zesty,now 1.10.4-1ubuntu1 amd64 [instalado]
libgstreamer1.0-0/zesty,now 1.10.4-1 amd64 [instalado]
libgstreamer1.0-0-dbg/zesty,now 1.10.4-1 amd64 [instalado]
libgstreamer1.0-dev/zesty,now 1.10.4-1 amd64 [instalado]
Title: Re: Linux problems
Post by: Pieter Hulshoff on May 25, 2017, 06:59:43 AM
I've taken the liberty of moving this discussion to a separate thread. :)

I had a look at your list, and notice at least two possible causes:
gstreamer1.0-alsa
gstreamer1.0-pulseaudio
are not installed; they manage the interface from gstreamer to your audio interface.

I would suggest installing the whole set of gstreamer, libav, and codec libraries though; that's probably the fastest way to resolve this. :)