Hi,
I’m trying to open a sequence of png images, and want to do some cuda process by nvivafilter. So the first target is to thransform the data into NVMM NV12/I420 memory type.
I tried the following pipeline first:
gst-launch-1.0 videotestsrc ! videoconvert ! 'video/x-raw,format=NV12' ! nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12' ! nvegltransform ! nveglglessink
and it’s working.
Then the following one:
gst-launch-1.0 multifilesrc location="%06d.png" caps="image/png" ! decodebin ! videoconvert ! 'video/x-raw,format=NV12' ! nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12' ! nvegltransform ! nveglglessink
which is not working.
But this one:
gst-launch-1.0 multifilesrc location="%06d.png" caps="image/png" ! decodebin ! videoconvert ! 'video/x-raw,format=NV12' ! nvvidconv ! 'video/x-raw(memory:NVMM),<b>format=RGBA</b>' ! nvegltransform ! nveglglessink
is working.
So basicly I cannot transform the data type into NVMM NV12/I420 if I use multifilesrc, only NVMM RGBA. Can anyone explain this? Thanks!
BTW, I tried on both JetPack 3.3; L4T r28.2 and JetPack 3.1; L4T r28.1, same results.