<div dir="ltr"><div>Input stream has 30 frames per 1 second fps. I want to discard 29 of 30 frames each second. How can I do that?<br></div><div><br></div>Pipe looks like:<br><div><div><br>std::string pipeline =<br>    "  appsrc name=src0 "<br>    "! vaapiparse_h264 "<br>    "! vaapidecode name=decoder0 "<br>    "! videorate "<br>    "!   video/x-raw,framerate=1/1 "<br>    "! videoscale "<br>    "!   video/x-raw,width=640,height=480 "<br>    "! vaapiencode_h264 name=encoder0 bitrate=512 keyframe-period=1 "<br>    "!   video/x-h264,profile=high,stream-format=avc,alignment=au "<br>    "! vaapiparse_h264 "<br>    "!   video/x-h264,alignment=nal "<br></div><div>    "! appsink name=sink0";<br><br>It makes my video stream slower in 30 times and does not discard frames as I want.<br></div></div></div>