Page 1 of 1

Trouble compiling transcode slackbuild

Posted: 20. Feb 2012, 19:09
by mimosa
The build failed here (output below):

I can live without this app (k3b says it uses it for ripping, and I wanted to give it a try) but if anyone has any ideas, please let me know! According to the README, deps are ffmpeg and (optionally) lame, both of which I have installed.

Code: Select all

libtool: link: gcc -shared  -fPIC -DPIC  .libs/filter_pp_la-filter_pp.o   -lpostproc -lm -lz -ldl  -O2 -march=i486 -mtune=i686   -Wl,-soname -Wl,filter_pp.so -o .libs/filter_pp.so
libtool: link: ( cd ".libs" && rm -f "filter_pp.la" && ln -s "../filter_pp.la" "filter_pp.la" )
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -D_REENTRANT -I.. -I../src    -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i486 -mtune=i686 -MT filter_resample_la-filter_resample.lo -MD -MP -MF .deps/filter_resample_la-filter_resample.Tpo -c -o filter_resample_la-filter_resample.lo `test -f 'filter_resample.c' || echo './'`filter_resample.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i486 -mtune=i686 -MT filter_resample_la-filter_resample.lo -MD -MP -MF .deps/filter_resample_la-filter_resample.Tpo -c filter_resample.c  -fPIC -DPIC -o .libs/filter_resample_la-filter_resample.o
filter_resample.c: In function 'resample_configure':
filter_resample.c:115:44: error: 'AV_SAMPLE_FMT_S16' undeclared (first use in this function)
filter_resample.c:115:44: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [filter_resample_la-filter_resample.lo] Error 1
make[3]: Leaving directory `/usr/src/slapt-src/multimedia/transcode/transcode-1.1.7/filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/slapt-src/multimedia/transcode/transcode-1.1.7/filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/slapt-src/multimedia/transcode/transcode-1.1.7'
make: *** [all] Error 2
fakeroot -- sh transcode.SlackBuild Failed

Re: Trouble compiling transcode slackbuild

Posted: 21. Feb 2012, 06:34
by thom1
Transcode is old so it's possible it doesn't work with recent ffmpeg, isn't it ?

Re: Trouble compiling transcode slackbuild

Posted: 21. Feb 2012, 13:11
by mimosa
Ink3 kindly sent me a link to a package on slacky, the Italian Slackware site. K3b recognises it (it no longer tells me I need transcode for ripping) but it doesn't actually work. This is conceivably an unmet dependency, but I think your explanation's more likely.

The question then is why k3b is using something that's out of date. The idea of integrating ripping into a burner app is interesting ... you could view it as bloat, but on the other hand, ripping is another approach to the function performed by making an iso image, with the advantage of needing a lot less storage space.

Re: Trouble compiling transcode slackbuild

Posted: 21. Feb 2012, 19:13
by thenktor
mimosa wrote:with the advantage of needing a lot less storage space.
... and the disadvantage of reduced quality :twisted:

Re: Trouble compiling transcode slackbuild

Posted: 22. Feb 2012, 00:27
by Shador
thenktor wrote:
mimosa wrote:with the advantage of needing a lot less storage space.
... and the disadvantage of reduced quality :twisted:
Lol. That's exactly what I thoguhtg too. But you keep saying it. ;)
It of course depends also on the codec and the amount of reencodes (which is completly stupid)

Re: Trouble compiling transcode slackbuild

Posted: 22. Feb 2012, 00:45
by mimosa
Quite so, but - off topic - I think quality can be overrated. There is an inflationary process that is clearly pernicious (and generally circular) if you look at other cases, such as hardware-dependent feature bloat. Yes, maybe it's nicer to watch The Godfather with mod cons undreamt of when it was made, but that's just "sugar". In the case under discussion, limited storage (or bandwidth :twisted: ) makes the lower-quality option attractive; but that's not really my point. My (off-topic) point is that the imperative of ever-better quality can be questioned. Not just that the improvement may sometimes be scarcely perceptible, but more important, it distracts from other more important improvements, such as ease of use or coverage of unusual cases.

Re: Trouble compiling transcode slackbuild

Posted: 22. Feb 2012, 10:06
by thenktor
OK, let me explain :)
* nowadays an entry level TV screen already has 37" or even 42"
* watching transcodes from DVD to 640x360 and 1,4 GB size just sucks on such screens.
* one GB costs 0,05 €, so a complete DVD rip without reencode costs just about 0,20 € more
=> no need for a DVD reencode. Just rip it, have better quality and safe your time ;)

Re: Trouble compiling transcode slackbuild

Posted: 22. Feb 2012, 10:47
by mimosa
Your TV is bigger than mine :D In fact I don't even *have* a TV. And I find it quite cool to fit a whole series of TNG or Frasier on a single disc, one episode = one file is very handy. If you've ever seen Brazilian TV, maybe you will understand :twisted: