Maybe veejay was built against a newer version of ffmpeg ?
PIX_FMT_ definitions are normally in libavutil,
probably veejay will need some patching to work with the ffmpeg/libav
included in ubuntu 12.04
See you,
Niels
On Mon, May 28, 2012 at 3:07 PM, Guillaume Garnier <guiluxm...@gmail.com>wrote:
> as said in the subject, I cannot compile v1.5.19 on a fresh installed
> ubuntu/64 12.04
> effects/colorhis.c:103:46: error: 'PIX_FMT_YUV422P' undeclared (first use in
> this function)
> effects/colorhis.c:103:64: error: 'PIX_FMT_YUV420P' undeclared (first use in
> this function)
> effects/colorhis.c:106:68: error: 'PIX_FMT_RGB24' undeclared (first use in
Okay thanks for your replies.
I compiled ffmpeg with its latest snapshot and I have another error
now.
So you recommend to do this ?
***
git pull on 2011-11-11.
Commit id: 985e76802435a3eabfbfca3ca27cc3aa66ba907a
On my main computer it's 20111108 on archlinux, and it works too.
I removed Ubuntu's ffmpeg/libav, built ffmpeg on /opt/ffmpeg4veejay,
set PKG_CONFIG_PATH accordingly and also set C_INCLUDE_PATH to
ffmpeg's
include path.
***
This is not clear enough for me :)
1. you remove libav*, right ? but replaced by what ?
2.I guess "set C_INCLUDE_PATH to ffmpeg's include path" is a build
feature for ffmpeg, but I have no idea how to do this
anyway, here's the output of my second attempt to build veejay with
fresh ffmpeg
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I.. -I/usr/local/include -I../vjmem -I../vjmsg -I../
mjpegtools -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-
gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/
include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-
unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/
include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/
include/libpng12 -I/usr/include/lqt -march=core2 -mtune=core2 -
fPIC -DPIC -fno-stack-protector -MT vj-el.lo -MD -MP -MF .deps/vj-
el.Tpo -c -o vj-el.lo vj-el.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/
include -I../vjmem -I../vjmsg -I../mjpegtools -pthread -I/usr/include/
gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/
atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/
include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -
I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/lqt -
march=core2 -mtune=core2 -fPIC -DPIC -fno-stack-protector -MT vj-el.lo
-MD -MP -MF .deps/vj-el.Tpo -c vj-el.c -fPIC -DPIC -o .libs/vj-el.o
vj-el.c: In function '_el_new_decoder':
vj-el.c:487:13: error: 'AVCodecContext' has no member named 'palctrl'
vj-el.c:491:3: warning: 'avcodec_open' is deprecated (declared at /usr/
local/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
vj-el.c: In function 'detect_pixel_format_with_ffmpeg':
vj-el.c:1380:2: error: unknown type name 'AVFormatParameters'
vj-el.c:1401:3: warning: 'av_close_input_file' is deprecated (declared
at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
declarations]
vj-el.c:1437:6: warning: 'av_close_input_file' is deprecated (declared
at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
declarations]
vj-el.c:1445:6: warning: 'av_close_input_file' is deprecated (declared
at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
declarations]
vj-el.c:1456:3: warning: 'av_close_input_file' is deprecated (declared
at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
declarations]
vj-el.c:1462:2: warning: 'avcodec_open' is deprecated (declared at /
usr/local/include/libavcodec/avcodec.h:3380) [-Wdeprecated-
declarations]
vj-el.c:1486:3: warning: 'av_close_input_file' is deprecated (declared
at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
declarations]
vj-el.c:1498:2: warning: 'av_close_input_file' is deprecated (declared
at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
declarations]
vj-el.c: In function 'vj_el_write_line_ascii':
vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
but argument 4 has type 'size_t' [-Wformat]
vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
but argument 6 has type 'long unsigned int' [-Wformat]
vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
but argument 8 has type 'size_t' [-Wformat]
vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
but argument 4 has type 'size_t' [-Wformat]
vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
but argument 6 has type 'long unsigned int' [-Wformat]
vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
but argument 8 has type 'size_t' [-Wformat]
vj-el.c:2354:2: warning: format '%lld' expects argument of type 'long
long int', but argument 4 has type 'int64_t' [-Wformat]
vj-el.c:2354:2: warning: format '%lld' expects argument of type 'long
long int', but argument 5 has type 'int64_t' [-Wformat]
vj-el.c:2354:2: warning: format '%lld' expects argument of type 'long
long int', but argument 4 has type 'int64_t' [-Wformat]
vj-el.c:2354:2: warning: format '%lld' expects argument of type 'long
long int', but argument 5 has type 'int64_t' [-Wformat]
vj-el.c:2370:6: warning: format '%lld' expects argument of type 'long
long int', but argument 4 has type 'int64_t' [-Wformat]
vj-el.c:2370:6: warning: format '%lld' expects argument of type 'long
long int', but argument 5 has type 'int64_t' [-Wformat]
vj-el.c:2370:6: warning: format '%lld' expects argument of type 'long
long int', but argument 4 has type 'int64_t' [-Wformat]
vj-el.c:2370:6: warning: format '%lld' expects argument of type 'long
long int', but argument 5 has type 'int64_t' [-Wformat]
vj-el.c:2382:2: warning: format '%lld' expects argument of type 'long
long int', but argument 3 has type 'int64_t' [-Wformat]
vj-el.c: In function 'vj_el_write_editlist':
vj-el.c:2457:6: warning: format '%lld' expects argument of type 'long
long int', but argument 3 has type 'int64_t' [-Wformat]
vj-el.c:2457:6: warning: format '%lld' expects argument of type 'long
long int', but argument 4 has type 'int64_t' [-Wformat]
vj-el.c:2464:7: warning: format '%lld' expects argument of type 'long
long int', but argument 3 has type 'int64_t' [-Wformat]
vj-el.c:2465:7: warning: format '%lld' expects argument of type 'long
long int', but argument 3 has type 'int64_t' [-Wformat]
vj-el.c:2470:6: warning: format '%lld' expects argument of type 'long
long int', but argument 3 has type 'int64_t' [-Wformat]
make[2]: *** [vj-el.lo] Erreur 1
make[2]: quittant le répertoire « /home/guilux/veejay/veejay-git/
veejay-current/veejay-server/libel »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/guilux/veejay/veejay-git/
veejay-current/veejay-server »
make: *** [all] Erreur 2
I'll look at this during the weekend and patch veejay to work with the most
recent version of ffmpeg (0.11)
But it should build with the 0.9 or older releases of ffmpeg
PKG_CONFIG_PATH should point to a list of directories that contain the .pc
files, first found is included.
There's no need to change the c include path, pkg-config sets the c include
path when configure is run.
On Thu, May 31, 2012 at 10:37 PM, guilux <guiluxm...@gmail.com> wrote:
> Okay thanks for your replies.
> I compiled ffmpeg with its latest snapshot and I have another error
> now.
> So you recommend to do this ?
> ***
> git pull on 2011-11-11.
> Commit id: 985e76802435a3eabfbfca3ca27cc3aa66ba907a
> On my main computer it's 20111108 on archlinux, and it works too.
> I removed Ubuntu's ffmpeg/libav, built ffmpeg on /opt/ffmpeg4veejay,
> set PKG_CONFIG_PATH accordingly and also set C_INCLUDE_PATH to
> ffmpeg's
> include path.
> ***
> This is not clear enough for me :)
> 1. you remove libav*, right ? but replaced by what ?
> 2.I guess "set C_INCLUDE_PATH to ffmpeg's include path" is a build
> feature for ffmpeg, but I have no idea how to do this
> anyway, here's the output of my second attempt to build veejay with
> fresh ffmpeg
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I.. -I.. -I/usr/local/include -I../vjmem -I../vjmsg -I../
> mjpegtools -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-
> gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/
> include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-
> unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/
> include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/
> include/libpng12 -I/usr/include/lqt -march=core2 -mtune=core2 -
> fPIC -DPIC -fno-stack-protector -MT vj-el.lo -MD -MP -MF .deps/vj-
> el.Tpo -c -o vj-el.lo vj-el.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/
> include -I../vjmem -I../vjmsg -I../mjpegtools -pthread -I/usr/include/
> gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/
> atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/
> include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -
> I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/lqt -
> march=core2 -mtune=core2 -fPIC -DPIC -fno-stack-protector -MT vj-el.lo
> -MD -MP -MF .deps/vj-el.Tpo -c vj-el.c -fPIC -DPIC -o .libs/vj-el.o
> vj-el.c: In function '_el_new_decoder':
> vj-el.c:487:13: error: 'AVCodecContext' has no member named 'palctrl'
> vj-el.c:491:3: warning: 'avcodec_open' is deprecated (declared at /usr/
> local/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
> vj-el.c: In function 'detect_pixel_format_with_ffmpeg':
> vj-el.c:1380:2: error: unknown type name 'AVFormatParameters'
> vj-el.c:1401:3: warning: 'av_close_input_file' is deprecated (declared
> at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
> declarations]
> vj-el.c:1437:6: warning: 'av_close_input_file' is deprecated (declared
> at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
> declarations]
> vj-el.c:1445:6: warning: 'av_close_input_file' is deprecated (declared
> at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
> declarations]
> vj-el.c:1456:3: warning: 'av_close_input_file' is deprecated (declared
> at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
> declarations]
> vj-el.c:1462:2: warning: 'avcodec_open' is deprecated (declared at /
> usr/local/include/libavcodec/avcodec.h:3380) [-Wdeprecated-
> declarations]
> vj-el.c:1486:3: warning: 'av_close_input_file' is deprecated (declared
> at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
> declarations]
> vj-el.c:1498:2: warning: 'av_close_input_file' is deprecated (declared
> at /usr/local/include/libavformat/avformat.h:1533) [-Wdeprecated-
> declarations]
> vj-el.c: In function 'vj_el_write_line_ascii':
> vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
> but argument 4 has type 'size_t' [-Wformat]
> vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
> but argument 6 has type 'long unsigned int' [-Wformat]
> vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
> but argument 8 has type 'size_t' [-Wformat]
> vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
> but argument 4 has type 'size_t' [-Wformat]
> vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
> but argument 6 has type 'long unsigned int' [-Wformat]
> vj-el.c:2342:4: warning: format '%d' expects argument of type 'int',
> but argument 8 has type 'size_t' [-Wformat]
> vj-el.c:2354:2: warning: format '%lld' expects argument of type 'long
> long int', but argument 4 has type 'int64_t' [-Wformat]
> vj-el.c:2354:2: warning: format '%lld' expects argument of type 'long
> long int', but argument 5 has type 'int64_t' [-Wformat]
> vj-el.c:2354:2: warning: format '%lld' expects argument of type 'long
> long int', but argument 4 has type 'int64_t' [-Wformat]
> vj-el.c:2354:2: warning: format '%lld' expects argument of type 'long
> long int', but argument 5 has type 'int64_t' [-Wformat]
> vj-el.c:2370:6: warning: format '%lld' expects argument of type 'long
> long int', but argument 4 has type 'int64_t' [-Wformat]
> vj-el.c:2370:6: warning: format '%lld' expects argument of type 'long
> long int', but argument 5 has type 'int64_t' [-Wformat]
> vj-el.c:2370:6: warning: format '%lld' expects argument of type 'long
> long int', but argument 4 has type 'int64_t' [-Wformat]
> vj-el.c:2370:6: warning: format '%lld' expects argument of type 'long
> long int', but argument 5 has type 'int64_t' [-Wformat]
> vj-el.c:2382:2: warning: format '%lld' expects argument of type 'long
> long int', but argument 3 has type 'int64_t' [-Wformat]
> vj-el.c: In function 'vj_el_write_editlist':
> vj-el.c:2457:6: warning: format '%lld' expects argument of type 'long
> long int', but argument 3 has type 'int64_t' [-Wformat]
> vj-el.c:2457:6: warning: format '%lld' expects argument of type 'long
> long int', but argument 4 has type 'int64_t' [-Wformat]
> vj-el.c:2464:7: warning: format '%lld' expects argument of type 'long
> long int', but argument 3 has type 'int64_t' [-Wformat]
> vj-el.c:2465:7: warning: format '%lld' expects argument of type 'long
> long int', but argument 3 has type 'int64_t' [-Wformat]
> vj-el.c:2470:6: warning: format '%lld' expects argument of type 'long
> long int', but argument 3 has type 'int64_t' [-Wformat]
> make[2]: *** [vj-el.lo] Erreur 1
> make[2]: quittant le répertoire « /home/guilux/veejay/veejay-git/
> veejay-current/veejay-server/libel »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « /home/guilux/veejay/veejay-git/
> veejay-current/veejay-server »
> make: *** [all] Erreur 2
> thanks for your help !
> GuiLux
> --
> 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.
Niels Elburg wrote:
> There's no need to change the c include path, pkg-config sets the c include
> path when configure is run.
quoting myself:
"While doing it I found that if ffmpeg is not installed in the path,
veejay does not build: it misses -I/opt/ffmpeg4veejay on my box. So I
did a rough C_INCLUDE_PATH=/opt/ffmpeg4veejay/include/ and it built."
guilux wrote:
> This is not clear enough for me :)
je comprend :).
> 1. you remove libav*, right ? but replaced by what ?
By nothing. I didn't need ffmpeg/libav since it was a dedicated computer
for veejay. Since then I switched to archlinux on that machine too, so I
can't try what I said anymore.
> 2.I guess "set C_INCLUDE_PATH to ffmpeg's include path" is a build
> feature for ffmpeg, but I have no idea how to do this
It a modification I had to make in the configure/makefile file of
veejay.
> vj-el.c:1380:2: error: unknown type name 'AVFormatParameters'
Maybe ffmpeg is too new now. Try checking out the revision I stated in
the previous discussion.
Or wait for Niels to follow the ever-changing ffmpeg interface. BTW it
seems the gmerlin API is way more stable.
> 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.
> > 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.
> --
> 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.
> > On Wed, Sep 12, 2012 at 11:15 PM, Quentin DUMONT <
> > quentin.dumont...@gmail.com> wrote:
> > > Le dimanche 3 juin 2012 16:48:31 UTC+2, guilux a écrit :
> > >> Okay, it worked with a tar 0.8.5.git-985e768 version of ffmpeg \o/
> > >> Thanks for your help :)
> > >> Guilux
> > > Thank you for this information, but where does one find this version of
> > > ffmpeg?
> > > Quentin.
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "veejay-discussion" group.
> > > To view this discussion on the web visit
> > > https://groups.google.com/d/msg/veejay-discussion/-/t9myR4IRMqYJ.
> > > 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.
> > --
> > 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.
> --
> 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.