Skip to content

Conversation

@bakpaul
Copy link
Contributor

@bakpaul bakpaul commented Jan 14, 2026

This PR aims at avoiding having to link upon ffmpeg libs as they are not easily redistributable.
Main issue arised on Ubuntu as the apt version of the 22.04 and 24.04 where incompatible, we couldn't link dynamically on the ffmpeg libs + pkg(config isn't multiplatform.

This being said I tried linking statically to it, but the number of dependencies is enormous, the resulting work was a bit too much for the future itself as a screen recorder would do the trick just fine...

So I decided to go for the old way of using the ffmpeg executable that is shipped with the binaries. This copies the Sofa.Qt way, and was made with a little help for Mistral's AI devstral 2 and opencode. It think it saved me up to half a day of work !

⚠️ It'll need an other PR made on SOFA master (see bellow)

@fredroy fredroy force-pushed the 26_01_use_sofa_gl_ffmpeg_in_master branch from 39ad161 to fb2cd14 Compare January 16, 2026 13:20
@fredroy fredroy merged commit d6605e6 into sofa-framework:master Jan 16, 2026
0 of 6 checks passed
bakpaul added a commit that referenced this pull request Jan 16, 2026
* Use the original sofa/gl recorder using the ffmpeg executable

* Small optim

* Clean

* Fix installation of ini file + add more insight in informations

* Fix compilation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants