Page 1 of 1

Update Serviio 2.4 -- FFMPEG Error

PostPosted: Sun Aug 04, 2024 6:28 am
by tmtd
Hi,

I recently updated my serviio on 2.4 version. When i start the console i receive a messagge :"Cannot connect to the server, it doesnt' seem to be running"
I have not a clue what happened...

EDIT: I use a MAC Installation, and on my serviio.log i have this:

2024-08-04T08:16:51,025 ERROR [MediaServer] An unexpected error occurred. Ending the application. Message: FFMPEG not found. Serviio will not work properly.
java.lang.ExceptionInInitializerError: null
at org.serviio.MediaServer.main(MediaServer.java:147) ~[serviio.jar:?]
Caused by: java.lang.RuntimeException: FFMPEG not found. Serviio will not work properly.
at org.serviio.external.FFMPEGWrapper.loadFFmpegInfo(FFMPEGWrapper.java:126) ~[serviio.jar:?]
at org.serviio.external.FFMPEGWrapper.<clinit>(FFMPEGWrapper.java:96) ~[serviio.jar:?]
... 1 more

Re: Update Serviio 2.4

PostPosted: Sun Aug 04, 2024 2:08 pm
by tmtd
When i try to start and stop serviio server on command line:

sudo launchctl load /Library/LaunchDaemons/org.serviio.server.plist
sudo launchctl unload /Library/LaunchDaemons/org.serviio.server.plist

I see thi crash report of ffmpeg... How can i solve? THank You!

Process: ffmpeg [3817]
Path: /Library/Application Support/Serviio/*/ffmpeg
Identifier: ffmpeg
Version: ???
Code Type: X86-64 (Native)
Parent Process: java [3816]
Responsible: ffmpeg [3817]
User ID: 0

Date/Time: 2024-08-04 15:59:41.622 +0200
OS Version: Mac OS X 10.11.6 (15G22010)
Report Version: 11
Anonymous UUID: 04AF63DD-6BED-7B17-1AAA-5613F1B9B541


Time Awake Since Boot: 22000 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Symbol not found: _kCVImageBufferTransferFunction_ITU_R_2100_HLG
Referenced from: /Library/Application Support/Serviio/*/ffmpeg
Expected in: /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
in /Library/Application Support/Serviio/*/ffmpeg

Re: Update Serviio 2.4

PostPosted: Sun Aug 04, 2024 8:23 pm
by atc98092
You might try a different version of FFMPEG. I only have a download link for the Windows version, so you might need to search the web for a Mac location.

Re: Update Serviio 2.4

PostPosted: Mon Aug 05, 2024 6:30 am
by tmtd
atc98092 wrote:You might try a different version of FFMPEG. I only have a download link for the Windows version, so you might need to search the web for a Mac location.


I also tried uninstalling version 2.4 and reinstalling version 2.3.1 but I get the same error, how is this possible?

Re: Update Serviio 2.4

PostPosted: Mon Aug 05, 2024 8:22 pm
by atc98092
tmtd wrote:
atc98092 wrote:You might try a different version of FFMPEG. I only have a download link for the Windows version, so you might need to search the web for a Mac location.


I also tried uninstalling version 2.4 and reinstalling version 2.3.1 but I get the same error, how is this possible?

My guess is when 2.4 was uninstalled some bits remained. Again, I'm only familiar with the Windows version of Serviio, so no idea if the install puts different files in different places. When I uninstall a software package (of any type) I always make sure the install folder is completely gone. I've seen some uninstalls leave a folder with a few files, and when reinstalling those previous files might end up remaining.

FFMPEG is a single file that can be easily replaced. Any time I've done that I rename the original file before adding the new one, just so I could revert if needed. Where is FFMPEG stored on your Mac? I have no clue, so it's something you'd need to search for.

Re: Update Serviio 2.4 -- FFMPEG Error

PostPosted: Tue Aug 06, 2024 6:20 am
by tmtd
Solved. I simply replaced the original ffmpeg file with new one downloaded from internet. Thank you :)

Re: Update Serviio 2.4 -- FFMPEG Error

PostPosted: Tue Aug 06, 2024 3:05 pm
by atc98092
Good work!