Package Details: ffmpeg-obs 7.1-1

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: 18
Popularity: 0.79
First Submitted: 2021-12-16 11:56 (UTC)
Last Updated: 2024-11-11 17:07 (UTC)

Required by (1923)

Sources (3)

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.

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

nrv commented on 2024-11-08 21:55 (UTC)

When updating to 7.1-1, one of the SVT patch files failed validation.

==> Validating source files with sha256sums...
    ffmpeg ... Skipped
    obs-deps ... Skipped
    add-av_stream_get_first_dts-for-chromium.patch ... Passed
    020-ffmpeg-add-svt-hevc-ged80959.patch ... Passed
    030-ffmpeg-add-svt-hevc-docs-ged80959.patch ... Passed
    040-ffmpeg-add-svt-vp9-g1feb760.patch ... FAILED
    license_if_nonfree_enabled.txt ... Passed
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'ffmpeg-obs-7.1-1': 

The PKGBUILD has ee9499836808b6f5e583dcc1b21c28598550c58386c53cfaef41d25121ea2022 as the SHA-256 hash, but the actual file hashes to e801727b9cfb843db4efc34d3de8cf03ddf5687ff02429ac6c051e1d78d8923e.

Bink commented on 2024-11-08 11:43 (UTC) (edited on 2024-11-08 11:43 (UTC) by Bink)

I needed pod2man installed to successfully build. It's not currently a build dependency.

sw0ok commented on 2024-09-25 21:58 (UTC)

There seems to be problems in how this is packaged, actual version of libplacebo should be ~=6, with this it builds properly, this then be on version 7.0.2 and will allow building of obs-studio-tytan652-30 successfully.

galuise commented on 2024-08-23 16:46 (UTC)

Hi,

I noticed while updating that the official Arch Linux ffmpeg package has bumped to version 7.0.2. I was able to make the following changes to the PKGBUILD and .SRCINFO and get a successful build of ffmpeg-obs with the 7.0.2 ffmpeg source:

diff --git a/.SRCINFO b/.SRCINFO
index 0896944..75e5fd5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = ffmpeg-obs
    pkgdesc = Complete solution to record, convert and stream audio and video with fixes for OBS Studio. And various options in the PKGBUILD
-   pkgver = 7.0.1
+   pkgver = 7.0.2
    pkgrel = 3
    url = https://ffmpeg.org/
    arch = x86_64
@@ -92,7 +92,7 @@ pkgbase = ffmpeg-obs
    optdepends = ladspa: LADSPA filters
    optdepends = nvidia-utils: Nvidia NVDEC/NVENC support
    optdepends = vpl-runtime: Intel QuickSync support
-   provides = ffmpeg=7.0.1
+   provides = ffmpeg=7.0.2
    provides = libavcodec.so
    provides = libavdevice.so
    provides = libavfilter.so
diff --git a/PKGBUILD b/PKGBUILD
index 05b0425..e6bb521 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,7 +51,7 @@ if [[ -z "$FFMPEG_OBS_VULKAN" ]]; then
 fi

 pkgname=ffmpeg-obs
-pkgver=7.0.1
+pkgver=7.0.2
 pkgrel=3
 pkgdesc='Complete solution to record, convert and stream audio and video with fixes for OBS Studio. And various options in the PKGBUILD'
 arch=('x86_64' 'aarch64')
@@ -175,7 +175,8 @@ provides=(
   libswscale.so
 )
 conflicts=(ffmpeg)
-_tag=af25a4bfd2503caf3ee485b27b99b620302f5718
+#_tag=af25a4bfd2503caf3ee485b27b99b620302f5718 #7.0.1
+_tag=e3a61e91030696348b56361bdf80ea358aef4a19 #7.0.2 
 _deps_tag=2023-11-03
 source=(
   "ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git#tag=${_tag}"

brunofontes commented on 2024-07-05 18:36 (UTC)

Hello! Would it be possible to have this comment about the ffmpeg major version pinned here?

When I first had the issue, I came here, but I didn't see anything about it. So I just waited (lack of free time to search about it), believing any library tool had not been updated yet, and was causing the issue. It took me some time to understand the issue, so maybe there are more people in the same situation.

Many thanks in advance!

Bitals commented on 2024-06-29 10:13 (UTC)

To avoid trouble - host a local repo. Can be just on a filesystem somewhere. This way ffmpeg-obs and all other AUR packages will get updated at the same time as upstream Arch packages, not afterwards, so you won't have to jump through any such hoops. See CREATING A LOCAL REPOSITORY on https://github.com/aurutils/aurutils/blob/master/man1/aur.1 or look it up on Reddit etc.

tytan652 commented on 2024-06-28 16:20 (UTC)

@Da_Boom, no it isn't needed to add soversions to my provides since it's Pacman/Makepkg job to do it on the fly.

Everytime FFmpeg will get a major upgrade you will have to go back temporarily to the ffmpeg repo package to be able to update and then re-install ffmpeg-obs to be sure to avoid any breakage.

And this the same for any other FFmpeg AUR package (except -git which is another mess). This is in no way an issue from my package.

Dependency trouble is part of using the AUR, If you don't want that, use the Flatpak it will make you avoid all the trouble.

Da_Boom commented on 2024-06-28 15:49 (UTC)

libavcodec.so=61-64 libavdevice.so=61-64 libavfilter.so=10-64 libavformat.so=61-64 libavutil.so=59-64 libpostproc.so=58-64 libswresample.so=5-64 libswscale.so=8-64

These Library versions need to be specified in the provides section - that way the package keeps up with official repo as specified here:

https://archlinux.org/packages/extra/x86_64/ffmpeg/

please @tytan652 please update the PKGBUILD to be explicit on the lib versions so we don't get any more problems with dependency hell. I just spent an hour or more researching and manually compiling and updating this package with the changes i specified above, using pacman -Udd to force install the package to break the circular dependency issue i was getting.

I know both this and the official packages are on the same version. but right now i feel we should be allowed to mark it out of date if the PKGBUILD causes the package to not produce the same results as the official repo package would, while also enabling the use of obs-studio-rc and tytan652 respectively

GabeDM commented on 2024-06-25 12:34 (UTC) (edited on 2024-06-25 12:35 (UTC) by GabeDM)

Had the same conflict problem with ffmpeg and ffmpeg-obs, as I have installed both obs-studio-tytan652 and mpv, the first one requiring ffmpeg-obs as a dependency, and the second requiring ffmpeg, so I couldn't just immediately replace one with the other.

To solve this, I uninstalled obs-studio-tytan652, did the updates as normal answering yes when asked to replace ffmpeg-obs with ffmpeg, and then when it finished, I reinstalled obs-studio-tytan652, also answering yes when it asked to replace ffmpeg with ffmpeg-obs. My obs setup remained unchanged, so that didn't delete my preferences, as far as I could see.

corben78 commented on 2024-06-23 13:09 (UTC)

By excluding ffmpeg-obs it somehow updated, it asked me once if I would like to replace ffmpeg-obs with ffmpeg, I said yes... and the full system upgrade went through.