你好,我刚刚将我的操作系统从14.04升级到14.10,当我看到gstreamer的新版本时,我非常兴奋,但问题是缺少了h264parse元素。我尝试重新安装gStreamer1.0-插件-坏,但什么都没有。当我使用解码时,它会自动使用vaapiparse_h264,当我尝试运行管道时,我得到了这个错误:
设置管道播放..。
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
** (gst-launch-1.0:17411): CRITICAL **: gst_vaapi_image_get_plane: assertion 'image != NULL' failed
** (gst-launch-1.0:17411): CRITICAL **: gst_vaapi_image_get_pitch: assertion 'image != NULL' failed
** (gst-launch-1.0:17411): CRITICAL **: gst_vaapi_image_get_plane: assertion 'image != NULL' failed
** (gst-launch-1.0:17411): CRITICAL **: gst_vaapi_image_get_pitch: assertion 'image != NULL' failed
** (gst-launch-1.0:17411): CRITICAL **: gst_vaapi_image_get_plane: assertion 'image != NULL' failed
** (gst-launch-1.0:17411): CRITICAL **: gst_vaapi_image_get_pitch: assertion 'image != NULL' failed
** (gst-launch-1.0:17411): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:17411): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:17411): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
Got EOS from element "pipeline0".
Execution ended after 0:00:02.419777862
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...rtspsrc -> decodebin -> autovideosink这是包装问题还是我做错了什么?
发布于 2015-05-25 14:06:05
根据http://gstreamer-devel.966125.n4.nabble.com/h264parse-has-been-removed-from-gstreamer-1-0-td4671468.html的说法,h264parse过滤器现在是libgstvideoparsersbad的一部分。
我已经确保安装了gstreamer1.0-plugins-bad-videoparsers,现在一切都正常了。过滤器本身被重命名为‘legacyh264解析’,但是旧名称有一个别名,所以它应该可以工作。
https://askubuntu.com/questions/546754
复制相似问题