fwx5
January 4, 2019, 9:17am
1
When I studied the code of how to control mipi camera to do inference by gstreamer from below github, I saw there is a memory copy there. Can it be removed? If not, it means gstreamer pipeline is not a zero-copy pipeline?
{
return false;
}
// get highest framerate
float frameRate = 0;
int frameRateNum = 0;
int frameRateDenom = 0;
if( gst_structure_get_fraction(caps, "framerate", &frameRateNum, &frameRateDenom) )
{
frameRate = float(frameRateNum) / float(frameRateDenom);
}
else
{
// it's a list of framerates, pick the max
GValueArray* frameRateList = NULL;
if( gst_structure_get_list(caps, "framerate", &frameRateList) && frameRateList->n_values > 0 )
{
for( uint32_t n=0; n < frameRateList->n_values; n++ )
Hi,
Please try tegra_multimedia_api. You can install samples via Jetpack and refer to
tegra_multimedia_api\samples\backend
tegra_multimedia_api\samples\frontend
fwx5
January 7, 2019, 2:20am
3
DaneLLL:
Hi,
Please try tegra_multimedia_api. You can install samples via Jetpack and refer to
tegra_multimedia_api\samples\backend
tegra_multimedia_api\samples\frontend
@DaneLL
Thank you for your answer. So you means tegra multi-media api is the better or only choice for building zero-copy pipeline, right?
Hi,
Yes, we have the solutions for your reference. You may also refer to DeepStream SDK 1.5