-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpeg: misc cleanups #50220
ffmpeg: misc cleanups #50220
Conversation
url = "https://bitbucket.org/acoustid/acoustid-fingerprinter/commits/632e87969c3a5562a5d4842b03613267ba6236b2/raw"; | ||
sha256 = "15hm9knrpqn3yqrwyjz4zh2aypwbcycd0c5svrsy1fb2h2rh05jk"; | ||
}) | ||
./ffmpeg.patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add source of the path in a comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrote it myself so this is the source 😆 I would probably need to re-work it a bit before sending upstream so that it works with older versions too.
@@ -23,7 +23,7 @@ let | |||
curl | |||
dbus | |||
expat | |||
ffmpeg_0_10 | |||
ffmpeg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this really work (can local files be played)? Arch package requires https://aur.archlinux.org/packages/ffmpeg-compat-54/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the symlinks I added further down in this file it does, yes. I tested locally and playing files from a local library works fine.
@@ -9525,9 +9525,6 @@ with pkgs; | |||
ffmpeg_0_10 = callPackage ../development/libraries/ffmpeg/0.10.nix { | |||
inherit (darwin.apple_sdk.frameworks) Cocoa; | |||
}; | |||
ffmpeg_1_2 = callPackage ../development/libraries/ffmpeg/1.2.nix { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you delete the file as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks for the catch.
cc @rnhmjoj regarding gnash |
It should be safe to remove, it didn't really work anyway. |
I doubt that the tor-browser still uses |
@Mic92 Yeah, I believe it should be safe to remove as gstreamer support seems to be gone (only looked into it today). I started working on a change that removes gstreamer dependencies from firefox and tor-browser expressions (FF doesn't use |
@pbogdan What is the status of this? What kind of testing did you do? |
Nice work! Can you fix the merge conflict? Post a comment when done (GitHub doesn't send out notifications for new commits), I can then quickly test some things myself and merge it after that. |
@infinisil Thanks, conflicts resolved. |
@GrahamcOfBorg build acoustidFingerprinter |
This fixes evaluation. I'm not sure why pantheon.elementary-videos was mixing gst 1 with old gst-ffmpeg. /cc NixOS#48637, NixOS#50220.
Motivation for this change
There are 5 versions of ffmpeg included in nixpkgs, 2 of which are not supported upstream as I understand it. This attempts to switch packages to a more up to date version where possible. As a result
ffmpeg_1
can be dropped;ffmpeg_0
still remains :/ with a single reverse dependencygst-ffmpeg
. The packages depending ongst-ffmpeg
are:miro
- depends on other deps marked as insecure already -webkitgtk24x-gtk2
- so perhaps could be dropped? - miro: remove #50354gnash
- as per gnash: init at 0.8.11-2017-03-08 [WIP] #26620 gstreamer support is not enabled by default and some parts of it don't work well? Could the gstreamer support be removed here? - gnash: remove gstreamer support #50481transcribe
- I think it should be possible to update the package and switch to new gstreamer and drop thegst-ffmpeg
dependency - transcribe: 8.40 -> 8.72 #50337tor-browser-bundle{-bin}
- don't know what to do with those.. - firefoxen: remove unused gstreamer dependencies #50373Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)I verified things build on
x86_64-linux
but not tested much beyond that.