summaryrefslogtreecommitdiffstats
path: root/libavformat/rtpenc.c
Commit message (Collapse)AuthorAgeFilesLines
* rtpenc: Write a log message if the max packet size is too smallMartin Storsjö2012-02-101-1/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Add support for G726 audioMartin Storsjö2011-12-011-0/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Change rtp_send_samples to handle sample sizes other than even bytesMartin Storsjö2011-12-011-9/+12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Cast a rescaling parameter to int64_tMartin Storsjö2011-12-011-1/+1
| | | | | | | 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-301-3/+3
| | | | It's supposed to be called only from (de)muxers.
* rtpenc: Set a default video codecMartin Storsjö2011-10-171-1/+1
| | | | | | | 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-121-1/+1
|
* rtpenc: Add a payload type private optionRafaël Carré2011-09-261-1/+3
| | | | | | | | 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-231-3/+0
| | | | | | | 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-171-10/+8
| | | | It's more readable and less prone to breakage.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-031-0/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtpenc: Declare the rtp flags private AVOptions in rtpenc.hMartin Storsjö2011-06-101-2/+1
| | | | | | | 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-101-1/+19
| | | | | | | 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-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: rename put_flush_packet -> avio_flushAnton Khirnov2011-03-161-2/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fget_max_packet_sizeAnton Khirnov2011-03-071-1/+1
| | | | | | 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-211-15/+15
| | | | | | | | | | | | 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-291-3/+3
| | | | dprintf clashes with POSIX.1-2008
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-261-1/+1
| | | | | 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-051-1/+2
| | | | | | | 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-151-0/+12
| | | | Originally committed as revision 25125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtp: Replace hardcoded RTCP packet types with definesJosh Allmann2010-08-251-1/+1
| | | | | | 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-161-0/+7
| | | | | | 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-071-0/+14
| | | | | | 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-061-2/+0
| | | | 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-171-2/+1
| | | | | | | (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-161-0/+7
| | | | | | 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-231-2/+2
| | | | | | | 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-301-4/+4
| | | | | | 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-281-3/+3
| | | | Originally committed as revision 22706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AVFormatContext.start_time_realtime in the RTP muxerMartin Storsjö2010-03-151-0/+4
| | | | 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-101-10/+4
| | | | | | 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-101-2/+1
| | | | | | 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-131-2/+0
| | | | Originally committed as revision 21193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove outdated comments.Luca Abeni2009-12-301-2/+0
| | | | Originally committed as revision 20983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a useless local variable.Luca Abeni2009-12-281-11/+10
| | | | Originally committed as revision 20946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove outdated commentLuca Abeni2009-12-281-1/+0
| | | | Originally committed as revision 20945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove an unneeded local variable.Luca Abeni2009-12-281-5/+4
| | | | Originally committed as revision 20944 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use different dynamic payload types for audio and video.Luca Abeni2009-12-271-1/+1
| | | | Originally committed as revision 20940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-131-1/+1
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for AMR audio in the RTP muxerMartin Storsjö2009-04-081-0/+23
| | | | | | 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-071-0/+6
| | | | | | 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-271-0/+30
| | | | 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-161-1/+1
| | | | | | 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-061-0/+14
| | | | 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-061-3/+0
| | | | 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-061-10/+10
| | | | 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-051-1/+1
| | | | | | 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-271-1/+1
| | | | Originally committed as revision 16817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud