Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why ı am getting this error #1014

Closed
Minaygt opened this issue Jul 15, 2024 · 1 comment
Closed

why ı am getting this error #1014

Minaygt opened this issue Jul 15, 2024 · 1 comment
Labels

Comments

@Minaygt
Copy link

Minaygt commented Jul 15, 2024

(python3:10379): GStreamer-CRITICAL **: 13:56:56.403: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1758) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module filesink0 reported: Could not open file "/home/mina/udemy_ws/data/Output/in_new.avi" for writing.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1758) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module filesink0 reported: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1592) open OpenCV | GStreamer warning: GStreamer: cannot put pipeline to play

[ERROR:0] global ../modules/videoio/src/cap.cpp (415) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.2.0) ../modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /home/mina/udemy_ws/data/Output/in_new.avi in function 'icvExtractPattern'



(python3:10379): GStreamer-CRITICAL **: 13:56:56.416: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1758) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module filesink1 reported: Could not open file "/home/mina/udemy_ws/data/Output/out_new.avi" for writing.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1758) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module filesink1 reported: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1592) open OpenCV | GStreamer warning: GStreamer: cannot put pipeline to play

[ERROR:0] global ../modules/videoio/src/cap.cpp (415) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.2.0) ../modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /home/mina/udemy_ws/data/Output/out_new.avi in function 'icvExtractPattern'
@asmorkalov
Copy link
Collaborator

Your OpenCV instance is not installed from pip, but built manually. It's not related to the repo. The error means, that GStreamer setup does not provide required video encoder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants