Yaakov Selkowitz
6f4a4c392f
Add missing copies of license files
...
This should fix the crates that are missing license files.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2052 >
2025-01-28 11:34:15 +00:00
Sebastian Dröge
b70ad7895f
mpegtslivesrc: Handle zero-byte adaption fields
...
Simply skip over them instead of handling them as parse error.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2048 >
2025-01-21 13:50:46 +00:00
Sebastian Dröge
36cdb85e77
mpegtslivesrc: Parse PES packets and check for reasonable PTS/DTS
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2011 >
2024-12-24 11:30:23 +00:00
Sebastian Dröge
f610a0c9d8
mpegtslivesrc: Refactor section parser
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2011 >
2024-12-24 11:30:23 +00:00
Sebastian Dröge
ff547205ea
mpegtslivesrc: Reset rate to 1/1 on disconts and flush observations
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2010 >
2024-12-23 19:59:06 +00:00
Sebastian Dröge
d032c52ff5
mpegtslivesrc: Fix mismatch between internal / external time usage
...
Previously the internal time was stored as base offset for calculating
the external time from the PCR, which resulted in disconts being
detected wrongly.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1934 >
2024-11-21 12:55:36 +00:00
Sebastian Dröge
5fe4d948bf
mpegtslivesrc: Rename variables to make it clear which time domain they refer to
...
We have the internal time domain (monotonic clock) and the external time
domain (scaled monotonic clock in the rate of the PCR).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1934 >
2024-11-21 12:55:36 +00:00
Sebastian Dröge
d9664d77b0
mpegtslivesrc: Parse PAT/PMT and only handle PCRs from the first program
...
This matches default behaviour of tsdemux and makes sure we're not
jumping between different PCRs if there are multiple.
At a later time, program selection could be implemented.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1894 >
2024-10-28 13:25:43 +00:00
Sebastian Dröge
034742e4af
mpegtslivesrc: Make sure to use the object as context for all debug logs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1770 >
2024-09-09 15:49:08 +01:00
Sebastian Dröge
1a7cf29b04
mpegtslivesrc: Check if old compared to new PCR clock estimation is too far off
...
It the difference between the two estimations is more than 1s then
consider this a discontinuity too.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1770 >
2024-09-09 15:49:08 +01:00
Sebastian Dröge
0758470e68
mpegtslivesrc: Fix order of parameters passed to add_observation()
...
The first one should be the internal time, i.e. the monotonic clock time
in our case, and the second one the external time.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1770 >
2024-09-09 15:49:08 +01:00
Sebastian Dröge
34f85f8d9f
mpegtslivesrc: Scale monotonic time on PCR disconts to allow for continuous clock times
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1770 >
2024-09-09 15:49:08 +01:00
Sebastian Dröge
59324a3da5
mpegtslivesrc: Set DISCONT flag on buffers at PCR discontinuities
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1770 >
2024-09-09 15:49:08 +01:00
Sebastian Dröge
71cd06e975
mpegtslivesrc: Handle PCR discontinuities as errors for now
...
More work is needed to make this work seemlessly and right now it would
simply cause invalid timestamps to be created.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1722 >
2024-08-14 18:30:06 +01:00
Sebastian Dröge
98b28d69ce
Update for new debug log macro syntax
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1658 >
2024-07-08 11:25:23 +03:00
Sebastian Dröge
4123b5d1a1
mpegtslive: Update for gst::Clock::set_calibration()
API changes
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1658 >
2024-07-08 09:59:06 +03:00
Sebastian Dröge
4ab8d92f28
mpegtslivesrc: Don't skip the first MPEG-TS packet
...
If every buffer contains only a single MPEG-TS packet we would otherwise
skip over everything and would never observe a PCR.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1651 >
2024-07-04 17:01:43 +03:00
Edward Hervey
95ae67752f
net: New mpegtslive element
...
This element allows wrapping an existing live "mpeg-ts source" (udpsrc,
srtsrc,...) and providing a clock based on the actual PCR of the stream.
Combined with `tsdemux ignore-pcr=True` downstream of it, this allows playing
back the content at the same rate as the (remote) provider **and** not modify
the original timestamps.
Co-authored-by: Sebastian Dröge <slomo@coaxion.net>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1640 >
2024-07-01 15:29:22 +02:00