INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Proxy Problem  (Read 3999 times)

firstlove

  • Recent member
  • *
  • Posts: 11
Proxy Problem
« 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
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Proxy Problem
« Reply #1 on: November 15, 2021, 05:43:07 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
Are you connected to the internet with that machine so it can download the necessary plugin?
What are your running on (OS, architecture, etc)?
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #2 on: November 16, 2021, 07:51:08 am »

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
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Proxy Problem
« Reply #3 on: November 16, 2021, 08:57:13 am »

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
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #4 on: November 17, 2021, 07:41:35 am »

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
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Proxy Problem
« Reply #5 on: November 17, 2021, 09:50:00 am »

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.
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #6 on: November 18, 2021, 07:19:52 am »

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.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Proxy Problem
« Reply #7 on: November 18, 2021, 08:36:16 am »

try
sudo update-ca-certificates

If it still doesn't work you need to check those ownership and permissions I mentioned.
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #8 on: November 19, 2021, 06:55:56 am »

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.
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #9 on: November 19, 2021, 07:10:45 am »

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.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Proxy Problem
« Reply #10 on: November 19, 2021, 10:06:06 am »

Core dump isn't useful.
Try changing the settings for Video rendering in Tools->Options->Video
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #11 on: November 19, 2021, 06:31:21 pm »

I have tried to switch to Legacy OpenGL Renderer, but it still crashed.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Proxy Problem
« Reply #12 on: November 21, 2021, 03:43:59 pm »

I have tried to switch to Legacy OpenGL Renderer, but it still crashed.
Is hardware acceleration on or off?
Try it both ways.
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #13 on: November 22, 2021, 06:48:57 am »

Both crashed
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Proxy Problem
« Reply #14 on: November 22, 2021, 09:12:07 am »

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.
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #15 on: November 23, 2021, 06:55:16 am »

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?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Proxy Problem
« Reply #16 on: November 29, 2021, 03:06:11 pm »

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.
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #17 on: December 03, 2021, 07:59:00 pm »

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!
Logged

firstlove

  • Recent member
  • *
  • Posts: 11
Re: Proxy Problem
« Reply #18 on: December 03, 2021, 08:06:44 pm »

Another problem is it recognizes my videos(mp4 suffix) as Documents, instead of Video
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72534
  • Where did I put my teeth?
Re: Proxy Problem
« Reply #19 on: December 04, 2021, 07:59:11 am »

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.
Logged
Pages: [1]   Go Up