Closed jesus2099 closed 2 years ago
Quick investigation points towards missing -fPIC
compile time option. I'll investigate further and come back to you.
https://stackoverflow.com/questions/12862830/r-ppc-rel24-relocation-out-of-range
@jesus2099 if it builds succesfully there should be artifacts available in the check summary in here https://github.com/SynoCommunity/spksrc/pull/5323/checks
Try out the qoriq
(e.g. ppc
) package and let me know if this solves the issue.
It now says All checks have passed but I'm not sure how to do that.
From the check page above you clink on Build on the left side and you'll get to the result page (URL changes at every run) https://github.com/SynoCommunity/spksrc/actions/runs/2556795186
You'll find packages for each architectures. Download the one for qoriq, uncompress the zip and in there you'll find the ffmpeg package.
@jesus2099 have you ever tested this out? All you needed was to download the Packages for qoriq-6.1 then manually install it on your NAS from the package center.
I don't posess this NAS model so I can't test it on my end.
Thank you @th0ma7 for the direct link. Sorry for that. I don't remember. I think I tried but I guess I was quite puzzled, not knowing how to do.
I see .spk
files in that zip:
chromaprint_qoriq-6.1_1.5.1-18.spk
comskip_qoriq-6.1_0.82.010-8.spk
ffmpeg_qoriq-6.1_4.4.2-45.spk
imagemagick_qoriq-6.1_7.1.0-8.spk
tvheadend_qoriq-6.1_4.3.20220414-32.spk
I found some info about how to install them online:
sudo synopkg install <path to .spk file>
I will try the command line, but, is sudo synopkg install ffmpeg_qoriq-6.1_4.4.2-45.spk
enough?
or do I have to install for each .spk
file and in what order?
You are overcomplexifying yourself a bit. follow this:
ffmpeg_qoriq-6.1_4.4.2-45.spk
package.Afterwards you'll be able to retry your yt-dlp --ffmpeg-location ....
command and see if the error is now gone.
Great! I will try tonight or tomorrow!
Should I uninstall the SynoCommunity ffmpeg package first? I'm afraid of corrupting its install/uninstall system, maybe if I manually install this other version. OK I do that.
nope, this will replace the package you already have installed with an updated version. That's it. And worst case you can always uninstall and reinstall our official package from the package center as you'd normally do.
OK so I didn't need to uninstall first. Thanks I will know for next time. I didn't understand it was the newer version of the same package.
But, you know... IT WORKS NOW!
This version 4.4.2-45
works!
In fact I just had to run /usr/local/ffmpeg/bin/ffmpeg -version
or even /usr/local/ffmpeg/bin/ffmpeg
to trigger the error, as it would not run at all.
Now with 4.4.2-45
it works.
I also tested the complete yt-dlp
command to make sure!
I can keep this version installed? And it will still detect when there is a newer version?
My package center shows:
Installed version 4.4.2-45
Newest online version 4.4.2-44
That's great! No worries you can keep this version installed. I've bumped the next package version to -46
so eventually you'll be notified by your Package center for an update to a newer version that will now contain this fix by default.
Thnx for taking time for testing this, cheers!
Is this a new Bug?
Package Name
ffmpeg
Package Version
4.4.2-44
Device Model
DS213+
Device Architecture
PPC
Firmware Version
DSM 6.2.4-25556 Update 6 (Release notes)
What happened?
After #5287 has been fixed (missing
libatomic.so
), I now have another missing or wrong?libx265.so.199
library:Reproduction steps
yt-dlp --ffmpeg-location /usr/local/ffmpeg/bin/ --format bestvideo[ext=mp4]+bestaudio[ext=m4a] <video-URL>
Install Log
Other Logs