summaryrefslogtreecommitdiff
path: root/libavformat/rtp.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avconv: add presets rtsp: Expose the flag options via private AVOptions for sdp and rtp, too rtsp: Make the rtsp flags avoptions set via a define rtpenc: Set a default video codec avoptions: Fix av_opt_flag_is_set rtp: Fix ff_rtp_get_payload_type doc: Update the documentation on setting options for RTSP rtsp: Remove the separate filter_source variable rtsp: Accept options via private avoptions instead of URL options rtsp: Simplify AVOption definitions rtsp: Merge the AVOption lists lavfi: port libmpcodecs delogo filter lavfi: port boxblur filter from libmpcodecs lavfi: add negate filter lavfi: add LUT (LookUp Table) generic filters AVOptions: don't segfault on NULL parameter in av_set_options_string() avio: Check for invalid buffer length. mpegenc/mpegtsenc: add muxrate private options. lavf: deprecate AVFormatContext.file_size mov: add support for TV metadata atoms tves, tvsn and stik Conflicts: Changelog doc/filters.texi doc/protocols.texi libavfilter/Makefile libavfilter/allfilters.c libavfilter/avfilter.h libavfilter/formats.c libavfilter/internal.h libavfilter/vf_boxblur.c libavfilter/vf_delogo.c libavfilter/vf_lut.c libavformat/mpegtsenc.c libavformat/utils.c libavformat/version.h libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtp: Fix ff_rtp_get_payload_typeMartin Storsjö2011-10-17
| | | | | | | | | | | | | | | | | | | | | | | | It was broken in 3b3ea34655db02d9cd9ea1a4122e920a7fdec602 "Remove all uses of deprecated AVOptions API", where any presence of a payload_type AVOption caused its value to be returned, even if it wasn't set (and thus had the default -1 value). This caused the RTP muxer to be broken. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (31 commits) tiffenc: initialize forgotten avctx. avplay: free the active audio packet at exit. avplay: free rdft data used for spectrogram analysis. log.h: make AVClass a named struct fix ac3 encoder documentation vc1: more prettyprinting cosmetics vc1: prettyprint some tables vc1: K&R formatting cosmetics AVOptions: bump minor and add APIchanges entry. cmdutils/avtools: simplify show_help() by using av_opt_child_class_next() AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_* Remove all uses of deprecated AVOptions API. AVOptions: add av_opt_next, deprecate av_next_option. AVOptions: add functions for evaluating option strings. AVOptions: split get_number(). AVOptions: add av_opt_get*, deprecate av_get*. AVOptions: add av_opt_set*(). AVOptions: add new API for enumerating children. rv34: move inverse transform functions to DSP context flvenc: Write the right metadata entry count ... Conflicts: avconv.c cmdutils.c doc/APIchanges ffplay.c ffprobe.c libavcodec/ac3dec.c libavcodec/h264.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/mpeg12enc.c libavcodec/options.c libavdevice/libdc1394.c libavdevice/v4l2.c libavfilter/vf_drawtext.c libavformat/flvdec.c libavformat/mpegtsenc.c libavformat/options.c libavutil/avutil.h libavutil/opt.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-12
| |
* | Add the G723.1 demuxer and decoderMohamed Naufal Basheer2011-09-29
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (21 commits) fate: allow testing with libavfilter disabled x86: XOP/FMA4 CPU detection support ws_snd: misc cosmetic clean-ups ws_snd: remove the 2-bit ADPCM table and just subtract 2 instead. ws_snd: use memcpy() and memset() instead of loops ws_snd: use samples pointer for loop termination instead of a separate iterator variable. ws_snd: make sure number of channels is 1 ws_snd: add some checks to prevent buffer overread or overwrite. ws_snd: decode to AV_SAMPLE_FMT_U8 instead of S16. flacdec: fix buffer size checking in get_metadata_size() rtp: Simplify ff_rtp_get_payload_type rtpenc: Add a payload type private option rtp: Correct ff_rtp_get_payload_type documentation avconv: replace all fprintf() by av_log(). avconv: change av_log verbosity from ERROR to FATAL for fatal errors. cmdutils: replace fprintf() by av_log() avtools: parse loglevel before all the other options. oggdec: add support for Xiph's CELT codec sol: return error if av_get_packet() fails. cosmetics: reindent and pretty-print ... Conflicts: avconv.c cmdutils.c libavcodec/avcodec.h libavcodec/version.h libavformat/oggparsecelt.c libavformat/utils.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtp: Simplify ff_rtp_get_payload_typeRafaël Carré2011-09-26
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * 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>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtp: factorize dynamic payload type fallback flvdec: Ignore the index if it's from a creator known to be different cmdutils: move grow_array out of #if CONFIG_AVFILTER avconv: actually set InputFile.rate_emu ratecontrol: update last_qscale_for sooner Fix unnecessary shift with 9/10bit vertical scaling prores: mark prores as intra-only in libavformat/utils.c:is_intra_only() prores: return more meaningful error values prores: improve error message wording prores: cosmetics: prettyprinting, drop useless parentheses prores: lowercase AVCodec name entry Conflicts: cmdutils.c libavcodec/proresdec_lgpl.c tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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
* 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
* Remove the inclusion of unneeded headersLuca Abeni2010-01-11
| | | | Originally committed as revision 21152 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not return payload type 34 for H.263 (it is deprecated)Luca Abeni2009-04-07
| | | | Originally committed as revision 18346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remame rtp_get_codec_info() to ff_rtp_get_codec_info(), as it is notLuca Abeni2009-02-17
| | | | | | a static function Originally committed as revision 17390 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename rtp_get_payload_type() to ff_rtp_get_payload_type(), as it is notLuca Abeni2009-02-16
| | | | | | a static function Originally committed as revision 17364 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge rtp_internal.h in rtp.h, and remove rtp_internal.hLuca Abeni2009-01-27
| | | | Originally committed as revision 16817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not set sample_rate = 90000 for mp2 and mp3 audio over RTPLuca Abeni2008-06-24
| | | | Originally committed as revision 13943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a comment about missing entriesLuca Abeni2008-03-31
| | | | Originally committed as revision 12646 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the correct size for the enc_name field (removing the arbitrary "50" size)Luca Abeni2008-03-31
| | | | Originally committed as revision 12645 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless entries from AVRtpPayloadTypesLuca Abeni2008-03-31
| | | | Originally committed as revision 12644 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support mp3 audio in the RTP muxerLuca Abeni2008-03-31
| | | | Originally committed as revision 12643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVRtpPayloadTypes static and constantDiego Pettenò2008-01-06
| | | | | | Patch by Diego 'Flameeyes' Pettenò (flameeyes AT gmail DOT com) Originally committed as revision 11432 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split the RTP muxer out of rtp.c, to simplify the RTSP demuxer's dependenciesLuca Abeni2008-01-04
| | | | Originally committed as revision 11408 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split the RTP demuxing functions out of rtp.c, to simplify the RTP muxer's ↵Luca Abeni2008-01-04
| | | | | | dependencies Originally committed as revision 11406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix some spelling mistakes.Diego Biurrun2007-12-02
| | | | Originally committed as revision 11125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-21
| | | | | | | patch by: Björn Axelsson, bjorn d axelsson a intinor d se thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add MPEG2 support to the RTP muxerLuca Abeni2007-11-16
| | | | Originally committed as revision 11047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the "AVRtpPayloadTypes[i].pt == i" assumption from RTP and RTSPLuca Abeni2007-11-16
| | | | | | code (this is needed for supporting MPEG2 video in the RTP muxer) Originally committed as revision 11046 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not send too many RTCP packets (according to RFC 3550, the minimumLuca Abeni2007-11-05
| | | | | | RTCP interval should be 5 seconds) Originally committed as revision 10930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a symbolic name for the payload size of an RTCP Sender Report packetLuca Abeni2007-11-05
| | | | Originally committed as revision 10929 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow to set the maximum number of frames per RTP packet (and add support forLuca Abeni2007-10-02
| | | | | | this in the AAC packetizer) Originally committed as revision 10647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a warning by removing an useless assignment (buf_ptr should be onlyLuca Abeni2007-09-24
| | | | | | used in the RTP muxer, and not in the demuxer) Originally committed as revision 10561 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for AAC streaming over RTP. Fragmentation is not implemented yetLuca Abeni2007-09-14
| | | | Originally committed as revision 10491 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix timestamps in RTP packets (now, MPEG1 video with B frames works correctly)Luca Abeni2007-09-10
| | | | Originally committed as revision 10469 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Properly set RTP and NTP timestamps in RTCP SR packetsLuca Abeni2007-09-10
| | | | Originally committed as revision 10468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the RTP packetization code for MPEG12 video in its own file (rtp_mpv.c)Luca Abeni2007-08-24
| | | | Originally committed as revision 10201 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_RB* macros where appropriate.Ronald S. Bultje2007-07-06
| | | | | | | | patch by Ronald S. Bultje, rsbultje gmail com thread: Re: [FFmpeg-devel] remove int readers date: Sat, 23 Jun 2007 09:32:12 -0400 Originally committed as revision 9499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove empty write trailer functionsVitor Sessak2007-06-27
| | | | | | patch by Vitor: [vitor1001 gmail com] Originally committed as revision 9442 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove decode_be32/64 and replace them by AV_RB32/64Ronald S. Bultje2007-06-13
| | | | | | patch by Ronald S. Bultje: \ rbultje at ronald bitfreak net / Originally committed as revision 9299 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add an enum for need_parsingAurelien Jacobs2007-04-15
| | | | Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
* changes some function declarations from () to (void) as per ansi c.Stefan Huehner2007-04-04
| | | | | | Patch by Stefan Huehner % stefan A huehner P org % Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move rtp_check_and_send_back_rr()'s unaltered comments to the header file.Panagiotis Issaris2007-03-04
| | | | Originally committed as revision 8234 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move rtp_get_payload_type()'s unaltered comments to the header file.Panagiotis Issaris2007-03-04
| | | | Originally committed as revision 8233 to svn://svn.ffmpeg.org/ffmpeg/trunk