[FFmpeg-devel] [PATCH] connect AVCodecContext.rtp_payload_size to x264_params_t.i_slice_max_size

Lyubomir Marinov lyubomir.marinov at jitsi.org
Fri Sep 14 23:42:02 CEST 2012

Dear FFmpeg developers,

We at the Jitsi open-source VoIP and Instant Messaging client community would like to propose the following patch which allows instructing the FFmpeg x264 encoder through AVCodecContext to produce payload suitable for the H.264 RTP packetization-mode 0 i.e. single NAL unit per RTP packet:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec_libx264.c-rtp_payload_size.patch
Type: application/octet-stream
Size: 792 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120915/fb05fd80/attachment.obj>
-------------- next part --------------

While we developed the attached modifications on our own, we found a similar patch in the archives of this mailing list (https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2009-December/062336.html) prior to posting this message and we thus chose to use the same subject.

Best regards,
Lyubomir Marinov

More information about the ffmpeg-devel mailing list