input-selector pixelation when changing active-pad
I have two h264 encoded rtsp sources from IP cameras, and I want to switch
between cameras every 20 seconds, and save the output into a file. The
problem I face is when switching, I'm expecting a fast switch but it does a
slow pixelated transition between the previous active pad frames and the new
Re: input-selector pixelation when changing active-pad
You could also switch on I-frame boundaries only. This will require a bit of
programming though, checking each passing buffer on your first feed for the
Gst::BUFFER_FLAG_DELTA_UNIT flag. If I-frames are not aligned between
streams, you will have to wait for a passing i-frame on the second stream as
At certain point the encoder output show a duplicated or decreasing DTS.
Which usually matches the camera change in the input selector.
It does not happen everytime, it couid happen after 2 minutes or 20 minutes
vaapih264enc is using baseline profile.
Is it there anyway to force the stream activated on the input selector to be
can we relabel the timestamps on the output?