Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5880 closed enhancement (worksforme)

Transcode-1.1.7 will not link against latest ffmpeg

Reported by: christopher Owned by: blfs-book@…
Priority: normal Milestone: 7.7
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Hello,

The patch that Igor uploaded to patch transcode now seems to need updating. I have a build script that has worked for transcode until at least now. I get the following when trying to compile transcode with the patch applied:

/usr/lib/libXext.so /usr/lib/libX11.so ../libtcvideo/.libs/libtcvideo.a ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl tcprobe-probe_ffmpeg.o: In function `probe_ffmpeg': /opt/build/transcode/transcode-1.1.7/import/probe_ffmpeg.c:123: undefined reference to `av_close_input_file' collect2: error: ld returned 1 exit status Makefile:1380: recipe for target 'tcprobe' failed make[3]: * [tcprobe] Error 1 make[3]: Leaving directory '/opt/build/transcode/transcode-1.1.7/import' Makefile:3058: recipe for target 'all-recursive' failed make[2]: * [all-recursive] Error 1 make[2]: Leaving directory '/opt/build/transcode/transcode-1.1.7/import' Makefile:474: recipe for target 'all-recursive' failed make[1]: * [all-recursive] Error 1 make[1]: Leaving directory '/opt/build/transcode/transcode-1.1.7' Makefile:381: recipe for target 'all' failed make: * [all] Error 2

Change History (3)

comment:1 by Armin K, 9 years ago

Resolution: worksforme
Status: newclosed

Trunk contains the following sed, along the required patch:

sed -i "s:av_close_input_file:avformat_close_input:g" \
       import/probe_ffmpeg.c

http://www.linuxfromscratch.org/blfs/view/svn/multimedia/transcode.html

Works for me.

comment:2 by Fernando de Oliveira, 9 years ago

I can't confirm this with ffmpeg-2.4.3.

comment:3 by Fernando de Oliveira, 9 years ago

Thanks, Armin, comment:2 was not referring to comment:1.

Note: See TracTickets for help on using tickets.