FS#74088 - [blender] ffmpeg option missing from File Format menu in Scene > Output

Attached to Project: Community Packages
Opened by George Angelopoulos (gangelop) - Thursday, 10 March 2022, 18:19 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 13 March 2022, 03:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
ffmpeg option missing from File Format menu in Scene > Output

Additional info:
* package version: blender-17:3.1.0-1

I just compiled blender from upstream source at commit c77597cd0e1 and it does _not_ have this issue.
The blender from Arch Linux package which has this issue also says in "About": "Hash c77597cd0e1".

So I assume this must be some packaging issue, but I haven't looked at any PKGFILEs yet.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 13 March 2022, 03:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.1.0-2
Comment by George Angelopoulos (gangelop) - Thursday, 10 March 2022, 18:21 GMT
clarification: git commit c77597cd0e1 is the latest stable release with tag v3.1.0
Comment by George Angelopoulos (gangelop) - Thursday, 10 March 2022, 18:29 GMT
I just checked the blender PKGFILE and there are some cmake flags for using ffmpeg4.4.
But it appears that in upstream there are some changes made to support ffmpeg5.

```
[upstream blender]$ git log --oneline v3.0.1..v3.1.0 -G ffmpeg
af6a1b08e3f VSE: Refactor our code to be compatible with ffmpeg 5.0
a04300c436d Cleanup: Move more cmake library variables to be advanced
f420118335e Fix T93856: VP9 lossless render missing alpha
f2b24272dd7 Fix T93328: Movie seeking doesn't work.
b45e71e22cc VSE: Build proxies only for slow movies
2ed73fc97e7 Fix T94237: Glitch when copying unaligned ffmpeg buffer
75a1a578bd5 CMake: use FFmpeg find module on Linux
e594f23a27f Revert "CMake: use FFmpeg find module on Linux"
62a0de16733 CMake: use FFmpeg find module on Linux
9f546d69089 Cleanup: move public doc-strings into headers for 'imbuf'
```
Comment by George Angelopoulos (gangelop) - Thursday, 10 March 2022, 21:24 GMT
indeed, removing the two flags related to ffmpeg4.4 from the PKGBUILD resolves the issue.

P.S. Earlier I meant PKGBUILD not PKGFILE!
Comment by David Thurstenson (thurstylark) - Friday, 11 March 2022, 16:32 GMT
Upstream seems to be under the impression that it should be able to build with either ffmpeg version 4.x or 5.0 [1]

[1]: https://developer.blender.org/D14063#377563

Loading...