You are not logged in.
I need mlt-git in order to compile kdenlive-svn which solves some issues.
When I compile it using mlt-git from AUR I get:
consumer_avformat.c:1347:4: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1669) [-Wdeprecated-declarations]
consumer_avformat.c:1663:7: warning: ‘quality’ is deprecated (declared at /usr/include/libavformat/avformat.h:559) [-Wdeprecated-declarations]
cc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,--as-needed -lavformat -lavcodec -lavutil -lswscale -lavdevice
filter_avdeinterlace.o: In function `deinterlace_line_inplace':
/tmp/yaourt-tmp-alpha/aur-mlt-git/src/mlt-build/src/modules/avformat/filter_avdeinterlace.c:142: undefined reference to `ff_cropTbl'
/tmp/yaourt-tmp-alpha/aur-mlt-git/src/mlt-build/src/modules/avformat/filter_avdeinterlace.c:300: undefined reference to `ff_cropTbl'
collect2: ld returned 1 exit status
make[2]: *** [../libmltavformat.so] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-alpha/aur-mlt-git/src/mlt-build/src/modules/avformat'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-alpha/aur-mlt-git/src/mlt-build/src/modules'
make: *** [all] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build mlt-git.
==> Restart building mlt-git ? [y/N]
Thanks
Alphazo
Offline
I just ran into another error regarding 'avformat' when compiling mlt-git. Unfortunately I lost the exact error message, but upgrading ffmpeg to the latest version fixed it. I know this is an old thread, but I figured I'd mention this in case people run into it while trying to figure out why mlt-git won't compile. Just like me, in fact
You like cheese? You like peas? You'll love cheezy peas!
Offline