I am not sure about a long term fix, but inserting
_args=(--disable-inline-asm)
before the prepare()
block works around @Gravarty's build failure for me.
Git Clone URL: | https://aur.archlinux.org/ffmpeg-obs.git (read-only, click to copy) |
---|---|
Package Base: | ffmpeg-obs |
Description: | Complete solution to record, convert and stream audio and video with fixes for OBS Studio. And various options in the PKGBUILD |
Upstream URL: | https://ffmpeg.org/ |
Keywords: | audio codec convert encoder ffmpeg media obs vaapi video |
Licenses: | GPL-3.0-only |
Conflicts: | ffmpeg |
Provides: | ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so |
Submitter: | tytan652 |
Maintainer: | tytan652 |
Last Packager: | tytan652 |
Votes: | 21 |
Popularity: | 1.85 |
First Submitted: | 2021-12-16 11:56 (UTC) |
Last Updated: | 2025-01-18 19:51 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 Next › Last »
I am not sure about a long term fix, but inserting
_args=(--disable-inline-asm)
before the prepare()
block works around @Gravarty's build failure for me.
compiling fails with with:
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'. lto-wrapper: fatal error: gcc returned end-state 1 Compilation finished.
@dr460nf1r3 Just like the pinned comment already says, rebuild librist.
Getting this as of late: ERROR: librist >= 0.2.7 not found using pkg-config
Maybe it's absolutely rare situation, but I had to install pkgconf
before building. So I guess it's a makedep
Arch Linux has updated MbedTLS from 2 to 3.4 which requires a rebuild against it for any AUR dependency of ffmpeg-obs
that relies on this library.
So rebuild librist
against MbedTLS 3.
ffmpeg: error while loading shared libraries: libmbedcrypto.so.7: cannot open shared object file: No such file or directory
rebuild needed
Thank you. I've gotten it to work now
@Fluffy, you didn't make a clean build and so you are using old object files built with GCC 12.
I'm unable to build this using makepkg -sirc
lto1: fatal error: bytecode stream in file 'libavutil/csp.o' generated with LTO version 12.0 instead of the expected 13.0
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [ffbuild/library.mak:119: libavutil/libavutil.so.58] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
tytan652 commented on 2022-07-23 05:48 (UTC) (edited on 2024-06-21 13:15 (UTC) by tytan652)
Please, this package follow Arch Linux
ffmpeg
package version (not the staging or the testing one).Don't put
ffmpeg-obs
out-of-date if both packages are on the same version. If you do, you might be ignored in the future.tytan652 commented on 2021-12-17 15:32 (UTC)
OBS Project actually patch FFmpeg to fix some issues and also add RIST support starting from 27.2.
So I created this package, a ffmpeg package that ensure that you have those.
I really wanted to not do this but some fixes are needed, so I did my best to add those "feature-set options".
They allow you to build ffmpeg with feature-set based on other ffmpeg packages from AUR.
Read the PKGBUILD for more information about them.