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?
Hi
When using
interpipesink
andinterpipesrc
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?