MattsProjects / pylon_gstreamer

A robust integration of Basler's Pylon API with GStreamer. Delivers applications as ready-to-run standalone compiled executables (gst-launch-1.0 is not needed). Designed for reliability and easy access to performance optimizations. Note: This is not a plugin. It is an intergration using GStreamer's GstAppSrc element.
Apache License 2.0
29 stars 18 forks source link

Bigger Packet size #24

Closed Ramtin-Nouri closed 3 years ago

Ramtin-Nouri commented 3 years ago

When using multiple cameras (e.g. using a 4-way GigE PCI grabber card) you need to set the packet size to higher values for better performance, otherwise, the grabbing of the cameras will fail. Even if you're using only one camera this setting should only be beneficial. Just make sure you set the MTU in the ethernet settings also to 9000.

MattsProjects commented 3 years ago

Thanks Ramtin-Nouri! Yes, I do agree in this case that having the bigger packet size is helpful. Usually I keep my packet sizes at 1500 by default for compatibility, so that users of lower-performing NICs don't run into issues, but as this particular sample is aimed at performance, it makes total sense :-). Good find on the makefile as well, and yes the movies can be deleted. They were just some results of testing and not important. I appreciate the cleanup!!