INTERACT FORUM
More => Old Versions => JRiver Media Center 28 for Linux => Topic started by: firstlove on November 12, 2021, 10:21:51 pm
-
I tried to play mkv inside jriver, but it reports error:
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavutil-jr.so.56: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavutil-jr.so.56
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libswresample-jr.so.3: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libswresample-jr.so.3
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavcodec-jr.so.58: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavcodec-jr.so.58
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavformat-jr.so.58: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavformat-jr.so.58
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libswscale-jr.so.5: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libswscale-jr.so.5
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavfilter-jr.so.7: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavfilter-jr.so.7
-
I tried to play mkv inside jriver, but it reports error:
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavutil-jr.so.56: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavutil-jr.so.56
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libswresample-jr.so.3: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libswresample-jr.so.3
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavcodec-jr.so.58: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavcodec-jr.so.58
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavformat-jr.so.58: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavformat-jr.so.58
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libswscale-jr.so.5: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libswscale-jr.so.5
ERROR in JRLoadLibrary: error=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavfilter-jr.so.7: cannot open shared object file: No such file or directory, file=/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64/libavfilter-jr.so.7
Are you connected to the internet with that machine so it can download the necessary plugin?
What are your running on (OS, architecture, etc)?
-
Are you connected to the internet with that machine so it can download the necessary plugin?
What are your running on (OS, architecture, etc)?
Yes, I always connect to the internet.
My os is Arch Linux, architecture is x86
-
Yes, I always connect to the internet.
My os is Arch Linux, architecture is x86
Are the files in the location as shown in the error message?
Open a terminal, change to that directory and do
ldd *.so* | grep -i found
-
This directory doesn't have any shared libraries:
firstlove@chenli ~/.j/M/P/linux_avcodec64> pwd
/home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64
firstlove@chenli ~/.j/M/P/linux_avcodec64>
firstlove@chenli ~/.j/Media Center 28> find -name "*.so"
firstlove@chenli ~/.j/Media Center 28> pwd
/home/firstlove/.jriver/Media Center 28
-
Likely this is a problem with your distro’s certificate cache.
Look in /usr/lib/jriver/Media Center 28
There is a ca-certificates.crt symlink to the system one (in debian and it’s derivations like ubuntu) in there which probably doesn’t exist on your system.
Delete that and create a symlink to the local copy in that directory.
Rerun MC and try again to see if the plugin is downloaded when you try to play.
If it’s not, make sure the ownership of the ~/.jriver and directories and files underneath it are owned by your userid.
Never run MC as root or under sudo.
-
firstlove@chenli ~/.j/Media Center 28> realpath /usr/lib/jriver/Media\ Center\ 28/ca-certificates.crt
/etc/ca-certificates/extracted/tls-ca-bundle.pem
firstlove@chenli ~/.j/Media Center 28> ls /etc/ca-certificates/extracted/tls-ca-bundle.pem
/etc/ca-certificates/extracted/tls-ca-bundle.pem
So, the file pointed by symbolic does exist on my system, what should I do now?
Thanks.
-
try
sudo update-ca-certificates
If it still doesn't work you need to check those ownership and permissions I mentioned.
-
I think I have found the root cause:
I set http_proxy/https_proxy on my shell and jriver cannot download shared libraries somehow with the two variables. Once I have unset them, the video can play now. There are some other issues, I will post them on other new threads.
-
After unset http_prxy/https_proxy, jriver can download shared libraries into /home/firstlove/.jriver/Media Center 28/Plugins/linux_avcodec64 and I can open video in jriver. The video window is small and located at bottom left. Once I click "Display view" option, the jriver crash. coredump debug as below:
https://gist.github.com/FirstLoveLife/d3527c88b970f18c92a0a83f1b0e0ae7
I have no debug symbols, so cannot dig into deeper.
-
Core dump isn't useful.
Try changing the settings for Video rendering in Tools->Options->Video
-
I have tried to switch to Legacy OpenGL Renderer, but it still crashed.
-
I have tried to switch to Legacy OpenGL Renderer, but it still crashed.
Is hardware acceleration on or off?
Try it both ways.
-
Both crashed
-
You aren't running the Nouveau X server are you? That's incomplete and a known issue.
Otherwise it sounds like you might have a more generic missing library or incompatibility problem.
You could try:
ldd /usr/lib/jriver/Media\ Center\ 28/*.so* | grep found
and
ldd /usr/lib/jriver/Media\ Center\ 28/Plugins/*.so* | grep found
to see if any stock required libraries are missing.
-
My gpu driver is nvidia proprietary driver instead of Nouveau:
firstlove@chenli ~ [0|1]> sudo ldd /usr/lib/jriver/Media\ Center\ 28/*.so.* | grep found
[sudo] password for firstlove:
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so.0'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so.0.0.8'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so.0.0.8.dpkg-new'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6.3'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6.3.dpkg-new'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8.3'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8.3.dpkg-new'
firstlove@chenli ~ [0|1]> sudo ldd /usr/lib/jriver/Media\ Center\ 28/Plugins/*.so.* | grep found
firstlove@chenli ~ [0|1]> inxi -G
Graphics: Device-1: NVIDIA TU117 [GeForce GTX 1650] driver: nvidia v: 495.44
Device-2: SN0002 HIK 1080P Camera type: USB driver: hid-generic,snd-usb-audio,usbhid,uvcvideo
Display: x11 server: X.Org 1.21.1.1 driver: loaded: nvidia unloaded: modesetting resolution: 3840x2160~60Hz
Message: Unable to show advanced data. Required tool glxinfo missing.
Does these warnings matter?
-
My gpu driver is nvidia proprietary driver instead of Nouveau:
firstlove@chenli ~ [0|1]> sudo ldd /usr/lib/jriver/Media\ Center\ 28/*.so.* | grep found
[sudo] password for firstlove:
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so.0'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so.0.0.8'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so.0.0.8.dpkg-new'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6.3'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6.3.dpkg-new'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8.3'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8.3.dpkg-new'
firstlove@chenli ~ [0|1]> sudo ldd /usr/lib/jriver/Media\ Center\ 28/Plugins/*.so.* | grep found
firstlove@chenli ~ [0|1]> inxi -G
Graphics: Device-1: NVIDIA TU117 [GeForce GTX 1650] driver: nvidia v: 495.44
Device-2: SN0002 HIK 1080P Camera type: USB driver: hid-generic,snd-usb-audio,usbhid,uvcvideo
Display: x11 server: X.Org 1.21.1.1 driver: loaded: nvidia unloaded: modesetting resolution: 3840x2160~60Hz
Message: Unable to show advanced data. Required tool glxinfo missing.
Does these warnings matter?
Interesting, there seems to be some extra files in the x86-64 build that shouldn't be there. It really shouldn't make any difference in terms of what you are seeing but I'll post a new build shortly that you can test.
-
There still some permission warnings for latest 28.081:
firstlove@chenli ~/b/jriver> sudo ldd /usr/lib/jriver/Media\ Center\ 28/*.so.* | grep found
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6.3'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8.3'
firstlove@chenli ~/b/jriver [0|1]> yay -Qi jriver-media-center
Name : jriver-media-center
Version : 28.0.87-1
Description : The Most Comprehensive Media Software
Architecture : x86_64
URL : http://www.jriver.com/
Licenses : custom
Groups : None
Provides : None
Depends On : alsa-lib gcc-libs libx11 libxext libxcb libxau libxdmcp util-linux libxext gtk3
Optional Deps : mesa-libgl: nouveau video support [installed]
nvidia-libgl: nvidia video support [installed]
vorbis-tools
musepack-tools
Required By : None
Optional For : None
Conflicts With : jriver-media-center26 jriver-media-center25 jriver-media-center24
Replaces : None
Installed Size : 202.76 MiB
Packager : Unknown Packager
Build Date : Sat 04 Dec 2021 09:57:10 AM CST
Install Date : Sat 04 Dec 2021 09:57:36 AM CST
Install Reason : Explicitly installed
Install Script : No
Validated By : None
But it plays well with Display view now! Thanks!
-
Another problem is it recognizes my videos(mp4 suffix) as Documents, instead of Video
-
Another problem is it recognizes my videos(mp4 suffix) as Documents, instead of Video
Edit the Media Subtype in the tags. Start a new thread with an appropriate topic if you need help.