+ -
当前位置:首页 → 问答吧 → gst-ffmpeg软件包安装正常,使用出错.

gst-ffmpeg软件包安装正常,使用出错.

时间:2009-06-21

来源:互联网

为了安装gnash
我安装了Gstreamer,gst-plugin-base, gst-plugin-good,gst-ffmpeg四个包
安装过程还比较顺利,装完以后,我用gst-inspect检查。

#gst-inspect
这里列出好多项目,

#gst-inspect ffdec_flv
这样运行就会提示错误,提示如下:
代码:
(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed
Factory Details:
 Long name:     FFMPEG FLV video decoder
 Class: Codec/Decoder/Video
 Description:   FFMPEG flv decoder
 Author(s):     Wim Taymans <[email protected]>, Ronald Bultje <[email protected]>, Edward Hervey <[email protected]>
 Rank: marginal (64)

Plugin Details:
 Name: ffmpeg
 Description: All FFMPEG codecs (local snapshot)
 Filename: /usr/lib/gstreamer-0.10/libgstffmpeg.so
 Version: 0.10.4
 License: LGPL
 Source module: gst-ffmpeg
 Binary package:        FFMpeg
 Origin URL: http://ffmpeg.sourceforge.net/

GObject
 +----GstObject
 +----GstElement
 +----ffdec_flv

Pad Templates:
 SRC template: 'src'
 Availability: Always
 Capabilities:
 video/x-raw-rgb
 video/x-raw-yuv

 SINK template: 'sink'
 Availability: Always
 Capabilities:
 video/x-flash-video
 width: [ 16, 4096 ]
 height: [ 16, 4096 ]
 framerate: [ 0/1, 2147483647/1 ]
 flvversion: 1


Element Flags:
 no flags set

Element Implementation:
 Has change_state() function: 0xb75126e0
 Has custom save_thyself() function: gst_element_save_thyself
 Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.

Pads:
 SRC: 'src'
 Implementation:
 Has custom eventfunc(): gst_ffmpegdec_src_event
 Has custom queryfunc(): gst_ffmpegdec_query
 Pad Template: 'src'
 SINK: 'sink'
 Implementation:
 Has chainfunc(): gst_ffmpegdec_chain
 Has custom eventfunc(): gst_ffmpegdec_sink_event
 Pad Template: 'sink'

Element Properties:
 name : The name of the object
 flags: readable, writable
 String. Default: null Current: "ffdec_flv0"
 lowres : At which resolution to decode images
 flags: readable, writable
 Enum "GstFFMpegDecLowres" Default: 0, "full" Current: 0, "full"
 (0): full - 0
 (1): 1/2-size - 1
 (2): 1/4-size - 2
 skip-frame : Which types of frames to skip during decoding
 flags: readable, writable
 Enum "GstFFMpegDecSkipFrame" Default: 0, "Skip nothing" Current: 0, "Skip nothing"
 (0): Skip nothing - 0
 (1): Skip B-frames - 1
 (2): Skip IDCT/Dequantization - 2
 (5): Skip everything - 5
 direct-rendering : Enable direct rendering
 flags: readable, writable
 Boolean. Default: false Current: false
 do-padding : Add 0 padding before decoding data
 flags: readable, writable
 Boolean. Default: true Current: true
 debug-mv : Whether ffmpeg should print motion vectors on top of the image
 flags: readable, writable
 Boolean. Default: false Current: false
查找原因,发现是gst-ffmpeg包的问题。我卸载了gst-ffmpeg包就没有了ffdec_flv这个插件了。

可是我安装gst-ffmpeg包的0.10.3/0.10.4/0.10.7三个版本都不能解决问题。

请坛友帮忙,这个问题是什么引起的?我要怎么解决。

作者: zhfg   发布时间: 2009-06-21

我自己顶,期待有同样问题的高人出现

作者: zhfg   发布时间: 2009-06-23

每日一顶,期待高人出现

作者: zhfg   发布时间: 2009-06-23