Conversation
|
Hi, the parsec-bin version that is currently on nixpkgs does not support ffmpeg_6 and above yet. I have already poked upstream to bump their package to atleast -94 (introduces ffmpeg 6 support), which they said they will do soon. Due to their auto update mechanism you could use the newer one after the client decides to update. I put this on hold until they bump the base version above that. Also the libav and cuda issues can be ignored, they are caused due to parsec querying all versions and picking whatever works. |
|
Thanks for the very quick reply! I had someone try running |
|
Parsec should be fine with ffmpeg 4 until they decide to bump. During testing you probably caught the updated version (due to their autoupdater), however that differs from the version that is on nixpkgs currently |
|
Makes sense, thank you. Let’s downgrade it for now and you can bump it when they update their package. Do you know if the new version works with FFmpeg 7.x? |
|
It does not support ffmprg 7 yet |
|
I guess that’s to be expected when they haven’t yet made a proper release for an FFmpeg version from 1.5 years ago… Thanks again for the information! Looks like we might have to keep |
|
Result of 16 packages marked as broken and skipped:
1 package blacklisted:
28 packages failed to build:
1003 packages built:
|
|
No regressions vs. Hydra after running a couple of rebuilds. I think this is good to go. Would be good to hear from @Misterio77 about Dim though. |
|
cc @pluiedev @RaghavSood for testing dim |
Atemu
left a comment
There was a problem hiding this comment.
Diff LGTM, would like to verify that dim works, otherwise the only realistic way to test this is to have it hit unstable.
This should probably also be announced in https://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/17574/
|
It‘ll be a little while before the |
jopejoe1
left a comment
There was a problem hiding this comment.
Diff LGTM, thanks for the work.
This builds fine with the current FFmpeg for me.
This builds fine with the current FFmpeg for me.
It just uses the command‐line tool, and the test passes.
Their Dockerfile uses Alpine’s ffmpeg package, which is already on 6. They just invoke the command‐line tool and nothing they do looks particularly version‐sensitive.
Pin FFmpeg to 6.x as upstream doesn’t even support 5.x any more. Unfortunately 7.x support is not yet there; I might have to handle it myself when we drop 6.
These don’t seem necessary.
From <https://github.com/russelltg/wl-screenrec/blob/v0.1.3/README.md#from-source-using-cargo>: > Install ffmpeg 6 or later, which is a required dependency. ffmpeg > 5 may work, but is untested (open an issue or PR if you test with > ffmpeg 5 so I can update these docs on if it works or not) I guess it worked… 7.x will need a bump to the ffmpeg-sys-next crate, but see <russelltg/wl-screenrec#77>.
There is an upstream version that supports FFmpeg >= 6, but it’s not available in their distributed package yet. Downgrade the FFmpeg for now until it can be bumped later.
I have no idea if this works.
Officially supported upstream. 7.x might be a bit tricky because it uses a fork of the ffmpeg-sys-next crate.
|
I realized I forgot to update the hash when bumping Fixed that and the release notes conflict. I‘m busy building Chromiums for the |
|
Thanks a bunch :) |
|
Uh, I actually found out that fixing the PyAV update breaks the build and was working on fixing it, oops. I’ll open another PR ASAP. |
|
#327626 should fix it; running a review now. Back to tackling FFmpeg 4… |
Description of changes
One fewer FFmpeg version! Thankfully, it seems like (almost) everything we ship with this has a version that supports at least
ffmpeg_6. Some signs of turmoil on the horizon, as there’ll be Rust dependencies to update and a very widely‐used Python library to patch when we dropffmpeg_6.I’ve run a
nixpkgs-reviewonx86_64-linuxon amaster‐based version of this for everything except the ~900‐package reverse dependency tree ofpython3Packages.av, which I’m going to leave running on the community builder overnight; if not for that, this could targetmaster. I also ran the NixOS tests forfrigateandakkoma.Hopefully we can get
ffmpeg = ffmpeg_7;into the next staging cycle; everything that I didn’t pin specifically toffmpeg_6here should work with that, but I’m hoping that I can patchpython3Packages.avto support 7.x so we can dropffmpeg_6at the same time.@Misterio77 Could you test Dim and make sure stuff that depends on FFmpeg works? That’s the change I’m least sure of here.
cc @Atemu @jopejoe1
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.