videorate generating duplicate frames in burst after input resume

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

videorate generating duplicate frames in burst after input resume

Vinod Kesti
All,

In video transcode pipeline I have used videorate to maintain the output framerate. videorate works perfectly when there is continuous input.
But videorate generated videoframes in burst when input missing for some time and comes back after some time.

In below pipeline input is stopped for some time and started after few seconds, after input resume same frame is pushed in burst which is leading to pipeline stall.

How to configure videorate to skip burst frames in such case ??

gst-launch-1.0 udpsrc port=6003 ! decodebin ! video/x-raw ! videorate skip-to-first=1 ! video/x-raw,framerate=25/1 ! checksumsink

0:00:00.925018959 a5db02b6cd040a6b96138730dba732a8f31a6509
0:00:00.965018959 51a8f74f61cc45e762f5ab31019ff1f0084a8c10
.
.
.
.
0:00:07.405018959 62168bc28375524cd9b126880d87a91cd0e4196f
0:00:07.445018959 f1d0b6143195e6dbaa8be7b5624e8626c442ab7b

Seven seconds gap in the video

0:00:07.485018959 99dea88e9027b435522b1cd4eee7359427f88ed1
0:00:07.525018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.565018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.605018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.645018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.685018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.725018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.765018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.805018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.845018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.885018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.925018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:07.965018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.005018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.045018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.085018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.125018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.165018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.205018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.245018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.285018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.325018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.365018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.405018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.445018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.485018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.525018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.565018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.605018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.645018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.685018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.725018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.765018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.805018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.845018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.885018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.925018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:08.965018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.005018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.045018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.085018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.125018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.165018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.205018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.245018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.285018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.325018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.365018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.405018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.445018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.485018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.525018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.565018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.605018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.645018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.685018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.725018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.765018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.805018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.845018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.885018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.925018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:09.965018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.005018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.045018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.085018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.125018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.165018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.205018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.245018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.285018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.325018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.365018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.405018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.445018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.485018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.525018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.565018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.605018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.645018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.685018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.725018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.765018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.805018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.845018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.885018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.925018959 972a2fb55227aea53d7b5e0bfe322cce049646b7
0:00:10.965018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.005018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.045018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.085018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.125018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.165018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.205018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.245018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.285018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.325018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.365018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.405018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.445018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.485018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.525018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.565018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.605018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.645018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.685018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.725018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.765018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.805018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.845018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.885018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.925018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:11.965018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.005018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.045018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.085018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.125018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.165018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.205018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.245018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.285018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.325018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.365018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.405018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.445018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.485018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.525018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.565018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.605018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.645018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.685018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.725018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.765018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.805018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.845018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.885018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.925018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:12.965018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.005018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.045018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.085018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.125018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.165018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.205018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.245018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.285018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.325018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.365018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.405018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.445018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.485018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.525018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.565018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.605018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.645018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.685018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.725018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.765018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.805018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.845018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.885018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.925018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:13.965018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.005018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.045018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.085018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.125018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.165018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.205018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.245018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.285018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.325018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.365018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.405018959 be5fab930cbfa29b96a6362e2690220fb7e5ccf0
0:00:14.445018959 a5872a39ddb976e475a58cb1c3c77f999fe2bdf6
0:00:14.485018959 9807d631a95ce493aff1e139c70b8d90a5c611d0
0:00:14.525018959 e68f1825166fdd6c6f5731a13b7a72160b2ad0aa
0:00:14.565018959 e68f1825166fdd6c6f5731a13b7a72160b2ad0aa
0:00:14.605018959 fe34380655d3ebfb6cf704484fe17492426797f0
0:00:14.645018959 415b43cec45a8841cad1149bd04ba3c35819beea
0:00:14.685018959 a95694feb1f353a9f989d17119e5fe06dfec7e40
0:00:14.725018959 09953171d3ca794df51e98ed0b4b4004b47a8589
0:00:14.765018959 85698bb1c88e68cd8404135eedb069b147c3d2af
0:00:14.805018959 2f92c1a15a0e5b682810745bb1a8fbdab3acc67e
0:00:14.845018959 0b267bcb391d29915f66bdb917eda9ecd430ce25
0:00:14.885018959 69134a2d2b3ef6870e1f9db765c7be6f887796e1
0:00:14.925018959 41b72662ca506c33f3a53a9c1c844ae0a6f1daee
0:00:14.965018959 03c91479fb48468352bfbd998dfd124e1c470eb1
0:00:15.005018959 fb6d1e1668fb5fe0ada642be5cfb934750f8b336
0:00:15.045018959 aa2f326b9f33c93eceaf847c2797b096bb0b96c9



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: videorate generating duplicate frames in burst after input resume

Arjen Veenhuizen
A classic videorate "feature" that has been out there for ages where videorate is not really compatible with live sources. I have booked pretty decent results with the patches in bugzilla 720104.
Loading...