tsparse and tsdemux
i.nixman at autistici.org
i.nixman at autistici.org
Fri Feb 4 14:27:30 UTC 2022
On 2022-02-04 14:15, Nicolas Dufresne via gstreamer-devel wrote:
> Le vendredi 04 février 2022 à 12:41 +0000, i.nixman--- via
> gstreamer-devel a
> écrit :
>> everything works as it should, but I have a question: if I add tsparse
>> to the second pipeline before tsdemux, everything will still work
>> successfully.
>> the question is why does tsdemux work successfully without using
>> tsparse
>> and when should tsparse be used?
>
> tsparse is mostly a subset of tsdemux, so you don't usually need to
> pre-process
> the TS for demuxing. One of the main use case for tsparse is to set
> timestamps
> into the otherwise bytes you are receiving. See the "set-timestamp"
> property. It
> will track the PCR and figure-out the time information without
> separating the
> streams.
>
> You could use this to notably stream from file of bytes stream to RTP
> using
> rtpmp2tpay element, without the overhead and complexity of demuxing and
> muxing
> again.
>
> Nicolas
got it!
many thanks Nicolas!
best!
More information about the gstreamer-devel
mailing list