[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] H264 Support
From: |
Simon Morlat |
Subject: |
Re: [Linphone-developers] H264 Support |
Date: |
Wed, 15 Jul 2009 22:09:15 +0200 |
User-agent: |
KMail/1.11.4 (Linux/2.6.29-2-amd64; KDE/4.2.4; x86_64; ; ) |
Hi,
You should implement a mediastreamer2 plugin to bring the hardware
encoder/decoder within mediastreamer2.
See for example the msx264 plugin (linphone/mediastreamer2/plugins/msx264 in
svn). This is a software plugin that uses software (x264 and ffmpeg). You
should build something similar that would use your hardware instead of x264
and ffmpeg.
Simon
Le mercredi 15 juillet 2009 19:10:47, Code Warrior a écrit :
> Thanks for your reply Simon.
>
> I'm using freescale iMX platform and want to use the H264 codec capability
> of the hardware. Clearly,
> this needs changes to the linphone and ffmpeg source. Can you provide me
> some pointers in the code
> where these changes would be needed? Though i'm working on the code, any
> directions in this regard
> would surely be helpful.
>
> I'm using Linphone version 3.1.2 with ffmpeg version 0.5.
>
> On Wed, Jul 15, 2009 at 9:33 PM, Simon Morlat
<address@hidden>wrote:
> > Hi,
> >
> > See RFC3984 (http://www.rfc-editor.org/rfc/rfc3984.txt).
> > Packetization-mode 1 is for H264 NALs that must be fragmented (because
> > they don't fit into the network mtu). Not all phone support this mode.
> > The other is packetization-mode=0 (the default), in which a NAL is sent
> > directly into RTP packets.
> > The one used is the first one accepted in the SDP answer, by default from
> > linphone to linphone it should mode 0.
> >
> > Simon
> >
> > Le mercredi 15 juillet 2009 12:36:42, Code Warrior a écrit :
> > > Hi,
> > >
> > > I want to use H264 encoding in linphone. While browsing the code, i
> > > could see two payload types defined for H264 (in linphonecore.c)
> > > + H264 Packetization Mode 1
> > > + H264
> > >
> > > What is the difference between the two and which one is used in
> > > Linphone
> >
> > ?
> >
> > > /csj