小编Ped*_*reu的帖子

GStreamer-CRITICAL **:gst_element_make_from_uri:断言“ gst_uri_is_valid(uri)”失败

我在使用Python中的OpenCV 3.1的Ubuntu 16.04中。我可以对大量视频运行良好,但是在此特定视频中却失败了。我正在使用XVID进行编码。URI似乎是正确的,所以我在这里茫然不知所措...

下面是完整的错误(我知道可能需要一些上下文,但是为文件提供的路径是正确的。我尝试在其他建议的结尾处末尾加一个空格,但它没有用。

(240, 320, 3)
Converting all images into a video...
v_HandStandPushups_g01_c01
['', 'media', 'pedro', 'actv3', 'UCF101', 'videos', 'HandstandPushups']
Height: 224 Width: 224 FPS: 25.0
/media/pedro/actv3/UCF101/pose/HandstandPushups/v_HandStandPushups_g01_c01_pose.avi
/media/pedro/actv3/UCF101/pose/HandstandPushups/v_HandStandPushups_g01_c01_joints.npy

(python:1923): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
GStreamer Plugin: Embedded video playback halted; module filesink0 reported: Could not open file "/media/pedro/actv3/UCF101/pose/HandstandPushups/v_HandStandPushups_g01_c01_pose.avi" for writing.
GStreamer Plugin: 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 …
Run Code Online (Sandbox Code Playgroud)

python opencv gstreamer opencv3.1

1
推荐指数
1
解决办法
3794
查看次数

标签 统计

gstreamer ×1

opencv ×1

opencv3.1 ×1

python ×1