You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The demuxer actually spits out more than one stream's worth of packets (e.g. there might be both an audio and a video stream).
This means that rollovers are being triggered almost constantly because different stream timestamps are being compared.
(Interestingly, this might be a more existential challenge we have to face down the line when we start dealing with audio processing -- if the audio PTS is different from the video PTS do we want to track those separately?)
Expected Behavior
We should have the rollover only compare PTS from a single stream type.
Possible Solutions
Some options:
Track the PTS values of each stream number, only compare those values. Actually this probably won't work since we only care about the rollover of an individual stream.
Track the PTS value of a single stream. It could just be the first stream that emits a payload; or the first video stream.
The AbstractVideoIngestionAppliance keeps track of the position associated
with the stream; however, in MPEG-TS there is more than one stream (e.g.
audio and video) which means there is actually more than one stream
position.
This was causing issues where position was jumping around back and forth
because all positions were treated as being from a single stream. We
now only care about the video stream.
It may be that an MPEG-TS stream can contain multiple video streams,
which will break this code; that said, TV Kitchen is fairly built around
an assumption that a given video stream has a single video in it.
In the long run we may want to also track audio stream position, but
honestly at that stage we would probably want the ingestor to output
multiple demuxed and remuxed streams instead of simply forwarding the
stream.
Issue #132
The AbstractVideoIngestionAppliance keeps track of the position associated
with the stream; however, in MPEG-TS there is more than one stream (e.g.
audio and video) which means there is actually more than one stream
position.
This was causing issues where position was jumping around back and forth
because all positions were treated as being from a single stream. We
now only care about the video stream.
It may be that an MPEG-TS stream can contain multiple video streams,
which will break this code; that said, TV Kitchen is fairly built around
an assumption that a given video stream has a single video in it.
In the long run we may want to also track audio stream position, but
honestly at that stage we would probably want the ingestor to output
multiple demuxed and remuxed streams instead of simply forwarding the
stream.
Issue #132
Bug
Current Behavior
The demuxer actually spits out more than one stream's worth of packets (e.g. there might be both an audio and a video stream).
This means that rollovers are being triggered almost constantly because different stream timestamps are being compared.
(Interestingly, this might be a more existential challenge we have to face down the line when we start dealing with audio processing -- if the audio PTS is different from the video PTS do we want to track those separately?)
Expected Behavior
We should have the rollover only compare PTS from a single stream type.
Possible Solutions
Some options:
Related Issues
Issue #130
The text was updated successfully, but these errors were encountered: