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

Streaming video resolution 4096x3000 #20

Open ivantomic17 opened 4 years ago

ivantomic17 commented 4 years ago

Hi, is it possible to stream video with resolution 4096x3000? I have tried 1920x1080 and it works great.

But when i try higher: ./demopylongstreamer -rescale 4096 3000 -h264stream 192.168.1.129

i get following error: ERROR from element source40019145: Internal data stream error.

Is it possible to stream any higher resolution?

Best regards Tomic

MattsProjects commented 2 years ago

Hi there, I'm terribly sorry I am seeing this so late! I think I was not getting notifications from this repo... Fundamentally this should be possible, but I think maybe there is a memory limit you are hitting with the higher resolution. Best place to start is at the interface level. Are you using a usb camera or a gige camera? There are settings to increase the amount of allocated memory to the host controller I can offer. If that does not work, next step is to enable gstreamer's debug variable to get a more verbose output for diagnosis to find the bottleneck in the pipeline.