Hello I'm trying to compile VLC with AMR and G.711 support
if anybody has solved this problem please write dow the solution
I could compile VLC 0.8.6i with ffmpeg that I previously compiled, but as I understand VLC 0.8.6i doesn't support G.711
So I decide to move to 0.9.3 and here I faced with problems:
As I understand VLC 0.9.3 doesn't use ffmpeg because in the ./configure keys I didn't find how to set ffmpeg the PATH to ffmpeg
here is my VLC configuration
./configure --prefix=/usr --disable-hal --disable-dbus --disable-dbus-control --disable-telepathy --enable-debug --enable-run-as-root --enable-coverage --enable-live555 --disable-swscale --enable-postproc --enable-faad --enable-real --enable-realrtsp --enable-a52 --enable-theora --disable-x264 --enable-x11 --with-x --with-live555-tree=/home/vlc/live --with-dvdnav-config-path=/home/vlc/libdvdnav-0.1.10 --with-dvbpsi-tree=/home/vlc/libdvbpsi4-0.1.5 --with-mad-tree=/home/vlc/libmad-0.15.1b --with-faad-tree=/home/vlc/faad2 --with-a52-tree=/home/vlc/a52dec-0.7.4 PKG_CONFIG_PATH=/home/vlc/fribidi-0.10.9/
configure passed ok.
Then I use make and received the following:
v4l2.c:256: error: `V4L2_TUNER_MODE_LANG1_LANG2' undeclared here (not in a function)
v4l2.c:256: error: initializer element is not constant
v4l2.c:256: error: (near initialization for `i_tuner_audio_modes_list[5]')
v4l2.c: In function `ControlListPrint':
v4l2.c:2965: error: `V4L2_CTRL_FLAG_READ_ONLY' undeclared (first use in this function)
v4l2.c:2965: error: (Each undeclared identifier is reported only once
v4l2.c:2965: error: for each function it appears in.)
v4l2.c:3038: error: `V4L2_CTRL_TYPE_CTRL_CLASS' undeclared (first use in this function)
v4l2.c:3091: warning: implicit declaration of function `V4L2_CTRL_ID2CLASS'
v4l2.c:3091: error: `V4L2_CTRL_CLASS_MPEG' undeclared (first use in this function)
v4l2.c: In function `ControlList':
v4l2.c:3155: error: `V4L2_CTRL_FLAG_NEXT_CTRL' undeclared (first use in this function)
v4l2.c:3164: error: `V4L2_CTRL_TYPE_CTRL_CLASS' undeclared (first use in this function)
v4l2.c:3172: error: `V4L2_CTRL_CLASS_USER' undeclared (first use in this function)
v4l2.c:3176: error: `V4L2_CTRL_CLASS_MPEG' undeclared (first use in this function)
v4l2.c: In function `ControlReset':
v4l2.c:3314: error: `V4L2_CTRL_FLAG_NEXT_CTRL' undeclared (first use in this function)
v4l2.c:3322: error: `V4L2_CTRL_TYPE_CTRL_CLASS' undeclared (first use in this function)
v4l2.c:3322: error: `V4L2_CTRL_CLASS_MPEG' undeclared (first use in this function)
v4l2.c: In function `Control':
v4l2.c:3410: error: storage size of 'ext_control' isn't known
v4l2.c:3411: error: storage size of 'ext_controls' isn't known
v4l2.c:3428: error: void value not ignored as it ought to be
v4l2.c:3428: error: invalid use of void expression
v4l2.c:3429: error: void value not ignored as it ought to be
v4l2.c:3429: error: invalid use of void expression
v4l2.c:3441: error: `VIDIOC_S_EXT_CTRLS' undeclared (first use in this function)
v4l2.c:3454: error: `VIDIOC_G_EXT_CTRLS' undeclared (first use in this function)
v4l2.c:3410: warning: unused variable `ext_control'
v4l2.c:3411: warning: unused variable `ext_controls'
v4l2.c: At top level:
v4l2.c:1675: warning: unused parameter 'i_fd'
v4l2.c:2865: warning: unused parameter 'p_sys'
v4l2.c:2886: warning: unused parameter 'p_sys'
v4l2.c:2257: warning: unused parameter 'b_demux'
v4l2.c:2446: warning: unused parameter 'b_demux'
make[6]: *** [libv4l2_plugin_la-v4l2.lo] Error 1
make[6]: Leaving directory `/home/vlc/vlc-0.9.3/modules/access/v4l2'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/vlc/vlc-0.9.3/modules/access/v4l2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/vlc/vlc-0.9.3/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/vlc/vlc-0.9.3/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vlc/vlc-0.9.3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc/vlc-0.9.3'
make: *** [all] Error 2
Any ideas?