gst-plugins-vision icon indicating copy to clipboard operation
gst-plugins-vision copied to clipboard

pylonsrc: How to handle corrupted frames

Open joshdoe opened this issue 4 years ago • 3 comments

Issue originated on an issue over at gst-pylonsrc, where this plugin originated, but is still a problem with the current merged source.

Currently, any corrupted frames cause the source to error out, bringing down the pipeline.

I'm thinking the best way to handle this is to have a property that will continue grabbing frames even if one is corrupted, and maybe another property that determines whether to pass or drop the corrupted frame. Input appreciated.

joshdoe avatar Apr 08 '20 16:04 joshdoe

I also noticed that getting error messages is quite common occurrence in the Pylon viewer. Adjusting frame-rate resolution etc. (bandwidth optimization) helps reducing the frequency of these occurrences.

I think perhaps the plugin should only fail when the frequency of error messages gets too high, and be configurable as a parameter.

AB-Eskild avatar May 11 '20 16:05 AB-Eskild

I should say this should be fixed once #51 is merged, which should be within a day or so.

joshdoe avatar Feb 24 '21 21:02 joshdoe

The changes have been merged, so this issue should be closed.

thortom avatar Jun 10 '21 14:06 thortom