summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.c
Commit message (Collapse)AuthorAge
* Merge commit '22cc57da64bfd73f2206969486b0aa183ee76479'Hendrik Leppkes2015-09-17
|\ | | | | | | | | | | | | * commit '22cc57da64bfd73f2206969486b0aa183ee76479': rtpdec: Forward the memory failure Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * rtpdec: Forward the memory failureLuca Barbato2015-09-16
| | | | | | | | | | | | And avoid a memory leak. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * rtpdec: inform jitter buffer sizeEloi BAIL2015-09-16
| | | | | | | | | | | | | | | | This commit print as AV_LOG_VERBOSE the jitter buffer size. It might be the default value or the value set by application. Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017'Hendrik Leppkes2015-09-16
|\| | | | | | | | | | | | | * commit 'ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017': rtpdec: add a trace when jitter buffer is full Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * rtpdec: add a trace when jitter buffer is fullEloi BAIL2015-09-16
| | | | | | | | | | | | | | | | This commit adds a warning trace when jitter buffer is full. It helps to understand leading decoding issues. Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* | rtpdec: add a trace when jitter buffer is fullEloi BAIL2015-09-15
| | | | | | | | | | | | | | This commit adds an error trace when jitter buffer is full. It helps to understand leading decoding issues. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | rtpdec: inform jitter buffer sizeEloi BAIL2015-09-15
| | | | | | | | | | | | | | | | This commit print as AV_LOG_INFO the jitter buffer size. It might be the default value or the value set by application. Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1a3eb042c704dea190c644def5b32c9cee8832b8'Michael Niedermayer2015-04-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1a3eb042c704dea190c644def5b32c9cee8832b8': Replace av_dlog with normal av_log at trace level Conflicts: ffplay.c libavdevice/fbdev_dec.c libavfilter/avfilter.c libavfilter/internal.h libavfilter/setpts.c libavfilter/src_movie.c libavfilter/vf_crop.c libavfilter/vf_drawtext.c libavfilter/vf_fieldorder.c libavformat/assdec.c libavformat/avidec.c libavformat/flvdec.c libavformat/http.c libavformat/ipmovie.c libavformat/isom.c libavformat/mov.c libavformat/mpegenc.c libavformat/mpegts.c libavformat/mpegtsenc.c libavformat/mux.c libavformat/mxfdec.c libavformat/nsvdec.c libavformat/oggdec.c libavformat/r3d.c libavformat/rtspdec.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace av_dlog with normal av_log at trace levelVittorio Giovara2015-04-19
| | | | | | | | This applies to every library where performance is not critical.
| * rtpdec: experimental VP9 depacketizer (draft 0)Thomas Volkert2015-03-05
| | | | | | | | | | | | The code was tested with live555 server. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat: map T.140 RTP codec to textGilles Chanteperdrix2015-03-01
| | | | | | | | | | | | | | | | This makes more sense than mapping to AV_CODEC_ID_SUBRIP. Nothing indicates that a T.140 track contains subrip sub-titles. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'ec96a89c3e507cf0fb1f2b159b28a53f2bad9a74'Michael Niedermayer2015-02-24
|\| | | | | | | | | | | | | * commit 'ec96a89c3e507cf0fb1f2b159b28a53f2bad9a74': rtpdec: Don't pass non-const pointers to fmtp attribute parsing functions Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec: Don't pass non-const pointers to fmtp attribute parsing functionsMartin Storsjö2015-02-24
| | | | | | | | | | | | | | This makes it clear that the individual parsing functions can't touch the parsed out value. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '353b492d0f2a21ae8eb829db1ac01b54b2a4d202'Michael Niedermayer2015-02-24
|\| | | | | | | | | | | | | * commit '353b492d0f2a21ae8eb829db1ac01b54b2a4d202': rtpdec: Change enc_name to a pointer instead of a fixed-size buffer Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec: Change enc_name to a pointer instead of a fixed-size bufferMartin Storsjö2015-02-24
| | | | | | | | | | | | | | This avoids allocating space for a too large buffer for all the name strings. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '04a1be8e28e81f3967eace7705343c450616cc95'Michael Niedermayer2015-02-24
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '04a1be8e28e81f3967eace7705343c450616cc95': libavformat: add T.140 RTP depacketization (RFC 4103) Conflicts: libavformat/rtpdec.c libavformat/version.h See: af940e6cb1212d4338e55c03498ef5ae40e6e749 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavformat: add T.140 RTP depacketization (RFC 4103)Gilles Chanteperdrix2015-02-24
| | | | | | | | | | | | Map this to AV_CODEC_ID_TEXT. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec: DV depacketizer (RFC 6469)Thomas Volkert2015-02-22
| | | | | | | | | | | | (tested with live555 RTSP server) Signed-off-by: Martin Storsjö <martin@martin.st>
| * libavformat: add robust MPEG audio depacketization (RFC 5219)Gilles Chanteperdrix2015-02-21
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * libavformat: add AC3 RTP depacketization (RFC 4184)Gilles Chanteperdrix2015-02-21
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec: fix issue with conversion from unsigned to signedGilles Chanteperdrix2015-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | When receiving an RTCP packet, the difference between the last RTCP timestamp and the base timestamp may be negative. As these timestamps are of the uint32_t type, the result becomes a large integer. Cast the difference to int32_t to avoid this issue. The result of this issue is very large start times for RTSP streams, and difficulty to restart correctly after a pause. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> 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>
* | libavformat/rtpdec: fix issue with conversion from unsigned to signedGilles Chanteperdrix2015-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | When receiving an RTCP packet, the difference between the last RTCP timestamp and the base timestamp may be negative. As these timestamps are of the uint32_t type, the result becomes a large integer. Cast the difference to int32_t to avoid this issue. The result of this issue is very large start times for RTSP streams, and difficulty to restart correctly after a pause. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec: DV depacketizer (RFC 6469)Thomas Volkert2015-02-15
| | | | | | | | | | | | Tested with live555 RTSP server Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rtpdec: experimental VP9 depacketizer (draft 0)Thomas Volkert2015-02-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec_ac3: add AC3 RTP depacketization (RFC 4184)Gilles Chanteperdrix2015-02-14
| | | | | | | | | | | | Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec_mpeg12: add robust MPEG audio depacketization (RFC 5219)Gilles Chanteperdrix2015-02-14
| | | | | | | | | | Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec: add T.140 RTP depacketization (RFC 4103)Gilles Chanteperdrix2015-02-13
| | | | | | | | | | Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec: Use av_freep() to avoid leaving stale pointers in memoryMichael Niedermayer2014-12-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6df9d9b55d3f56ee7782639a7678eeeaf77f14ea'Michael Niedermayer2014-10-24
|\| | | | | | | | | | | | | | | | | | | | | * commit '6df9d9b55d3f56ee7782639a7678eeeaf77f14ea': lavf: Use av_gettime_relative Conflicts: libavformat/hls.c See: f78bc96b7c1c74caf99a7139cf81ce1110404965 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: Use av_gettime_relativeMartin Storsjö2014-10-24
| | | | | | | | | | | | | | | | | | The ones left using av_gettime are NTP timestamps (for RTCP, which is specified to send the actual current realtime clock in RTCP SR packets), and the NUT muxer timestamper, which is documented as using wallclock time. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'c463dfc7e49929a9891884312b23b27d14729c51'Michael Niedermayer2014-09-24
|\| | | | | | | | | | | | | * commit 'c463dfc7e49929a9891884312b23b27d14729c51': rtpdec_hevc: Drop a duplicated, nonstandard entry Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec_hevc: Drop a duplicated, nonstandard entryVittorio Giovara2014-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RFC spec draft only specifies the "H265" name - there is no specification saying how to interpret "HEVC" (if such a packet format is specified it could be an entirely different format). Since this is a very new standard (still a draft), there is little need for compatibility with existing, broken implementations. Therefore remove the extra alias, to avoid the risk of encouraging incorrect usage. Intentionally keeping the ff_hevc_dynamic_handler name for the handler, to use "hevc" consistently as name for the codec instead of "h265" within the library internals as long as there only is one single variant in actual use. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec: HEVC/H.265 supportThomas Volkert2014-09-03
| | | | | | | | | | | | As specified in draft-ietf-payload-rtp-h265-06. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/rtpdec: support for HEVC/H.265 RTP payload format (draft v6) ↵ThomasVolkert2014-08-26
| | | | | | | | depacketizing
* | Add support for H.261 RTP payload format (RFC 4587)ThomasVolkert2014-08-24
| |
* | Merge commit '0307cc2253e76772b1c645ac6117d08da87a147c'Michael Niedermayer2014-07-09
|\| | | | | | | | | | | | | * commit '0307cc2253e76772b1c645ac6117d08da87a147c': rtpdec: pass an AVFormatContext to ff_parse_fmtp() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec: pass an AVFormatContext to ff_parse_fmtp()Anton Khirnov2014-07-09
| | | | | | | | Use it for logging, instead of NULL or the stream codec context.
* | avformat/rtpdec: Enable GSM RTP depacketizationAndrey Utkin2013-12-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'feeafb4adabd5c17de1738ed9962e40892b20edb'Michael Niedermayer2013-10-29
|\| | | | | | | | | | | | | * commit 'feeafb4adabd5c17de1738ed9962e40892b20edb': lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from shared objects Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from ↵Anton Khirnov2013-10-28
| | | | | | | | shared objects
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-06-07
|\| | | | | | | | | | | | | * qatar/master: rtpdec: Fix the alphabetical ordering in registering depacketizers Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec: Fix the alphabetical ordering in registering depacketizersMartin Storsjö2013-06-06
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '1afddbe59e96af75f1c07605afc95615569f388f'Michael Niedermayer2013-03-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1afddbe59e96af75f1c07605afc95615569f388f': avpacket: use AVBuffer to allow refcounting the packets. Conflicts: libavcodec/avpacket.c libavcodec/utils.c libavdevice/v4l2.c libavformat/avidec.c libavformat/flacdec.c libavformat/id3v2.c libavformat/matroskaenc.c libavformat/mux.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avpacket: use AVBuffer to allow refcounting the packets.Anton Khirnov2013-03-08
| | | | | | | | | | | | This will allow us to avoid copying the packets in many cases. This breaks ABI.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-03-03
|\| | | | | | | | | | | | | * qatar/master: rtpdec: Initialize some variables to silence compiler warnings Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec: Initialize some variables to silence compiler warningsMartin Storsjö2013-03-02
| | | | | | | | | | | | | | | | The warnings are false positives, older gcc versions (such as 4.5) think the variables can be used uninitialized while they in practice can't, while newer (4.6) gets it right. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'f53490cc0c809975f8238d5a9edbd26f83bd2f84'Michael Niedermayer2013-01-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f53490cc0c809975f8238d5a9edbd26f83bd2f84': rtpdec/srtp: Handle CSRC fields being present rtpdec: Check the return value from av_new_packet ac3dec: fix non-optimal dithering of zero bit mantissas Conflicts: libavcodec/ac3dec.c libavformat/rtpdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec/srtp: Handle CSRC fields being presentMartin Storsjö2013-01-21
| | | | | | | | | | | | This is untested in practice, but follows the spec. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec: Check the return value from av_new_packetMartin Storsjö2013-01-21
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>