It would be nice to have a command line argument to disable the preview window in hailo-apps to save resources.
I’ve tried to disable it in gstreamer_app but failed miserably.
Am I missing something obvious?
1 Like
Thanks @sjnicholls414 for the suggestion - we will look into it.
As a workaround, you can swap the video sink to fakesink by setting the video_sink property in your app before the pipeline is created:
self.video_sink = "fakesink"
Or, if you’re building the pipeline string directly, replace the autovideosink with fakesink in the DISPLAY_PIPELINE() call:
display_pipeline = DISPLAY_PIPELINE(video_sink="fakesink", sync=self.sync, show_fps=self.show_fps)
This keeps the fpsdisplaysink wrapper intact (so --show-fps still works) but drops all rendered frames without opening a window.