summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc.c
Commit message (Collapse)AuthorAge
* rtpenc: Add support for G726 audioMartin Storsjö2011-12-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Change rtp_send_samples to handle sample sizes other than even bytesMartin Storsjö2011-12-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Cast a rescaling parameter to int64_tMartin Storsjö2011-12-01
| | | | | | | This avoids overflow if frame_size is over 2147, since both frame_size and AV_TIME_BASE are plain integers. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* rtpenc: Set a default video codecMartin Storsjö2011-10-17
| | | | | | | avconv doesn't map video streams to a muxer without specifying a manual stream mapping if the default video codec is CODEC_ID_NONE. Signed-off-by: Martin Storsjö <martin@martin.st>
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* 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>
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* avio: rename put_flush_packet -> avio_flushAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fget_max_packet_sizeAnton Khirnov2011-03-07
| | | | | | AVIOContext.max_packet_size should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio: avio_ prefixes for put_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* RTP/VP8: Update the warning about the VP8 payloadMartin Storsjö2010-12-05
| | | | | | | The current implementation is incompatible with the latest spec drafts, this should be communicated clearly to the user. Originally committed as revision 25887 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
* rtp: Replace hardcoded RTCP packet types with definesJosh Allmann2010-08-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24912 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
* 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
* rtpenc: remove unnecessary #include unistd.hMåns Rullgård2010-07-06
| | | | Originally committed as revision 24071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify (no need to check for st->codec->extradata) and correctLuca Abeni2010-06-17
| | | | | | | (extradata_size must be at least 5 bytes) the H.264 MP4 syntax check in rtpenc.c Originally committed as revision 23638 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
* Make ff_random_get_seed public, rename to av_get_random_seed, export the headerMartin Storsjö2010-05-23
| | | | | | | Keep an old ff_ named function for binary compatibility until the next major bump. Originally committed as revision 23254 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
* Initialize ssrc and base_timestamp using ff_random_get_seed()Martin Storsjö2010-03-28
| | | | Originally committed as revision 22706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AVFormatContext.start_time_realtime in the RTP muxerMartin Storsjö2010-03-15
| | | | Originally committed as revision 22543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the ntp_time function available to other parts of libavformat, as ↵Martin Storsjö2010-03-10
| | | | | | ff_ntp_time Originally committed as revision 22438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix syncronisation for streams with a high encoding delay.Timo Teräs2010-02-10
| | | | | | Patch by Timo Teräs (timo DOT teras AT iki DOT fi) Originally committed as revision 21743 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the inclusion of unneeded headersLuca Abeni2010-01-13
| | | | Originally committed as revision 21193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove outdated comments.Luca Abeni2009-12-30
| | | | Originally committed as revision 20983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a useless local variable.Luca Abeni2009-12-28
| | | | Originally committed as revision 20946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove outdated commentLuca Abeni2009-12-28
| | | | Originally committed as revision 20945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove an unneeded local variable.Luca Abeni2009-12-28
| | | | Originally committed as revision 20944 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
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 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
* Make rtp_write_header() fail in case of unsupported payload typeLuca Abeni2009-03-27
| | | | Originally committed as revision 18204 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
* 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
* Introduce a new num_frames field in RTPDemuxContext so that rtp_aac.cLuca Abeni2009-02-05
| | | | | | does not need to abuse read_buf_index Originally committed as revision 17004 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
* RTP: use dprintf(), allow compilation with -DDEBUGMåns Rullgård2008-07-13
| | | | Originally committed as revision 14211 to svn://svn.ffmpeg.org/ffmpeg/trunk