Comments (5)
Hi hobbeshunter,
guvcview and nvgstcapture-1.0 are not tested and therefore not supported.
Please use gst-launch-1.0 to use gstreamer:
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),framerate=20/1' ! autovideosink
I can't see any errors in your device tree file.
from vc_mipi_nvidia.
Hi @hobbeshunter I am very busy currently. I try to support you from the 14th.
from vc_mipi_nvidia.
Thank you very much. That worked!
Follow up newby question: How do I use this with opencv?
I've tried
import cv2
import sys
gst_str = "nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),framerate=20/1' ! appsink"
cap = cv2.VideoCapture(gst_str, cv2.CAP_GSTREAMER)
if not cap.isOpened():
print('Failed to open camera!')
sys.exit()
while(True):
_, img = cap.read()
cv2.imshow("cam", img)
key = cv2.waitKey(10)
without luck. OpenCV version is 3.2.0.
Thanks in advance!
from vc_mipi_nvidia.
Any tipp on how to do it?
from vc_mipi_nvidia.
Some more results from experiments:
When I try
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),framerate=20/1,format=NV12,width=1280,height=800' ! nvvidconv ! 'video/x-raw, format=GRAY8' ! autovideosink
I get following error:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 1280 x 800 FR = 120,599999 fps Duration = 8291874 ; Analog Gain range min 0,000000, max 12,000000; Exposure Range min 1000, max 1000000000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 1280 H = 800
seconds to Run = 0
Frame Rate = 120,599999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.507162580
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
GST_ARGUS: Cleaning up
CONSUMER: Done Success
GST_ARGUS: Done Success
Setting pipeline to NULL ...
Freeing pipeline ...
from vc_mipi_nvidia.
Related Issues (20)
- 0.17.1 TX2NX, JNX30D still imx219 is active
- ./setup.sh --target => set standard IP to nvidia and RSA to id_rsa
- Refactoring of function vc_sen_set_roi
- L4T 36 issues with IMX568 and IMX566 HOT 2
- Error in setting up nvidia-l4t-gputools for L4T 32.7.3
- Error description in case of wrong binning/roi combinations
- ROI width alignment different for v4l2 and GStreamer => improve documentation HOT 1
- Improve documentation: Without correct meta data high there is not timestamp
- Patch issue HOT 4
- Support for L4T 35.5.0 HOT 1
- Issues with the nvarguscamerasrc and v4l2 pipeline
- Configuration VC_MIPI_CAM_0=0 and VC_MIPI_CAM_1=1 HOT 2
- MIPI bus lane speed for IMX250/Xavier NX
- Check resolution alignments for all cameras, platforms and bsps
- "demo.sh --argus" does not work
- Any plans for Jetson AGX Orin support? HOT 1
- VC Driver reports Error -34 on boot HOT 2
- Support for L4T 36.3
- Frame rate increase for binning modes
- 0.17.1, Jetson Nano with IMX415: Multi-bit transmission error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vc_mipi_nvidia.