Author Topic: Linux problems  (Read 7764 times)

jonathon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Linux problems
« on: May 23, 2017, 08:58:03 AM »
Hi :)

i am in linux, but the video is not playing.
« Last Edit: May 23, 2017, 08:59:57 AM by jonathon »

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Linux problems
« Reply #1 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.

jonathon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Linux problems
« Reply #2 on: May 23, 2017, 08:07:28 PM »
i installed all packages.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Linux problems
« Reply #3 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


jonathon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Linux problems
« Reply #4 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

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Linux problems
« Reply #5 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


jonathon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Linux problems
« Reply #6 on: May 24, 2017, 05:21:40 AM »
maybe is because i'm in 17.04?

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Linux problems
« Reply #7 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

jonathon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Linux problems
« Reply #8 on: May 24, 2017, 10:01:51 AM »
thanks!
i have video, but no audio.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Linux problems
« Reply #9 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?

jonathon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Linux problems
« Reply #10 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.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Linux problems
« Reply #11 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


jonathon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Linux problems
« Reply #12 on: May 24, 2017, 08:00:25 PM »
lubuntu 17.04

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Linux problems
« Reply #13 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"

jonathon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Linux problems
« Reply #14 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]