On 2022-06-26 23:02:38, Étienne Mollier wrote: > Control: tag -1 help > > Howdy, > > So, I had a look at amide failure to build from source with the > ffmpeg upgrade de version 5.0. The relevant part of the build > log is: > > | /usr/bin/ld: mpeg_encode.o: in function `mpeg_encoding_init': > | ./src/mpeg_encode.c:219: undefined reference to `avcodec_register_all' > | /usr/bin/ld: ./src/mpeg_encode.c:222: undefined reference to > `avcodec_register_all' > | /usr/bin/ld: mpeg_encode.o: in function `mpeg_encode_frame': > | ./src/mpeg_encode.c:377: undefined reference to > `avcodec_encode_video2' > > Affected file is src/mpeg_encode.c, which provides a funtion to > export "Fly through" videos of MRIs with the user interface. > The undefined reference to avcodec_register_all can be simply > fixed by removing the two occurrences of calls to that function; > it has been deprecated by ffmpeg in version 4 and did nothing > anymore anyway. However, the call to avcodec_encode_video2 > should be replaced by the appropriate™ code, and these are the > limits of my know how with ffmpeg. If someone knows how to port > things to ffmpeg 5.0, help will be much appreciated. :) > > Otherwise, there is another option: it is possible to suppress > support for "Fly through" video export by passing the build > configure option --disable-ffmpeg. This will result in less > functionalities and an annoying warning window at first amide > startup about the missing build option, but it should allow us > to bring back amide into testing.
Given that the upstream maintainer is active on the amide support mailing list, have you already tried getting in contect with them? I found no reference to ffmpeg 5 there. Best Sebastian -- Sebastian Ramacher