"... vj-el.c: In function '_el_new_decoder': vj-el.c:479:3: warning: 'avcodec_alloc_context' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3246) [-Wdeprecated-declarations] vj-el.c:483:13: error: 'AVCodecContext' has no member named 'palctrl' vj-el.c:487:3: warning: 'avcodec_open' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations] vj-el.c: In function 'detect_pixel_format_with_ffmpeg': vj-el.c:1367:2: error: unknown type name 'AVFormatParameters' vj-el.c:1376:2: warning: 'av_find_stream_info' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations] vj-el.c:1380:3: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] vj-el.c:1395:55: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) vj-el.c:1395:55: note: each undeclared identifier is reported only once for each function it appears in vj-el.c:1408:6: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] vj-el.c:1416:6: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] vj-el.c:1427:3: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] vj-el.c:1433:2: warning: 'avcodec_open' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations] vj-el.c:1457:3: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] vj-el.c:1469:2: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] make[2]: *** [vj-el.lo] Error 1 make[2]: se sale del directorio `/home/agustin/veejay-git/veejay-current/veejay-server/libel' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/agustin/veejay-git/veejay-current/veejay-server' make: *** [all] Error 2"
Hi again!! I've tried with ffmpeg and also with libav from AUR, but it still doesn't work. So after that I've been reading that thread "Build problem veejay" and I've compiled ffmpeg-git from AUR editing the PKGBUILD and adding "--enable-shared" but.....I still get some errors, but not the same:
"... vj-perform.c: In function 'vj_perform_init_audio': vj-perform.c:774:6: error: 'SAMPLE_FMT_S16' undeclared (first use in this function) vj-perform.c:774:6: note: each undeclared identifier is reported only once for each function it appears in vj-perform.c: In function 'vj_perform_fill_audio_buffers': vj-perform.c:1613:5: warning: passing argument 2 of 'audio_resample' from incompatible pointer type [enabled by default] In file included from ../libel/vj-avcodec.h:21:0, from vj-perform.c:33: /usr/include/libavcodec/avcodec.h:4258:5: note: expected 'short int *' but argument is of type 'uint8_t *' vj-perform.c:1613:5: warning: passing argument 3 of 'audio_resample' from incompatible pointer type [enabled by default] In file included from ../libel/vj-avcodec.h:21:0, from vj-perform.c:33: /usr/include/libavcodec/avcodec.h:4258:5: note: expected 'short int *' but argument is of type 'uint8_t *' vj-perform.c:1651:6: warning: passing argument 2 of 'audio_resample' from incompatible pointer type [enabled by default] In file included from ../libel/vj-avcodec.h:21:0, from vj-perform.c:33: /usr/include/libavcodec/avcodec.h:4258:5: note: expected 'short int *' but argument is of type 'uint8_t *' vj-perform.c:1651:6: warning: passing argument 3 of 'audio_resample' from incompatible pointer type [enabled by default] In file included from ../libel/vj-avcodec.h:21:0, from vj-perform.c:33: /usr/include/libavcodec/avcodec.h:4258:5: note: expected 'short int *' but argument is of type 'uint8_t *' vj-perform.c: In function 'vj_perform_finish_render': vj-perform.c:3375:13: warning: assignment makes pointer from integer without a cast [enabled by default] make[2]: *** [vj-perform.lo] Error 1 make[2]: *** Se espera a que terminen otras tareas.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -DG_LOG_DOMAIN=\"veejay\" -DVEEJAY_VERSION=\"1.5.20\" -I../mjpegtools -I /usr/X11R6/include -I../libOSC -I../libhash -I../libvje -I../libplugger -I../libvjmem -I../libvjmsg -I../libvjnet -I../libel -I../libstream -I/libyuv -I../libsamplerec -I../libvevo -I../liblzo -I../bio2jack -I/usr/include/lqt -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -march=nocona -mtune=nocona -fno-stack-protector -MT vj-font.lo -MD -MP -MF .deps/vj-font.Tpo -c vj-font.c -o vj-font.o >/dev/null 2>&1 mv -f .deps/vj-font.Tpo .deps/vj-font.Plo make[2]: se sale del directorio `/home/agustin/veejay-git/veejay-current/veejay-server/veejay' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/agustin/veejay-git/veejay-current/veejay-server' make: *** [all] Error 2"
Azrael^^ wrote:
> Hi again!! I've tried with ffmpeg and also with libav from AUR, but it > still doesn't work. So after that I've been reading that thread "Build > problem veejay" and I've compiled ffmpeg-git from AUR editing the PKGBUILD > and adding "--enable-shared" but.....I still get some errors, but not the > same:
you can try with ffmpeg-compat. It seems the ffmpeg team has again
changed the API.
Azrael^^ wrote:
> Ok, but....could you explain me how?? I have already installed > ffmpeg-compat. Should I remove ffmpeg and then try to compile??
There's scattered info in the thread " Build problem veejay" of 19 Oct
2011.
Either get the ffmpeg revision of 2011-11-11 (Commit id: 985e76802435a3eabfbfca3ca27cc3aa66ba907a) or try with the C_INCLUDE_PATH and pkgconfig stuff to point to ffmpeg-compat.
I soon will have to try that because I get the same problem on my
archlinux :).
It's just a version conflict, ffmpeg is very volatile atm.
You will need to find out whether you have multiple versions of ffmpeg
installed
and that the include files match the version of the library you need.
Something like ldconfig -v |grep avcodec as root should do.
Set PKG_CONFIG_PATH to the location containing the ffmpeg .pc files
Libav is just as volatile, I never tried it with veejay
On Sun, Aug 12, 2012 at 9:09 PM, Charles Goyard <c...@fsck.fr> wrote:
> Azrael^^ wrote:
> > Ok, but....could you explain me how?? I have already installed
> > ffmpeg-compat. Should I remove ffmpeg and then try to compile??
> There's scattered info in the thread " Build problem veejay" of 19 Oct
> 2011.
> Either get the ffmpeg revision of 2011-11-11 (Commit id:
> 985e76802435a3eabfbfca3ca27cc3aa66ba907a) or try with the C_INCLUDE_PATH
> and pkgconfig stuff to point to ffmpeg-compat.
> I soon will have to try that because I get the same problem on my
> archlinux :).
> Good luck.
> --
> You received this message because you are subscribed to the Google Groups
> "veejay-discussion" group.
> To post to this group, send email to veejay-discussion@googlegroups.com.
> To unsubscribe from this group, send email to
> veejay-discussion+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/veejay-discussion?hl=en.