InterVideoSrc CPU Utilization

Nicolas Dufresne nicolas at ndufresne.ca
Wed Aug 28 20:52:23 UTC 2019


Le mercredi 28 août 2019 à 13:37 -0600, Michael Gruner a écrit :
> Hi Igal
> 
> These are not intervideosrc and intervideosink. These are interpipe, which is a different project.
> 
> Similar to previous answer gave by Nicholas, if the memory is marked as “no share” it needs to be copied before sharing.
> 
> If you are certain you will not corrupt something, you may hack in the code to remove that check.

I can't remember which GStreamer version exactly, but I did remove the
NO_SHARE flag from v4l2src generated buffer. Do you happen to know
which version is being forked by NVidia ?

> 
> Michael
> 
> > On Aug 28, 2019, at 1:29 PM, IgalKroyter <igalkroy at gmail.com> wrote:
> > 
> > Nicolas, hi,
> > 
> > hereafter are the pipe I use:
> > 
> > v4l2src device = /dev/video0 ! interpipesink name="videoch1", format=3,
> > enable-sync=false, allow-renegotiation=true
> > 
> > alsasrc device="hw:tegrasndt186ref,0" ! tee ! queue
> > max-size-time=3000000000, max-size-bytes=0, max-size-buffers=0, leaky=2 !
> > interpipesink name="audioch1"
> > 
> > interpipesrc listen-to="videoch1" ! nvvidconv output-buffers=125 !
> > video/x-raw , width=(int)1280, height=(int)720, framerate=(fraction)60/1,
> > format=(string)UYVY ! omxh264enc profile=8, bitrate=32000000,
> > iframeinterval=15, control-rate=2 ! h264parse ! queue
> > max-size-time=3000000000, max-size-bytes=0, max-size-buffers=0, leaky=2 !
> > mpegpsmux ! queue max-size-time=3000000000, max-size-bytes=0,
> > max-size-buffers=0, leaky=2 ! filesink location=my.mpg
> > 
> > interpipesrc listen-to="audioch1", format=3, enable-sync=false,
> > allow-renegotiation=true ! video/x-raw , width=(int)1280, height=(int)720,
> > framerate=(fraction)60/1, format=(string)UYVY ! voaacenc ! queue
> > max-size-time=3000000000, max-size-bytes=0, max-size-buffers=0, leaky=2
> > 
> > 
> > 
> > 
> > --
> > Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> > _______________________________________________
> > 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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190828/9c21cf0f/attachment-0001.sig>


More information about the gstreamer-devel mailing list