Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 602442

Summary: media-video/transcode-1.1.7-r3 fails to build with ffmpeg-3.x
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 574788    

Description Helmut Jarausch 2016-12-12 15:26:18 UTC
transcode fails to build with ffmpeg-3.x
Having applied these fixes
sed -i -e's/av_close_input_file/avformat_close_input/' import/probe_ffmpeg.c
sed -i -e's/PIX_FMT_/AV_PIX_FMT_/g' encode/encode_lavc.c
sed -i -e 's/CODEC_ID_/AV_CODEC_ID_/g' encode/encode_lavc.c
sed -i -e 's/ CodecID/ AVCodecID/g' encode/encode_lavc.c

it still fails e.g. with
encode_lavc.c:958:20: error: 'AVCodecContext {aka struct AVCodecContext}' has no member named 'mb_qmin'

for which I have no idea how to fix this and upstreams seems to be inactive.
Hopefully, someone can help.
Comment 1 Pacho Ramos gentoo-dev 2016-12-14 15:20:29 UTC
can you provide the original full build.log?
Comment 2 Helmut Jarausch 2016-12-14 15:39:01 UTC
(In reply to Pacho Ramos from comment #1)
> can you provide the original full build.log?

Sorry for the noise, it didn't have the ffmpeg29 patch.

Now it builds just fine.