[Top][All Lists]

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

[Linphone-developers] Re: Sending H264 video over RTP (scsicore)

From: Raseel Bhagat
Subject: [Linphone-developers] Re: Sending H264 video over RTP (scsicore)
Date: Thu, 12 Aug 2010 16:40:36 +0530


thanks for replying.

I actually did see the b_repeat_headers configuration , but only after I had already shot of my query :-) My bad.

What I am trying to do is equivalent to sending H264 video in byte-stream format for baseline profile, over RTP.

Using a gstreamer pipeline, this can be achieved as follows :
gst-launch-0.10 v4l2src ! x264enc profile="" byte-stream=true ! rtph264pay config-interval=5 ! udpsink host= port=8888

Now, although I have set annexb =1 , I'm not so sure how the xnals to msgb handling is supposed to changed.
See x264_nals_to_msgb() function where the memcpy() is being done for when byte-stream is not set. I believe this memcpy()ing is in par with the comment in libx264 , x264/x264.h , definition of x264_nal_t struct.

I'm trying to understand rfc3984 and it's implementation.
Hope someone can point out what I might be doing wrong here.


On Wed, Aug 11, 2010 at 9:30 PM, <address@hidden> wrote:


Message: 1
Date: Wed, 11 Aug 2010 10:59:11 +0800
From: scsicore <address@hidden>
Subject: [Linphone-developers] Re: Sending H264 video over RTP
To: address@hidden
Content-Type: text/plain; charset="iso-8859-1"

sure, you can achieve point 3.
in msx264/src/msx264.c
set params.b_repeat_headers = 1  // function enc_preprocess


vi x264/x264.h
"int b_repeat_headers;       /* put SPS/PPS before each keyframe */"
 can you see it?

-------------- next part --------------
An HTML attachment was scrubbed...


Linphone-developers mailing list

End of Linphone-developers Digest, Vol 90, Issue 13

reply via email to

[Prev in Thread] Current Thread [Next in Thread]