Ubuntu 18.04 Kodi error (libamplayer.so)

Post Reply
karokaras
Posts: 6
Joined: Thu Aug 02, 2018 10:11 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by karokaras » Sat Sep 29, 2018 4:13 am

Hi,

I have error's and warning's in KODI 17.6:
ERROR: Unable to load libamplayer.so, reason: libamplayer.so: cannot open shared object file: No such file or directory
WARNING: CAMLCodec::CAMLCodec libamplayer.so not found, trying libamcodec.so instead
....
.....
......

How install libamplayer.so on Ubuntu 18.04?


system info:
19:24:52.387 T:548022534160 NOTICE: Starting Kodi (17.6 Git:2018-07-03-5d07af3-dirty). Platform: Linux ARM 64-bit
19:24:52.387 T:548022534160 NOTICE: Using Release Kodi x64 build
19:24:52.387 T:548022534160 NOTICE: Kodi compiled Jun 19 2018 by GCC 6.4.0 for Linux ARM 64-bit version 4.15.18 (266002)
19:24:52.387 T:548022534160 NOTICE: Running on Ubuntu 18.04.1 LTS, kernel: Linux ARM 64-bit version 3.16.57-25
19:24:52.388 T:548022534160 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
kodi.log:
20:55:01.883 T:547935477920 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 192 ms
20:55:04.053 T:545256112288 ERROR: GetDirectory - Error getting
20:55:04.101 T:545501479072 ERROR: Previous line repeats 6 times.
20:55:04.101 T:545501479072 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG Loaded.
20:55:54.205 T:548022534160 NOTICE: VideoPlayer: Opening: /movie.mkv
20:55:54.206 T:548022534160 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:55:54.206 T:547496468640 NOTICE: Creating InputStream
20:55:54.567 T:547496468640 NOTICE: Creating Demuxer
20:55:54.636 T:547496468640 NOTICE: Opening stream: 0 source: 256
20:55:54.636 T:547496468640 NOTICE: Creating video codec with codec id: 28
20:55:54.638 T:547496468640 ERROR: Unable to load libamplayer.so, reason: libamplayer.so: cannot open shared object file: No such file or directory
20:55:54.638 T:547496468640 WARNING: CAMLCodec::CAMLCodec libamplayer.so not found, trying libamcodec.so instead
20:55:54.640 T:547496468640 NOTICE: Creating video thread
20:55:54.640 T:547927085216 NOTICE: running thread: video_thread
20:55:54.640 T:547496468640 NOTICE: Opening stream: 1 source: 256
20:55:54.640 T:547496468640 NOTICE: Finding audio codec for: 86018
20:55:54.644 T:547496468640 NOTICE: Creating audio thread
20:55:54.644 T:547496468640 NOTICE: Opening stream: 3 source: 256
20:55:54.644 T:546752762016 NOTICE: running thread: CVideoPlayerAudio::Process()
20:55:54.655 T:546752762016 NOTICE: Creating audio stream (codec id: 86018, channels: 6, sample rate: 48000, no pass-through)
20:55:54.981 T:547935477920 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 192 ms
20:55:55.247 T:548022534160 NOTICE: Using GL_TEXTURE_2D
20:55:55.248 T:548022534160 NOTICE: GL: Using AML render method
20:55:55.248 T:548022534160 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
20:55:55.248 T:548022534160 ERROR: GL: BaseYUV2RGBGLSLShader - unsupported format 19
20:55:55.272 T:548022534160 ERROR: Previous line repeats 1 times.
20:55:55.273 T:548022534160 WARNING: CLinuxRendererGLES::UpdateVideoFilter - choosen scaling method 1, is not supported by renderer
20:55:55.273 T:548022534160 NOTICE: GL: NPOT texture support detected
20:56:04.952 T:547927085216 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
21:00:04.509 T:545501479072 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG Loaded.

.mkv file info:
General
Unique ID : 2539425077154542138180007 (0xBF0B8C484452340DB8dfsd8CA2469A7)
Complete name : /movie.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 2.18 GiB
Duration : 2 h 20 min
Overall bit rate : 2 228 kb/s
Movie name : Movie
Encoded date : UTC 2018-06-25 08:49:30
Writing application : mkvmerge v9.3.1 ('Mask Machine') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 11 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 11 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 20 min
Bit rate : 1 796 kb/s
Width : 1 200 pixels
Height : 500 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.125
Stream size : 1.74 GiB (80%)
Writing library : x264 core 155 r2901 7d0ff22
Encoding settings : cabac=1 / ref=11 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=11 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-4 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=11 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1796 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=62500 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No

Audio #1
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC-2
Duration : 2 h 20 min
Bit rate : 221 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : 9 ms
Stream size : 222 MiB (10%)
Language : English
Default : No
Forced : No

Text #1
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 2 h 11 min
Bit rate : 47 b/s
Count of elements : 1599
Stream size : 46.0 KiB (0%)
Language : English
Default : No
Forced : No

Thx :)

User avatar
rooted
Posts: 6509
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 34 times
Been thanked: 13 times
Contact:

Re: Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by rooted » Sat Sep 29, 2018 4:20 am

Does the file not play?

karokaras
Posts: 6
Joined: Thu Aug 02, 2018 10:11 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by karokaras » Sat Sep 29, 2018 4:30 am

Yes.
Sometimes playing a few minutes and crash KODI then need reboot odroid.

mdrjr
Site Admin
Posts: 11705
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 5 times
Contact:

Re: Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by mdrjr » Mon Oct 01, 2018 12:23 pm

do you have the aml-libs package installed?

karokaras
Posts: 6
Joined: Thu Aug 02, 2018 10:11 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by karokaras » Mon Oct 01, 2018 12:57 pm

yes

Code: Select all

aml-libs is already the newest version (20180611-ed1d8b8-3)

mdrjr
Site Admin
Posts: 11705
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 5 times
Contact:

Re: Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by mdrjr » Mon Oct 01, 2018 1:15 pm

For c2 we don't use libamplayer, so its Kodi will use another method.. no problems.

Does this issue you have happens with all other files or just this file in specific ?

karokaras
Posts: 6
Joined: Thu Aug 02, 2018 10:11 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by karokaras » Mon Oct 01, 2018 3:00 pm

With all files if enabled HW decoder.

mdrjr
Site Admin
Posts: 11705
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 5 times
Contact:

Re: Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by mdrjr » Wed Oct 03, 2018 9:12 am

Can you post more details?
Image?
Power Supply?
sd or eMMC?

unixseb
Posts: 1
Joined: Wed Oct 26, 2016 2:08 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 18.04 Kodi error (libamplayer.so)

Unread post by unixseb » Sun Feb 10, 2019 5:13 am

you have to launch kodi from the user odroid, or if you created a new user, it must be in groups audio,video,users (and maybe others, look at the list with the command "groups odroid") for aml codecs to load.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest