How to convert variable buffer size to fixed size
Peter Maersk-Moller
pmaersk at gmail.com
Wed Mar 30 16:27:36 UTC 2016
The modules rndbuffersize and chopmydata can chop a stream of bytes into a
fixed buffer size stream although I don't know if your protocol needs the
chunks to be framed like RTP over TCP where a length specifier is needed.
Regards
On Wed, Mar 30, 2016 at 6:01 PM, Marc Rechte <mrechte at studelec-sa.com>
wrote:
> 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
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160330/0bd0a2a8/attachment.html>
More information about the gstreamer-devel
mailing list