How to convert variable buffer size to fixed size

Marc Rechte mrechte at studelec-sa.com
Wed Mar 30 16:01:04 UTC 2016


Hello,

Testing the Open-AVB gstreamer plugin (avbsink), I am trying to stream 
the output of a UVC camera to an ethernet device, using this command:

# gst-launch-1.0 -e uvch264src device=/dev/video0 name=zoro 
auto-start=true  zoro.vidsrc ! 
video/x-h264,width=1280,height=720,framerate=30/1 ! tee name=t ! queue ! 
avdec_h264 ! xvimagesink sync=false t. ! queue ! avbsink interface=enp2s0

The problem is that avbsink expects a fixed blocksize of 1024 bytes. The 
uvch264src has no blocksize property.

Please would you have any suggestion to make sure blocks passed to 
avbsink have a fixed size ?

Thanks





More information about the gstreamer-devel mailing list