i am currently working with the Jetson Nano and the Intel Realsense D415 Depth camera. I am simply masking out a video with the depth data of the camera.
Unfortunately the Video that is supposed to be masked is utterly lagging. With the following code
std::stringstream strm; strm << "fps: " << ofGetFrameRate(); ofSetWindowTitle(strm.str());
the output shows between 15 - 20 FPS but is definitely lower. When i use a simple VideoPlayer sketch the output shows 25 (as defined) but is visibly lagging as well…
Vertical Sync is off, with Vertical Sync the framerate drops another 5 frames or so…
When i play the video with totem it runs smoothly though.
The video is a 1920x1080 h264 mov file. The bitrate is quite low.
On my Win10 PC the video is lagging on DebugMode, but in ReleaseMode it seems to run just fine.
Could it have anything to do with gstreamer?
What is the best way to encode the videos played?
And this is the console output:
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading sys.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Allocating new output: 1920x1088 (x 10), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3595: Send OMX_EventPortSettingsChanged: nFrameWidth = 1920, nFrameHeight = 1080
Thanks in advance