summaryrefslogtreecommitdiff
path: root/libavformat/sdp.c
Commit message (Collapse)AuthorAge
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* rtpenc: Support packetizing iLBCMartin Storsjö2012-06-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* 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>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* lavf: remove disabled FF_API_SDP_CREATE cruftAnton Khirnov2012-01-27
|
* sdp: Restore the original mp4 format h264 extradata if convertedMartin Storsjö2011-12-11
| | | | | | | | | If the sdp is generated before the rtp muxer is initialized (e.g. as when called from the rtsp muxer), this has to be done, otherwise the rtp muxer doesn't know that the input really is in mp4 format. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Add support for G726 audioMartin Storsjö2011-12-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: use avpriv_ prefix for ff_split_xiph_headers.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for some mpeg4audio symbols used in lavf.Anton Khirnov2011-10-20
| | | | | Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and ff_copy_pce_data
* rtpenc: Add a payload type private optionRafaël Carré2011-09-26
| | | | | | | | Specifying the payload type is useful when the type number has already been negotiated before creating the stream, for example in SIP protocol. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: factorize dynamic payload type fallbackRafaël Carré2011-09-23
| | | | | | | Move the identical code in rtp_write_header() and ff_sdp_write_media() inside ff_rtp_get_payload_type() Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* sdp: Reindent after the previous commitMartin Storsjö2011-06-10
| | | | 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>
* sdp: Allow passing an AVFormatContext to the SDP generationMartin Storsjö2011-06-10
| | | | | | | Options from the AVFormatContext can be read for modifying the generated SDP. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-08
|
* lavf: rename a parameter of av_sdp_create from buff->bufAnton Khirnov2011-04-08
| | | | This is more consistent with the rest of the API.
* lavf: rename avf_sdp_create to av_sdp_create.Anton Khirnov2011-04-08
| | | | The new name is more consistent with the rest of the API.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov2011-02-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* sdp: Add a framesize attribute to H.263 SDP descriptionsMartin Storsjö2010-12-20
| | | | | | | | While not mentioned in RFC 4629, this is required for H.263 in 3GPP TS 26.234. It is in practice required for playback with Android stagefright and on Samsung bada phones. Originally committed as revision 26062 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sdp: Conditionally compile code using AF_INET6Martin Storsjö2010-10-19
| | | | | | Should fix compilation in environments unaware of IPv6. Originally committed as revision 25528 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sdp: Only specify the TTL for IPv4 addressesMartin Storsjö2010-10-08
| | | | | | According to RFC 4566, a TTL value must not be present for IPv6 multicast. Originally committed as revision 25412 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-10-07
| | | | Originally committed as revision 25390 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sdp: Don't require the explicit ?multicast optionMartin Storsjö2010-10-07
| | | | | | No such option is used anywhere else. Instead, detect the address type. Originally committed as revision 25389 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle G.722 in RTP, and all the exceptions mandated in RFC 3551Martin Storsjö2010-09-15
| | | | Originally committed as revision 25125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make stub version of ff_sdp_write_media() match its prototypeAndreas Öman2010-08-25
| | | | | | | | Used when compiled without CONFIG_RTP_MUXER Fallout from r24915 Originally committed as revision 24935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-08-25
| | | | Originally committed as revision 24919 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify resolve_destination in sdp.c further, now that we don't enforce ↵Martin Storsjö2010-08-25
| | | | | | IPv4 any longer Originally committed as revision 24918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l, add new function parameters to resolve_destination for !config_network tooMartin Storsjö2010-08-25
| | | | Originally committed as revision 24917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent, rewrap linesMartin Storsjö2010-08-25
| | | | Originally committed as revision 24916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Properly handle IPv6 addresses in the SDP generationMartin Storsjö2010-08-25
| | | | Originally committed as revision 24915 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* rtpenc_xiph: Set the ident value via a defineMartin Storsjö2010-08-09
| | | | Originally committed as revision 24749 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
* Make ff_url_split() publicMåns Rullgård2010-06-27
| | | | | | | ff_url_split() is retained as an alias, as it was used by ffserver, to avoid breaking ABI compatibility with it. Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a bitstream filter for converting the extradata syntax when generating ↵Luca Abeni2010-06-11
| | | | | | | | an SDP. This allows to generate correct SDPs for H.264 video in "MP4 syntax". Originally committed as revision 23572 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_sdp_write_media a lavf-internal functionMartin Storsjö2010-05-18
| | | | | | | This is in preparation for RTP hinting in the MOV muxer, where it needs to be able to create SDP fragments for each media stream. Originally committed as revision 23160 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a lowercase parameter to ff_data_to_hexMartin Storsjö2010-03-25
| | | | Originally committed as revision 22665 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename url_split to ff_url_splitMartin Storsjö2010-03-08
| | | | | | Since this function isn't in the public API, it should have an ff_ prefix. Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure the destination address is written as an IP address in the SDPMartin Storsjö2010-01-12
| | | | | | Patch by Martin Storsjo (martin AT martin DOT st) Originally committed as revision 21163 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Always set the destination address even if no port was found.Martin Storsjö2010-01-07
| | | | | | Patch by Martin Storsjo (martin AT martin DOT st) Originally committed as revision 21057 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check the URL used for the SDP destination.Martin Storsjö2010-01-07
| | | | | | Patch by Martin Storsjo (martin AT martin DOT st) Originally committed as revision 21056 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use different dynamic payload types for audio and video.Luca Abeni2009-12-27
| | | | Originally committed as revision 20940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use RTP_PT_PRIVATE in sdp.c instead of hardcoding 96.Luca Abeni2009-12-26
| | | | Originally committed as revision 20922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Emit the SDP lines in the correct orderLuca Abeni2009-10-17
| | | | Originally committed as revision 20262 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