Hello Community,
I have been fighting for well over 1 hour trying to get transcode to work and it's dying at:
checking if linker needs -framework vecLib... checking for pkg-config... no checking for pkg-config... no checking for X... no configure: WARNING: can not find X11 checking for gzopen in -lz... no configure: error: transcode depends on libz, but cannot links against libz make: *** [Makefile:411: config.status] Error 1
And on another (debian) system I got a couple of steps further but still no luck:
make[2]: Entering directory '/home/t/bin/transcode-1.1.7/encode'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/t/bin/transcode-1.1.7/encode'
Making all in export
make[2]: Entering directory '/home/t/bin/transcode-1.1.7/export'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -MT export_divx5_la-aud_aux.lo -MD -MP -MF .deps/export_divx5_la-aud_aux.Tpo -c -o export_divx5_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -MT export_divx5_la-aud_aux.lo -MD -MP -MF .deps/export_divx5_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_divx5_la-aud_aux.o
In file included from aud_aux.c:48:0:
../libtc/tcavcodec.h:33:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
include
^
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0,
from ../libtc/tcavcodec.h:34,
from aud_aux.c:48:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2456:25: error: field 'sample_fmt' has incomplete type
enum AVSampleFormat sample_fmt; ///< sample format
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2521:25: error: field 'request_sample_fmt' has incomplete type
enum AVSampleFormat request_sample_fmt;
^~~~~~~~~~~~~~~~~~
aud_aux.c: In function 'tc_audio_encode_ffmpeg':
aud_aux.c:883:16: warning: implicit declaration of function 'avcodec_encode_audio' [-Wimplicit-function-declaration]
out_size = avcodec_encode_audio(&mpa_ctx, (unsigned char *)output,
^~~~~~~~~~~~~~~~~~~~
Makefile:860: recipe for target 'export_divx5_la-aud_aux.lo' failed
make[2]: *** [export_divx5_la-aud_aux.lo] Error 1
make[2]: Leaving directory '/home/t/bin/transcode-1.1.7/export'
Makefile:474: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/t/bin/transcode-1.1.7'
Makefile:381: recipe for target 'all' failed
make: *** [all] Error 2
So anyways, what would be the preferred method in 2019 if one wishes to extract the audio of a DVD movie? Alternatively, does one knows how to fix the make errors I am facing above?
Before installing UM 19.10 I used to evoke transcode and that fixed it. But now it seems this time has passed.
Cheers!