summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc.h
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rtpenc: Merge the h264 and hevc packetizersMartin Storsjö2015-02-24
| | | | | | | | | | | They share a great deal of common structure; only a few minor bits in the headers differ. This also fixes an off-by-one in sending of the last fragment of large HEVC nals (where it previously sent len+2 bytes, even if it should have been len+RTP_HEVC_HEADERS_SIZE aka len+3). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_h264: Aggregate multiple NAL units into one RTP packet, if possibleMartin Storsjö2015-02-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Initial H.261 supportThomas Volkert2014-12-18
| | | | | | | | | | | | | | The packetizer only supports splitting at GOB headers - if such aren't available frequently enough, it splits at any random byte offset (not at a macroblock boundary either, which would be allowed by the spec) and sends a payload header pretend that it starts with a GOB header. As long as a receiver doesn't try to handle such cases cleverly but just drops broken frames, this shouldn't matter too much in practice. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: HEVC/H.265 supportThomas Volkert2014-09-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Add a rtpflag option for sending BYE packets when finishingMartin Storsjö2013-11-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Fix some odd commentsMartin Storsjö2013-07-26
| | | | | | | Some weird comments stem from the fact that the rtpdec and rtpenc code was shared earlier. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Start the sequence numbers from a random offsetMartin Storsjö2013-01-22
| | | | | | | | Expose the current sequence number via an AVOption - this can be used both for setting the initial sequence number, or for querying the current number. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Allow including a SDES/CNAME block in RTCP SR packetsMartin Storsjö2012-12-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_vp8: Include the picture number in VP8 packetsMartin Storsjö2012-12-16
| | | | | | | | | | | This makes it easier for receivers to decide what to do if data is lost. Refactor calculating the max payload size, to avoid hardcoding the header size in too many places, reducing the number of lines that have to be touched if the header is adjusted further. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec/enc: Remove outdated/useless/misleading commentsMartin Storsjö2012-12-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Packetization of JPEG (RFC 2435)Samuel Pitoiset2012-09-23
|
* avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: remove terminal comma in FF_RTP_FLAG_OPTS macro.Ronald S. Bultje2012-07-21
| | | | | | | This makes usage of the macro look more natural when used with array entries. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* rtpenc: Allow requesting H264 RTP packetization mode 0Martin Storsjö2012-06-18
| | | | | | | | | This requires all NAL units to fit within single RTP packets. It doesn't change the actual packetization for packets that fit, but errors out and gives a helpful hint if the NAL units would have to be split, and signals the right packetization mode in the SDP. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Use AVFormatContext.packet_size instead of a private optionMartin Storsjö2012-03-19
| | | | | | | | The private option has not been part of any release yet (and it is only of use in quite rare cases), so just remove it instead of keeping it with deprecation warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Use MB info side data for splitting H263 packets for RFC 2190Martin Storsjö2012-03-01
| | | | | | | This makes the packetization spec compliant for cases where one single GOB doesn't fit into an RTP packet. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Move max_packet_size to a context variableMartin Storsjö2012-02-23
| | | | | | This is in preparation for exposing this via an avoption. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Add an option for not sending RTCP packetsMartin Storsjö2012-02-23
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Allow packetizing H263 according to the old RFC 2190Martin Storsjö2012-02-23
| | | | | | | | | | | | | | | | | | According to newer RFCs, this packetization scheme should only be used for interfacing with legacy systems. Implementing this packetization mode properly requires parsing the full H263 bitstream to find macroblock boundaries (and knowing their macroblock and gob numbers and motion vector predictors). This implementation tries to look for GOB headers (which can be inserted by using -ps <small number>), but if the GOBs aren't small enough to fit into the MTU, the packetizer blindly splits packets at any offset and claims it to be a GOB boundary (by using Mode A from the RFC). While not correct, this seems to work with some receivers. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Move the trailing comma into FF_RTP_FLAG_OPTSMartin Storsjö2012-02-23
| | | | | | This simplifies adding more flags to the macro. Signed-off-by: Martin Storsjö <martin@martin.st>
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* rtpenc: Declare the rtp flags private AVOptions in rtpenc.hMartin Storsjö2011-06-10
| | | | | | | This allows other muxers that chain a RTP muxer to declare the same options easily. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: MP4A-LATM payload supportJuan Carlos Rodriguez2011-06-10
| | | | | | | This is enabled with an AVOption on the RTP muxer. The SDP generator looks for a latm flag in the rtpflags field. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add RTP packetization of VP8Josh Allmann2010-08-16
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTP packetization of Theora and VorbisJosh Allmann2010-08-07
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If the video stream is H.264 with MP4 syntax, store the NAL lenght size inLuca Abeni2010-06-16
| | | | | | the RTP muxer context (it will be used later for splitting frames in NALs) Originally committed as revision 23625 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for AMR audio in the RTP muxerMartin Storsjö2009-04-08
| | | | | | patch by Martin Storsjö (martin AT martin DOT st) Originally committed as revision 18375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for H.263 video in the RTP muxerMartin Storsjö2009-04-07
| | | | | | patch by Martin Storsjö (martin AT martin DOT st) Originally committed as revision 18347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not use RTP_MAX_PACKET_LENGTH in the RTP muxerLuca Abeni2009-02-06
| | | | Originally committed as revision 17022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge rtp_aac.h and rtp_mpv.h in rtpenc.hLuca Abeni2009-02-06
| | | | Originally committed as revision 17020 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split rtp.h in rtp.h, rtpdec.h, and rtpenc.hLuca Abeni2009-02-06
Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk