Build of pjsip 2.0.1 fails on Ubuntu 10.04 LTS

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

 



I want to use pjsip video, but the build of pjsip 2.0.1 on Ubuntu 10.04 LTS failed with message:

? "./src/pjmedia-codec/ffmpeg_vid_codecs.c:258:5: error: #error "Must use libavcodec version 53.20 or later to enable FFMPEG H264"

The PCs here run the current Long-Term_Support (LTS) version 10.04 of Ubuntu and it is not possible to move away from that at the moment.

Libavcodec53 is available for Ubuntu 12.04 and 11.10 but not for Ubuntu 10.04. I checked with Synaptic Manager and Software Centre on 10.04 and these do not show libavcodec53 as a choice, only libavcodec52. So libavcodec53 is not in the standard repositories of Ubuntu 10.04.

Q1. can I obtain libavcodec53 et al in some other way? I believe I only need the libavxxxxs (what are they?), not the command-line ffmpeg (correct?)

Q2.? can I leave out the H264 video and still experiment to get a feel for how to use pjsip with video, for example by using H263? I notice pjsip also supports AVI. Is that available without H264?

There is a macro PJMEDIA_HAS_FFMPEG_CODEC_H264 defined in pjmedia/include/pjmedia-codec/config.h and referenced in pjmedia-codec/ffmpeg_vid_codecs.c.

Q3.? should I set PJMEDIA_HAS_FFMPEG_CODEC_H264 to 0 in config.h? Is that safe or are there better ways to force a build without H264 support?

Q4.? is it possible to build with H264 support using libavcodec52 i.e. by not using the very latest libavxxxs? Would that result in reduced h264 functionality say, or is it impossible? If possible, what do I need to do? ?

Regards
Ken

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120715/0000bf85/attachment.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