Opened 5 years ago

Closed 5 years ago

#10735 closed defect (fixed)

transcode FTBFS with ffmpeg-4.0

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 8.3
Component: BOOK Version: SVN
Severity: normal Keywords:


Not exactly a surprise. Googling, gentoo's current ebuild has an ffmpeg4.patch for this, to be applied on top of their ffmpeg29.patch as well as an imagemagick7.patch.

Unfortunately they now ship these in transcode-1.1.7-patchset.tar.bz2 - the ffmpeg4 patch was only referenced in their build on 25th April, all the patchsets I have so far found are from December.

If the patch can be found, this might once again allow a full build of transcode - unsure.

Change History (9)

comment:1 by ken@…, 5 years ago

Type: enhancementdefect

comment:2 by ken@…, 5 years ago

Grrr, even what is apparently gentoo's master site doesn't have an updated version of the patchset.

comment:3 by ken@…, 5 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

Found it ;) Gentoo have hard-masked ffmpeg-4.0 (I think that means "testing" - recent updates for status on certain archs) and navigating to a diff showed nothing. But getting the tree for the commit (full gentoo tree) let me get to

Low priority for the moment, but I'll give it a try.

comment:4 by ken@…, 5 years ago

The latest gentoo patches do not apply on top of what we have been using. Taking their _whole_ set of patches (including for ImageMagick-7 which originally came from, and running autoreconf for that one, I'm still getting an error). I may be some time.

comment:5 by ken@…, 5 years ago

The gentoo patch seems to be fairly incomplete (I'm building with

./configure --prefix=/usr --enable-a52 --enable-alsa --enable-freetype2 --enable-imagemagick --enable-libmpeg2 --enable-libpostproc --enable-x264 --enable-xvid

) but this has highlighted that transcode can use libavresample - in (apparently) ffmpeg-1.1 that became optional with a default of no, so our ffmpeg build will need to have that added.

comment:6 by ken@…, 5 years ago

I fixed up what I had - gentoo say that what I've added is in one of their earlier patches, so I'll attribute the whole patchset to them, apart from the inagemagick7 part which is for PLD.

Note: our own patches differed, so that gentoo's ffmpeg4 changes did not all apply - I'll be going with the full gentoo set (assuming it works) - and the ffmpeg4 part is almost-certainly not backwards-compatible. Still need to test.

comment:7 by ken@…, 5 years ago

To my surprise, with the full patch it *does* build on a system with ffmpeg-3.4.2 (provided that version has been recompiled to add libavresample). Not yet tested, it's been years since I used any of this other than tccat.

comment:8 by ken@…, 5 years ago

After extended testing, this is not improved from what we had with ffmpeg-3 : the basic transcode only creates avi files (with mp3 audio) and many ffmpeg options continue to not work. As before tccat works ok.

I'm dropping the ImageMagick7 part of the patch - it is for a very limited and uncommon use case, and unlike the rest of the gentoo patches it needs autoreconf to be effective.

comment:9 by ken@…, 5 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.