Skip to content
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

ffmpeg6 split #43761

Closed
wants to merge 94 commits into from
Closed

ffmpeg6 split #43761

wants to merge 94 commits into from

Conversation

zlice
Copy link
Contributor

@zlice zlice commented May 5, 2023

[ci skip]

Testing the changes

  • I tested the changes in this PR: YES

main testing has been vaapi in Firefox Nightly and enc/dec in Shotcut on Intel A770

New package

Local build testing

  • I built this PR locally for my native architecture, x86_64

Discussion

Continuation of #36315

libavresample is deprecated, but marked as a dependency when trying to build other packages and install ffmpeg(6). I think the right way to handle this is make a meta package and the add to removals?

Commit naming / misc

Commits are 'dirty' right now, running with gstreamer 1.22.1 updates and Intel OpenCL. This will also make intel packages pr obsolete. (see Requirements below)

Maintainer for previous ffmpeg(4) was orphaned, I can put my name in there if that matters, though I don't exactly see myself keeping up on ffmpeg.

This updates QT5 which looks like it is usually hosted by Johnny. Not sure if there's any reason to stay there or these sources are fine. Using qt5.15.11 now, revbumps and some patches.

STILL FFMPEG4

These are a mix of emulators, games and/or older packages.

HAVE NOT BUILT YET
  • omxplayer (rpi only? ffmpeg4) (removed)
  • kodi (big, but ffmpeg4)
UPDATED (for ffmpeg6)
  • blender: update to 3.5.1 will be revbump with blender: update to 3.5.1. #43992
  • unpaper: update to 7.0.0.
  • guvcview: update to 2.0.8.
  • qt5: update to 5.15.8 updated by another PR to 5.15.11
  • qt5-webengine: update to 5.18.15 updated by another PR to 5.15.16 (some patching for ffmpeg build)
  • shiboken2: revbump for qt5.15.8 (patch) updated by another PR to 5.15.10
  • python3-pyside2: update to 5.15.8 (patch) updated by another PR to 5.15.10
  • New package: spex-x replaces spek-alternative for ffmpeg-6.0
Requirements

@zlice zlice mentioned this pull request May 5, 2023
@zlice zlice force-pushed the ffmpeg6-split branch from 1a380ed to 7cead17 Compare May 5, 2023 13:27
@zlice
Copy link
Contributor Author

zlice commented May 5, 2023

xlint questions

============ qt5 ===============
qt5:35: verify python_version and remove "#unverified"
qt5:529: use <pkgname>-doc subpackage for documentation

what counts as 'verified' for python?

does doc pkg need changed? looks like a separate package (still on 5.15.2 and out of sync with current qt5 5.15.7)

edit: per irc i was told docs is nothing to worry about rn. the python2 vs 3 thing i guess i can't verify because i don't use any qt scripts for that

@zlice zlice force-pushed the ffmpeg6-split branch from 7cead17 to 93e0afe Compare May 5, 2023 18:04
@paper42
Copy link
Member

paper42 commented May 7, 2023

are the commits for a blender update, gstreamer and new intel packages really necessary for this PR? If not, please drop them. If yes and they could be merged before merging this PR, please split them to a separate PR and mention that it should be merged before this PR in this PR's description.

@zlice
Copy link
Contributor Author

zlice commented May 7, 2023

Intel OpenCL commits removed

blender - uses ffmpeg-devel, added to update list

gstreamer - added to 'Requirements' section and only revbumped the appropriate packages

Intel Packages - added to 'Requirements'

@zlice zlice force-pushed the ffmpeg6-split branch 2 times, most recently from 6452795 to c44c15e Compare May 8, 2023 00:23
@zlice zlice force-pushed the ffmpeg6-split branch 2 times, most recently from 7b3b330 to 26fa129 Compare June 4, 2023 15:47
@zlice zlice force-pushed the ffmpeg6-split branch 4 times, most recently from f7a8fe7 to cd8cead Compare June 23, 2023 20:37
@zlice zlice force-pushed the ffmpeg6-split branch 4 times, most recently from e2ae589 to 36edccd Compare July 9, 2023 14:54
@zlice
Copy link
Contributor Author

zlice commented Jul 9, 2023

ICU updated, and many other things since my last full build test. building fine for now

@yoshiyoshyosh
Copy link
Contributor

we can replace spek-alternative with spek-x, a more actively maintained fork that supports ffmpeg6. the original spek has also become maintained again, but it claims to only support up to ffmpeg 5.1.

@zlice
Copy link
Contributor Author

zlice commented Oct 11, 2023

Blocked by #46172

Already quite a few updates to sift through and I don't feel comfortable trying until I know I can update mesa.

@SpidFightFR
Copy link
Contributor

SpidFightFR commented Oct 11, 2023

Blocked by #46172

Already quite a few updates to sift through and I don't feel comfortable trying until I know I can update mesa.

Sup, 23.1.8 should build, but it doesn't work because 32-bit subpackage problem. i still don't know how to solve this issue.
EDIT: on my personal way, i'm currently running mesa 23.2.1 on my void-install, no issues whatsoever.

@zlice
Copy link
Contributor Author

zlice commented Oct 16, 2023

Got 64/32bit x86 building again. tyvm spid

@SpidFightFR
Copy link
Contributor

SpidFightFR commented Oct 16, 2023

Got 64/32bit x86 building again. tyvm spid

it's not ready yet, i believe there is an issue with arm and aarch64 archs.
Mesa still can't be updated atm.

Edit, if i'm lucky, i might get it ready for tonight, but nothing's set in the stone.

@SpidFightFR
Copy link
Contributor

see here: #46674

@classabbyamp
Copy link
Member

ok, let's rebase and split this into batches of ~10-30 (depending on the size of the packages)

@zlice
Copy link
Contributor Author

zlice commented Jul 21, 2024

will do, probably later tonight. ill probably sort by stuff i use reguarly that has been working fine with 6, version update packages separately(?), then by w/e groups that make sense. hold on the big electron/gtk/qt stuff like you said and wait for those to update and switch ffmpeg.

@classabbyamp
Copy link
Member

sounds good to me, no rush too

@zlice zlice mentioned this pull request Jul 22, 2024
@classabbyamp
Copy link
Member

classabbyamp commented Jul 28, 2024

by my reckoning, this is all that's left in this PR:

Thus, this can be closed now.

other packages I see in the repos still on ffmpeg4:

  • electron19
  • electron24
  • qt5
  • qt5-webengine
  • qt6-pdf
  • qt6-multimedia
  • mediastreamer
  • moc
  • mpv-mpris
  • olive
  • opencv
  • qtox
  • tvheadend
  • vlc

@zlice
Copy link
Contributor Author

zlice commented Jul 29, 2024

sounds right

pyside/shiboken was due to the original having ffmpeg6 as main and rebuilding qt i think. will take another look at those and make a pr if theyre still not compiling currently.

tvheadend still no 4.4 release, the 4.3 'dev' works. electron and qt should be the only things left then. others are on ffmpeg4 until question-marks

thanks for all the assistance abby

@classabbyamp
Copy link
Member

made a tracking issue: #51522

can you make a PR for the qt5-related patches?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants