[FFmpeg-user] How to decipher FFMEG version number?

Reindl Harald h.reindl at thelounge.net
Sat Dec 26 10:02:46 EET 2020



Am 26.12.20 um 05:52 schrieb Gyan Doshi:
> 
> 
> On 26-12-2020 05:12 am, Dan Bridges wrote:
>> I build FFMPEG under Win10 using media-autobuild_suite
>> (https://github.com/m-ab-s/media-autobuild_suite)
>>
>> https://github.com/m-ab-s/media-autobuild_suite
>>
>> Is it possible to decipher the version number:
>>
>> ffmpeg version N-100471-g85bd703b3a-g5b48d2af43+1 Copyright (c)
>> 2000-2020 the FFmpeg developers
>>    built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
> 
> 
> The media-autobuild_suite adds some out-of-tree patches on top of 
> ffmpeg, so its version number is non-standard.
> 
> However, it can still be deciphered.
> 
> N indicates that the build is of the master branch of ffmpeg.
> 
> 100471 is the commit count. See the number on the blue bar just above 
> the file listing at https://github.com/FFmpeg/FFmpeg
> 
> The 2nd g-prefixed hash - g5b48d2af43 identifies the latest ffmpeg 
> commit at time of building.
> 
> It can be viewed at https://github.com/FFmpeg/FFmpeg/commit/5b48d2af43
> 
> +1 represents the number of out-of-tree commits applied on top

well, smart versioning would have the intended version of the next 
release somewhere in the code....
https://ffmpeg.org/releases/

[harry at srv-rhsoft:~]$ ffmpeg
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers

what is so hard in a snapshotbuild having 4.3.2 or whatever si the 
intended next release as usual and then N-100471-g85bd703b3a-g5b48d2af43+1


More information about the ffmpeg-user mailing list