Mark Nauwelaerts
561a506822
qtdemux: avoid erroneous codec-data overriding of stsd information
2010-03-10 11:48:06 +01:00
Wim Taymans
821096c4f1
rtspsrc: parse connection information
...
Parse the connection information from the SDP and use it to figure out if we are
dealing with ipv4 or ipv6 connections.
2010-03-10 11:28:22 +01:00
Wim Taymans
8eb5c2c794
rtspsrc: require a destination for multicast
...
When setting up the multicast sockets, we need a destination address to listen
on or else we error.
2010-03-10 11:21:20 +01:00
Wim Taymans
574447b092
rtspsrc: handle ipv6 listening ports when needed
...
Add some code to make udpsrc listen on an ipv6 address when needed. The
detection of IPV6 is not yet implemented.
2010-03-10 11:21:20 +01:00
Wim Taymans
455f53c896
udp: use uri parsing code
...
Use the uri parsing helper functions to manage the host and port pairs. This
adds support for IPV6.
2010-03-10 11:21:19 +01:00
Wim Taymans
14ae2080d2
udpnetutils: add helper functions for udp uri handling
...
Add some helpers to parse udp uris. Make sure IPV6 is supported too.
2010-03-10 11:21:19 +01:00
Olivier Crête
a6dfe96169
rtpsession: Make it possible to favor new sources in case of SSRC conflict
...
Add a "favor-new" property that tells the session to favor new sources when
there is a SSRC conflict. This is useful for SIP calls and other such cases
where a remote loop is extremely unlikely.
Fixes #607615
2010-03-10 11:21:19 +01:00
Olivier Crête
f336ea283f
rtpsession: Move SSRC conflicts lists into RTPSource
...
We will also need to track SSRC conflicts in remote sources.
See #607615
2010-03-10 11:21:18 +01:00
Wim Taymans
38f2b4735d
rtspsrc: send keep alive when paused
...
When we are paused, send keep alive messages to the server so that our session
doesn't time out when we go back to playing later.
2010-03-10 11:21:18 +01:00
David Schleef
acb6ebbc9a
multifilesink: Add key-frame option to next-file
...
This allows segmenting of MPEG-TS files at key frames, which is
exactly what is needed for Apple's HTTP streaming.
2010-03-09 13:52:30 -08:00
Sebastian Dröge
42ff597f41
videobox: Fix autocropping for odd width/height differences
2010-03-09 21:03:18 +00:00
Sebastian Dröge
1819fcb4a5
videobox: Use libgstvideo for format specific stuff
2010-03-09 21:03:18 +00:00
Sebastian Dröge
79e720052a
audiofx: Sync properties to the stream time
2010-03-09 21:03:18 +00:00
Sebastian Dröge
4381b9296f
videobox: Make properties controllable
2010-03-09 21:03:18 +00:00
Sebastian Dröge
7dcb294b54
videobox: Some cleanup
2010-03-09 21:03:18 +00:00
Sebastian Dröge
f8b7308c21
effectv: Use controller where possible, optimize a bit and make properties threadsafe
2010-03-09 21:03:18 +00:00
Benjamin Otte
b5a3b9cb1c
flx: fix description
...
It's video, not audio
2010-03-09 19:15:07 +01:00
Tim-Philipp Müller
8127670c86
Revert "Add 4:2:2, 4:1:1, and 4:4:4 output support"
...
This reverts commit 637c26f61a
.
2010-03-09 00:09:34 +00:00
Wim Taymans
66709a7a68
rtspsrc: configure multicast correctly
...
Take the transport destination for multicast.
Disable loop and autojoin for multicast on the udpsinks.
2010-03-08 17:48:46 +01:00
Wim Taymans
83a0c73dc0
multicast: always configure loop and ttl
...
Also configure TTL and loop parameters when we add a client after initializing
the sender.
2010-03-08 17:48:37 +01:00
Wim Taymans
cabe01ef95
Revert "rtph263depay: baseclass handles timestamps for us"
...
This reverts commit 564581e1b8
.
If we don't call push_ts, there will be no timestamp at all on the outgoing
buffer.
Fixes #612154
2010-03-08 17:48:27 +01:00
Benjamin M. Schwartz
637c26f61a
Add 4:2:2, 4:1:1, and 4:4:4 output support
2010-03-08 17:48:11 +01:00
Wim Taymans
529f443a61
rtpsource: use payload size to estimate bitrate
...
Use the length of the payload for estimating the receiver bitrate so that it
matches the calculations done on the sender side. Together with the number of
packets one can scale the bitrate with the header overhead of the lower
transport.
2010-03-08 17:48:04 +01:00
Wim Taymans
c971d1a9ab
rtpsource: refactor bitrate estimation
...
Don't reuse the same variable we need for stats for the bitrate estimation
because we're updating it.
Refactor the bitrate estimation code so that both sender and receivers use the
same code path.
2010-03-08 17:48:00 +01:00
Tristan Matthews
a0a6d4ff3b
added bitrate estimation to receiver-side stats, fixes #611213
2010-03-08 17:47:55 +01:00
Wim Taymans
968c981e74
h263pay: fix typo in debug
2010-03-08 17:47:14 +01:00
Edward Hervey
869ff4263f
matroskademux: Make sure we don't send invalid newsegments
...
Fixes #611501
2010-03-02 21:20:45 +01:00
Edward Hervey
be186bd089
matroskademux: Mark streams as being EOS at the right time.
...
This allows us to stop streaming only when all streams have gone past the
segment.stop and not before.
Fixes #611501
2010-03-02 21:20:31 +01:00
Sebastian Dröge
ad71d43f52
matroskademux: Advance sparse streams only as much as required to keep the gap smaller than 500ms
...
Changing it to the newest timestamp that was ever pushed will
increase the segment start in 500ms jumps, which could be just
after the next sparse stream buffer. E.g.
Video at 1.0s, sparse stream at 0.5s would jump the
sparse stream to 1.0s. Now a new sparse stream buffer could
appear that has a timestamp of 0.9s and this would be
dropped for no good reason because of bad luck.
2010-02-27 12:20:06 +01:00
Alessandro Decina
49b2a94644
Make sure FLUSH_STOP is sent so not to leave downstream flushing.
2010-02-24 02:05:49 +01:00
Sebastian Dröge
bcd06ea527
rtpjitterbuffer: Reset skew detection after instantiating the jitterbuffer
...
...not only when going to READY. This sets high_level and friends to
a more useful value.
2010-02-23 17:24:03 +01:00
Sebastian Dröge
0a12e69024
rtpjitterbuffer: Return 100 if high-level is 0 instead of dividing by zero
2010-02-23 17:20:02 +01:00
Wim Taymans
3a09d334a0
rtpmp4gdepay: avoid division by 0
...
Avoid a division by 0 when no constantDuration was specified and when out two
timestamps are equal.
Fixes #610265
2010-02-23 12:58:03 +01:00
Wim Taymans
e43839eae9
dvdepay: don't output frames until we have a header
...
Wait for the complete first 6 header DIF packets before outputting a frame.
Decoders need this info to correctly decode the data.
Fixes #610556
2010-02-23 12:54:36 +01:00
Tim-Philipp Müller
8c46cce875
flvdemux: minor micro-optimisation
...
We know these values don't change during the loop, but the compiler
doesn't and has to re-check them for every iteration.
2010-02-19 12:13:08 +00:00
Tim-Philipp Müller
ec9add84a8
flvdemux: remove static keyword from variables that shouldn't be static
...
Multiple flvparse/flvdemux instances should be able to operate without
trampling over each other by accidentally re-using the same (static)
variables. (Spotted by Mark Nauwelaerts)
2010-02-19 12:13:07 +00:00
Tim-Philipp Müller
07fa73f199
docs: add Since: markers for new jitterbuffer properties
2010-02-19 12:13:07 +00:00
Robert Swain
8d801f41d8
qtdemux: Fix off-by-one logic error in frame rate cap regression commit
2010-02-18 18:20:24 +01:00
Thiago Santos
f1c61e1d84
qtdemux: Use the correct duration when comparing segments
...
Do not confuse QtDemuxSegments with GstSegments when
comparing the total file duration with the segment duration
Fixes #610296
2010-02-18 07:53:34 -03:00
Robert Swain
2723de585e
qtdemux: add durations modulo 1<<32
...
For calculating the durations of each sample, we are supposed to add each
duration modulo 1<<32 so make the elapsed time counter a uint32.
Fixes #610280
2010-02-17 18:06:29 +01:00
Anders Skargren
6a877b2e6d
multipartdemux: improve header mime-type parsing
...
Make the handing of the mime type within the "boundary" a bit less naive.
The standard for MIME allows parameters to follow the "type" / "subtype"
clause separated from the mime type by ';'.
Modifies the multipartdemuxer's header parsing so it doesnt assume
the whole line after "content-type:" is the mime type and thus makes it a bit
more resilient to finding absurd mime types in the case where parameters are
added.
Fixes #604711
2010-02-16 21:05:24 +01:00
Wim Taymans
a0b651bf5b
rtspsrc: avoid stopping NULL tasks
...
Check the task for NULL, it could be paused and set to NULL before.
2010-02-16 19:54:32 +01:00
Mark Nauwelaerts
d14685eb08
qtdemux: fix ALAC codec-data handling
...
ALAC codec-data apparently comes in (at least) two flavours (mov, mp4),
so use atom based parsing to retrieve required data, rather than
aiming for a specific offset.
See also #580731 .
2010-02-16 16:22:28 +01:00
Mark Nauwelaerts
105d8c925b
qtdemux: fix debug message
2010-02-16 16:09:36 +01:00
Mark Nauwelaerts
58d84a993c
qtdemux: handle signed values in 3GPP location tag
2010-02-16 16:09:26 +01:00
Mark Nauwelaerts
87e80aab57
rtspsrc: fix typo in debug message
2010-02-16 16:07:21 +01:00
Mark Nauwelaerts
172c0c6a6a
avidemux: reset some more stream state after seek
...
In particular, fixes non-flushing seek.
2010-02-16 15:03:59 +01:00
Robert Swain
e2f5409d40
qtdemux: Fix frame rate cap regression
...
Look for a non-zero min_duration during initialisation to avoid
incorrect frame rate caps.
2010-02-16 14:44:11 +01:00
Brian Cameron
a45b351ddf
matroska: fix GST_ELEMENT_ERROR usage
...
Fixes #610053 .
2010-02-16 01:40:19 +00:00
Wim Taymans
9d40d60960
rtpbin: remove use of ntp_ns_base
2010-02-15 21:36:29 +01:00