-
Notifications
You must be signed in to change notification settings - Fork 318
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
statically built ffmpeg shows ver v1.28 even though it was built from 4.4 #104
Comments
The build script has been fetching the Latest snapshot of ffmpeg. I've never seen this type of result before, neither in this repository's Actions Tabs nor in my personal scratch script. |
Same problem with 1.31. I've even replaced 1.31 with 4.4 in "SCRIPT_VERSION=1.31" inside build-ffmpeg script, but final ffmpeg binary still 1.31 instead of 4.4. Weird this that there's no 1.31 text anywhere else in distributive. |
Same for me. Mine got version number 1.33, the current script version. |
Same here I have
when it should be 5.1 which the version of ffmpeg being downloaded and built. |
If I modify the
This is the hash of the most recent commit in my fork of the |
After further investigation I can report that the problem with the reported version number occurs because of the way the ffmpeg build determines the version number to incorporate into the built artifact. In the ffmpeg source, version determination is performed by a shell script ffbuild/version.sh which looks for the presence of various files, and also determines whether the source is being built inside a cloned git repository. If this repository (ffmpeg-build-script) is cloned, and the build performed within that clone, the ffmpeg build mistakenly picks up version information from the The solution then, is to not execute
After the build is complete, invocations of
|
Thanks for investigating this issue.
Rename back to update the repo
|
@rob-smallshire Thank you for investigating this issue. Depending on your use the easiest workaround is clearly to rename/delete the .git folder. In a future version of the build script we may can patch the version.sh file to just ignore the .git folder. |
Because of this ffprobe is also old.
I know the question is vague but can you choose the version you build statically?
the build command used was:
./build-ffmpeg --build --enable-gpl-and-non-free --full-static
thanks
The text was updated successfully, but these errors were encountered: