Opened 5 years ago

Closed 4 years ago

#1769 closed enhancement (fixed)

Make ffmpeg build string available in avutil.h

Reported by: DonMoir Owned by: Timothy_Gu
Priority: wish Component: avutil
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Would be good if this was generally available rather than specifically as it is now in version.h. Also I think a version.h that has the proper build string in it may not be readily available in a general download of the source code.

Could be a #define in avutil.h or function call.

It's better than any lib_version function for tracking user installations etc.

Attachments (1)

0001-configure-output-build-config-and-license-to-libavut.patch (1.2 KB) - added by Timothy_Gu 4 years ago.
First version of patch

Download all attachments as: .zip

Change History (9)

comment:1 Changed 4 years ago by Timothy_Gu

  • Component changed from undetermined to avutil
  • Owner set to Timothy_Gu
  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Changed 4 years ago by Timothy_Gu

First version of patch

comment:2 Changed 4 years ago by Timothy_Gu

Can you test the patch?

It prints the info to libavutil/avconfig.h and it should be installed.

Last edited 4 years ago by Timothy_Gu (previous) (diff)

comment:3 Changed 4 years ago by Timothy_Gu

Ah sorry I didn't get your meaning by "build string".

comment:4 Changed 4 years ago by DonMoir

Yeah, trying to say something different there besides version something :) should have included FFMPEG_VERSION though in description.

comment:5 follow-up: Changed 4 years ago by DonMoir

I applied some of the patches that relate to this ticket and looks good. When it's all said and done I will retest and then we can close this. Thanks Timothy.

comment:6 in reply to: ↑ 5 Changed 4 years ago by Timothy_Gu

Replying to DonMoir:

I applied some of the patches that relate to this ticket and looks good. When it's all said and done I will retest and then we can close this. Thanks Timothy.

How is it? Please disregard the patch attached in this ticket.

comment:7 Changed 4 years ago by DonMoir

The ffversion.h file works for my needs which is ffmpeg build version tracking. The FFMPEG_VERSION #define was like an orphan before but now in libautil/ffversion.h.

The FFMPEG_VERSION string identifies a unique ffmpeg build for those interested.

Thanks.

comment:8 Changed 4 years ago by Timothy_Gu

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.