[Debian-med-packaging] Bug#1004597: amide ftbfs with ffmpeg 5.0 - options

Étienne Mollier emollier at emlwks999.eu
Sun Jun 26 22:02:38 BST 2022


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.

Have a nice day,  :)
-- 
Étienne Mollier <emollier at emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/3, please excuse my verbosity.
On air: Johansson - Fill the void
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20220626/6e179865/attachment.sig>


More information about the Debian-med-packaging mailing list