Opened 7 years ago
Closed 7 years ago
#10735 closed defect (fixed)
transcode FTBFS with ffmpeg-4.0
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 8.3 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
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 , 7 years ago
Type: | enhancement → defect |
---|
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
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 https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/transcode/files/ffmpeg4.patch?id=ac771a5dab7c52b1afa12e903b74b747737e9412
Low priority for the moment, but I'll give it a try.
comment:4 by , 7 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 pld-linux.org, and running autoreconf for that one, I'm still getting an error). I may be some time.
comment:5 by , 7 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 , 7 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 , 7 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 , 7 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.
Grrr, even what is apparently gentoo's master site doesn't have an updated version of the patchset.