HEADLESS=True yet recieving GStreamer warnings
See original GitHub issue@nicholaskajoh, I really appreciate your project.
An issue I am experiencing is I’m still receiving GStreamer warnings despite the HEADLESS=True setting in the .env file (I used the .env.example).
The error I received when I typed python3 -m main is as follows:
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
[ WARN:0] global /tmp/pip-install-oxrr8sjq/opencv-contrib-python/opencv/modules/videoio/src/cap_gstreamer.cpp (1761) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module qtdemux0 reported: Internal data stream error.
[ WARN:0] global /tmp/pip-install-oxrr8sjq/opencv-contrib-python/opencv/modules/videoio/src/cap_gstreamer.cpp (888) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global /tmp/pip-install-oxrr8sjq/opencv-contrib-python/opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[2021-01-13 16:12:27,023] ERROR : Invalid video source ./data/videos/sample_traffic_scene.mp4 {'label': 'INVALID_VIDEO_SOURCE'}
The file sample_traffic_scene.mp4 is there though in the proper directory (I downloaded it from the Google Drive link given in README).
I’m running it on Ubuntu on a Jetson Nano. Python 3 version 3.6.9
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Problem getting gstreamer pipeline working with OpenCV and ...
The dev kit is headless. With this setup I am able to take pictures, record video, and stream video from the Jetson using...
Read more >GStreamer 1.20 release notes - Freedesktop.org
The level element has been updated to add GstAudioLevelMeta on buffers if the "audio-level-meta" property is set to TRUE. This can then in...
Read more >gst-launch-1.0 videotestsrc ! autovideosink (does not work for ...
Got the same issue with you: autovideosink can play video but doesn't display it in a window. Try: gst-launch-1.0 videotestsrc ! ximagesink.
Read more >Setting up a Selenium web scraper on AWS Lambda with ...
But we're using a headless Chrome browser. That is, a browser that run without a UI. So you need to specify this and...
Read more >gst-atom-xcuitest-driver - npm
ATOM driver for iOS using XCUITest for backend. Latest version: 0.8.8, last published: 2 years ago. Start using gst-atom-xcuitest-driver in your project by ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Please run
find .in the project root and share the result here. I want to confirm the video file was placed in the path the code is using.I have the same error:
Invalid video source /mnt/c/Users/Ahmad Kammonah/Desktop/Ahmad/Python Test/OpenCV/assets/inputVideo.mp4 {'label': 'INVALID_VIDEO_SOURCE'}Did anyone find a solution?