How to convert variable buffer size to fixed size

Nicolas Dufresne nicolas.dufresne at gmail.com
Wed Mar 30 17:06:04 UTC 2016


Le mercredi 30 mars 2016 à 18:27 +0200, Peter Maersk-Moller a écrit :
> 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.
Also, arguably, avbsink element should handle this trivial
transformation by itself.  Please report the issue to the author. This
is a third party plugin.
https://github.com/AVnu/Open-AVB/issues

> 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
> > 



> _______________________________________________
> 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/cb42965c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160330/cb42965c/attachment.sig>


More information about the gstreamer-devel mailing list