INTERACT FORUM

More => Old Versions => JRiver Media Center 28 for Linux => Topic started by: RemyJ on July 23, 2021, 10:46:50 am

Title: Somehow lost video support!
Post by: RemyJ on July 23, 2021, 10:46:50 am
I seem to recall having (or seeing someone else with) this issue...

Code: [Select]
0007532: 140369740131712: Playback: CJRPlaybackEngine::Play: Playing: /data1/media/hcok/VID_20200315_100727.mp4
0007532: 140369740131712: Playback: CJRPlaybackEngine::Play: Filetype: mp4; Type: 18; Can play: 1; Playback object: 0x55d666f99820
0007532: 140369740131712: Playback: CJRPlaybackEngine::StartPlayFile: Start
0007532: 140369740131712: Playback: DependencyInstaller::GetInstalledFilename: Dependency 'linux_avcodec64' (34) is missing, installing
0007533: 140369740131712: Playback: DependencyInstaller::Install: Start
0007533: 140369568077376: Reader: CLinuxINetReader::OpenRange: Start
0007533: 140369568077376: Reader: CLinuxINetReader::OpenRange:  Opening URL, Position 0
0007533: 140369568077376: Reader: CLinuxINetReader::Close: Start
0007533: 140369568077376: Reader: CLinuxINetReader::Close: This 7faa44000be0, CleanClose 0
0007533: 140369568077376: Reader: CLinuxINetReader::Close: Finish (0 ms)
0007617: 140369568077376: Reader: CLinuxINetReader::OpenRange:  Elapsed MS 84.0345, initial number of headers = 5, number of loops = 0
0007617: 140369568077376: Reader: CLinuxINetReader::OpenRange:  Open Succeeded. Elapsed MS 84.0547, number of headers = 5, number of loops = 0
0007617: 140369568077376: Reader: CLinuxINetReader::Close: Start
0007618: 140369568077376: Reader: CLinuxINetReader::Close: This 7faa44000be0, CleanClose 5
0007618: 140369568077376: Reader: CLinuxINetReader::Close: Finish (0 ms)
0007645: 140369568077376: Reader: CLinuxINetReader::OpenRange:  Elapsed MS 26.6856, initial number of headers = 0, number of loops = 0
0007645: 140369568077376: Reader: CLinuxINetReader::OpenRange:  Open Succeeded. Elapsed MS 26.7034, number of headers = 0, number of loops = 0
0007645: 140369568077376: Reader: CLinuxINetReader::OpenRange:  CURL open returned error value = 77
0007645: 140369568077376: Reader: CLinuxINetReader::OpenRange: Finish (111 ms)
...
0007653: 140369740131712: Playback: DependencyInstaller::Install: Downloading package failed
0007653: 140369740131712: Playback: DependencyInstaller::Install: Finish (120 ms)
0007653: 140369740131712: Playback: DependencyInstaller::GetInstalledFilename: Failed installing dependency 34
...
0007658: 140369740131712: Playback: CJRVideoPlayerWindow::OpenFile: Filename: /data1/media/hcok/VID_20200315_100727.mp4 type: mp4. CJRVideoPlayerWindow 0x55d666fa8560
0007663: 140369740131712: Playback: CJRVideoEngine::Open: Start
0007663: 140369740131712: Playback: CJRVideoEngine::Open: FFmpeg DLLs are not available.
0007663: 140369740131712: Playback: CJRVideoEngine::Open: Finish (0 ms)
0007663: 140369740131712: Playback: CJRVideoPlayerWindow::OpenFile: Failed to open JR Video Player

I know ffmpeg is installed and ffplay works fine on the video.  Another Fedora install also works fine so I must have deleted something I shouldn't have.  Reinstalling the ffmpeg packages doesn't help.

Thoughts?

Title: Re: Somehow lost video support!
Post by: Awesome Donkey on July 23, 2021, 02:33:53 pm
Firewall or something? According to the log it fails to download its linux_avcodec64 dependency, which is needed.
Title: Re: Somehow lost video support!
Post by: RemyJ on July 23, 2021, 04:06:17 pm
Firewall or something? According to the log it fails to download its linux_avcodec64 dependency, which is needed.

Oh crap.  That's one of the plugins in ~/.jriver/Media\ Center\ 28/Plugins.  I forgot about those and yes, linux_avcodec64 was missing.  Copied it from my working system and I now have video back.  As to why it's not downloading, I have no idea.  This is my main development machine so I'd notice if something was wrong network-wise. 

Thanks for jogging my memory!
Title: Re: Somehow lost video support!
Post by: bob on August 06, 2021, 03:38:55 pm
Oh crap.  That's one of the plugins in ~/.jriver/Media\ Center\ 28/Plugins.  I forgot about those and yes, linux_avcodec64 was missing.  Copied it from my working system and I now have video back.  As to why it's not downloading, I have no idea.  This is my main development machine so I'd notice if something was wrong network-wise. 

Thanks for jogging my memory!
Check the ownership of the files and directories under ~/.jriver
I've seen some users get the temp directory messed up, presumable by running sudo.
Title: Re: Somehow lost video support!
Post by: Hendrik on August 06, 2021, 06:21:17 pm
curl error 77 is a SSL certificate error. I forgot how its all setup currently, do we ship a certificate package? Maybe thats out of date. Or if not, the system cert package may not be found on your particular system.
Title: Re: Somehow lost video support!
Post by: RemyJ on August 07, 2021, 08:50:56 am
curl error 77 is a SSL certificate error. I forgot how its all setup currently, do we ship a certificate package? Maybe thats out of date. Or if not, the system cert package may not be found on your particular system.

That was it.  There should be a symlink:
/usr/lib/jriver/Media Center 28/ca-certificates.crt -> /etc/ssl/certs/ca-certificates.crt
and it was missing for some reason.
Title: Re: Somehow lost video support!
Post by: bob on August 09, 2021, 09:46:53 am
That was it.  There should be a symlink:
/usr/lib/jriver/Media Center 28/ca-certificates.crt -> /etc/ssl/certs/ca-certificates.crt
and it was missing for some reason.
I'll double check the packaging of the deb but that's required.
There is a local copy there in case the system doesn't provide one (like if you are running on a non-debian system) but it's the users responsibility to change the symlink from
/usr/lib/jriver/Media Center 28/ca-certificates.crt -> /etc/ssl/certs/ca-certificates.crt
to
/usr/lib/jriver/Media Center 28/ca-certificates.crt -> /usr/lib/jriver/Media Center 28/local-ca-certificates.crt
Title: Re: Somehow lost video support!
Post by: RemyJ on August 09, 2021, 12:54:43 pm
Yeah, that was my fault.  It's definitely in the package.