Video broken with latest pjsip release and latest version of ffmpeg?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I have been trying to build pjsip with video support and cannot compile
pjsip with video. I have the latest pjproject-2.1.0 and ffmpeg 1.2 (3/15/13
release).

I followed the instructions from the ffmpeg site to set up and compile
ffmpeg, and where there were deviations between ffmpeg and pjsip getting
started guide followed pjsip. For example pjsip asks to configure ffmpeg
with --enable-shared and thus I had to configure x264 with --enable-shared
to avoid linker errors.

I am getting the following error compiling pjsip:

In file included from ../src/pjmedia/ffmpeg_util.c:26:0:
../src/pjmedia/ffmpeg_util.h:50:12: warning: ?enum CodecID? declared inside
parameter list [enabled by default]
../src/pjmedia/ffmpeg_util.h:50:12: warning: its scope is only this
definition or declaration, which is probably not what you want [enabled by
default]
../src/pjmedia/ffmpeg_util.h:53:7: warning: ?enum CodecID? declared inside
parameter list [enabled by default]
../src/pjmedia/ffmpeg_util.c:65:18: error: field ?codec_id? has incomplete
type
../src/pjmedia/ffmpeg_util.c:167:13: error: conflicting types for
?pjmedia_format_id_to_CodecID?
../src/pjmedia/ffmpeg_util.h:49:13: note: previous declaration of
?pjmedia_format_id_to_CodecID? was here
../src/pjmedia/ffmpeg_util.c: In function ?pjmedia_format_id_to_CodecID?:
../src/pjmedia/ffmpeg_util.c:173:35: warning: comparison between pointer
and integer [enabled by default]
../src/pjmedia/ffmpeg_util.c:174:6: error: dereferencing pointer to
incomplete type
../src/pjmedia/ffmpeg_util.c:174:6: warning: statement with no effect
[-Wunused-value]
../src/pjmedia/ffmpeg_util.c:179:5: error: dereferencing pointer to
incomplete type
../src/pjmedia/ffmpeg_util.c:179:5: warning: statement with no effect
[-Wunused-value]
../src/pjmedia/ffmpeg_util.c: At top level:
../src/pjmedia/ffmpeg_util.c:183:55: error: parameter 1 (?codec_id?) has
incomplete type
make[2]: *** [output/pjmedia-x86_64-unknown-linux-gnu/ffmpeg_util.o] Error 1


Compiling with --disable-ffmpeg compiles fine. Any input or help would be
appreciated.
-Haomiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130408/2bffbfeb/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux