Olivier Crête
750387f520
rtpg729pay: Fix adapter leak
...
The adapter would be leaked if it was empty and the data could be pushed out directly.
2009-09-15 17:24:24 -04:00
Olivier Crête
411c71da13
rtph263pay: Allocate Boundry structs on the stack instead of the heap to avoid leaks
...
Fixes bug #594691 .
2009-09-11 07:31:38 +02:00
Havard Graff
6108024838
rtpjpegdepay: add missing math.h include
...
Fixes #594247
2009-09-08 13:32:51 +02:00
Wim Taymans
bf73a6ee3a
rtpmpapay: whitespace fixes
2009-09-03 19:17:00 +02:00
Mark Nauwelaerts
c9a434bbff
rtpmp4gdepay: consider (optional) auxiliary data when parsing
2009-08-31 16:50:01 +02:00
Mark Nauwelaerts
30efa405f3
rtpmp4gdepay: handle broken AU-Index in non-interleaved streams
...
In case of non-interleaved (= sequentially payloaded) streams,
the AU-Index serves little purpose (that is not already covered by
RTP fields). (Broken) Payloaders might consider this field then
to be disregarded and have non spec compliant values, e.g. each
RTP packet having AU-Index 2 (rather than 0). As such, ensure/force
simple sequential sending of non-interleaved streams.
2009-08-31 16:50:01 +02:00
Wim Taymans
6a53d0a2c9
rtp: whitespace fixes
2009-08-31 11:32:06 +02:00
Edward Hervey
0d6f0801f5
rtp: Remove dead assignments and resulting unneeded variables.
2009-08-10 09:58:33 +02:00
Wim Taymans
ddfa9961c6
rtph264pay: use array instead of queue
2009-08-06 11:14:44 +02:00
Mark Nauwelaerts
2bfb42c5f8
rtph264pay: push NALs only after SPS/PPS
...
parse complete (bytestream) buffer for SPS/PPS before pushing NALs.
Fixes #564501 .
2009-08-06 11:14:44 +02:00
Edward Hervey
d65d542e9d
rtpqdm2depay: Fix debug statement.
2009-08-04 11:17:17 +02:00
Edward Hervey
20c7977b9b
rtpqdm2depay,rtpsv3vdepay: Add debugging category.
2009-08-03 21:26:31 +02:00
Edward Hervey
25c5514fab
rtpqdm2depay: Handle gaps in incoming packets.
...
Whenever we see a gap, we flush the temporary packets (but not the adapter). If we
had some data temporarily stored it will be outputted (the sound will sound a bit
garbled... but that's how it sounds on MacOSX :)
2009-08-03 21:26:30 +02:00
Edward Hervey
6aff520a24
rtpqdmdepay: Fix CRC calculation and remove commented code.
2009-08-03 21:26:30 +02:00
Edward Hervey
d39c057e42
rtp: New QDM2 rtp depayloader.
...
Reverse-engineered by comparing:
* A rtp hinted file provided by DarwinStreamingServer
* The output procued by DSS for that same file
Also used various streaming sources available on the internet to fine-tune
the code.
The header/codec_data extraction methods are from FFMpeg (LGPL).
2009-08-03 21:26:30 +02:00
Edward Hervey
e2b3665ae6
rtpsv3vdepay: Properly fill codec_data and cleanup code a bite more.
2009-08-03 21:26:30 +02:00
Edward Hervey
65a2871e90
rtpsv3vdepay: Only output buffers once we're configured.
2009-08-03 21:26:30 +02:00
Edward Hervey
1743763c0b
rtpsv3vdepay: Add more encoding-name variants
2009-08-03 21:26:30 +02:00
Luc Deschenaux
654ca56d85
jpegdepay: use attributes for extra properties
...
Use some of the SDP attributes when they are present to specify the output
dimension and framerate. This allows us to receive jpeg frames larger than
2040 width/height.
Fixes #564437
2009-08-03 18:02:31 +02:00
Wim Taymans
efb9c17975
RTP docs: update with attributes in caps
2009-08-03 18:01:27 +02:00
Edward Hervey
050e91995e
rtpsv3depay: Fix width/height calculation, bring up to marginal rank.
...
Based on documentation found on http://wiki.multimedia.cx/
2009-07-29 13:39:08 +02:00
Marc Leeman
7484b631b7
mpvpay: Rework the timestamping
...
Rework the timestamping in the mpv payloader so that the timestamps are more
accurate.
Fixes #587680
2009-07-13 17:55:25 +02:00
Ognyan Tonchev
83a0e7d2a3
rtpmp4vpay: add support for buffer-list
...
See #585559
2009-06-19 18:00:35 +02:00
Ognyan Tonchev
d5d0364d7b
rtpjpegpay: add support for buffer-lists
...
See #585559
2009-06-19 17:57:12 +02:00
Ognyan Tonchev
40ec22788f
rtph264pay: add support for buffer-lists
...
See #585559
2009-06-19 17:53:32 +02:00
Wim Taymans
a2cef3e5c2
mp4gdepay: guess constantDuration better
...
Do a better job at guessing the constantDuration parameter when it is not
present in the caps.
Fixes #585205
2009-06-15 22:42:45 +02:00
Olivier Crête
4c782db81d
rtpsirenpay: Remove deprecated symbol
...
Patch by: Luis Menina
2009-06-13 21:02:45 -04:00
Wim Taymans
6f3c1728f3
rtp: update README, fix some typos, mention gstrtpbin
2009-06-11 22:30:06 +02:00
Olivier Crête
645b9449a5
rtph263pay: Default to doing A, B and C modes, not only A
2009-06-10 16:09:56 -04:00
Olivier Crête
dc61a71e5d
rtpsirenpay: Put the bitrate in the RTP caps
...
The MS code seems to require the bitrate to interoperate and
draft-ietf-avt-rtp-g7221-00 also has it.
2009-06-09 14:13:31 -04:00
Edward Hervey
6eec2a060d
rtp: Don't forget to dist the headers for the CELT (de)payloaders.
2009-06-08 08:21:43 +02:00
Wim Taymans
ace2a84447
celtdepay: add CELT depayloader
2009-06-05 18:57:30 +02:00
Wim Taymans
ec554a7f02
rtpceltpay: add CELT RTP payloader
2009-06-05 18:57:30 +02:00
Wim Taymans
e7987ed06b
vrawpay: trim output buffers
...
Remove the leftover unused bytes in the output buffer.
Fixes #584613
2009-06-02 19:33:28 +02:00
Wim Taymans
dabddb8126
vrawdepay: fix parsing of sampling field
...
commit a12d9a80f2
broke the parsing of the
sampling.
2009-06-02 19:33:28 +02:00
Wim Taymans
e13e3c6249
rtpmp4vpay: don't look for headers in some cases
...
In some streams (starting with 00000100) don't look for the headers but push
data as it is.
Fixes #582153
2009-05-25 10:59:17 +02:00
Wim Taymans
d7fd42999e
rtp: fix channel positions for mono
2009-05-21 22:05:09 +02:00
Sebastian Dröge
d94a71a4c5
rtp: Link to -lm
...
Fixes bug #582281 .
2009-05-12 13:00:46 +02:00
Wim Taymans
a9e496d92f
rtj2kdepay: add basic JPEG 2000 depayloader
2009-05-08 11:35:02 +02:00
Wim Taymans
5ec808cf7e
rtpj2kpay: set marker bit correctly
2009-05-08 11:32:03 +02:00
Wim Taymans
a4dfd61a77
rtpj2kpay: add a simple JPEG 2000 payloader
2009-05-08 10:38:42 +02:00
Wim Taymans
ee1f1ae5d5
rtpjpegpay: we only need to swap bits on LE
2009-05-08 10:31:12 +02:00
Wim Taymans
e2a483f0f9
rtpjpegpay: refuse some unsupported jpeg formats
2009-05-06 23:56:44 +02:00
Wim Taymans
4ef9eee8b4
rtptheorapay: fix description
2009-05-06 18:06:49 +02:00
Wim Taymans
d87871f5f7
rtpjpegpay: rewrite quant table handling
...
Rewrite the quant table parsing to also handle multiple tables in one JPEG HDQ
segment.
Handle more jpeg types by keeping track of the tables used per component and
putting the used ones in the quant headers.
2009-05-06 16:11:49 +02:00
Wim Taymans
b7c5847dbd
rtpjpegpay: handle input with 1 quant table
...
Also handle input with just one quant table, simply duplicate the quant table.
Handle invalid SOF correctly and some small cleanups.
Fixes #578257
2009-05-06 12:56:58 +02:00
Wim Taymans
0f1033c59f
rtpjpegpay: correctly set the type header
...
Don't require width/height on the caps. Use the SOF header to find width/height
and fall back to the caps if there is no SOF. Also use the SOF info to find the
subsampling and quantization tables used. This allows us to set the right type
value in the JPEG rtp header.
Deprecate the quality property, it's unused now and it was used wrongly before.
Always send full quant tables for now until we have some code to detect default
ones.
Fixes #580880
2009-05-05 16:32:17 +02:00
Wim Taymans
7c59f39bfe
rtpjpegdepay: use width/height from payload
...
Use the width and the height from the payload headers and set them on the
output caps for added awesomeness.
Fix quant parsing, we need to check the type in the lower 6 bits.
Add first bits of caching quantization tables.
2009-05-05 16:28:44 +02:00
Wim Taymans
f33501ad4b
g726pay: fix compilation
2009-04-27 10:08:55 +02:00
Wim Taymans
84c3d1a2c8
g726pay: add RFC compliant packetizing
...
Shuffle the input bits according to RFC 3551 for G726 payloads.
Add option to force the previous behaviour.
Fixes #567140
2009-04-27 10:08:55 +02:00