RidgeRun / gst-interpipe

GStreamer plug-in for interpipeline communication
Other
143 stars 64 forks source link

The "enable-last-sample" and last key frame support #79

Open yuyou opened 3 years ago

yuyou commented 3 years ago

Hi

When using interpipesink and interpipesrc for sending encoder stream like H264 with fixed GOP size, the receiver can have some block artifacts. The artifacts disappear when the sender side uses only I-frames (e.g. fixed GOP=1). I guess it is because the switch did not happen at the IDR frame.

There's one property "enable-last-sample". What does it do? Do you see if it is a good idea to have a new property "enable-last-keyframe" for encoded streams to send the last keyframe always when a switch happens, or force a switch happening at the right keyframe?