LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1473|回复: 2

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

[复制链接]
发表于 2009-6-21 09:11:55 | 显示全部楼层 |阅读模式
为了安装gnash
我安装了Gstreamer,gst-plugin-base, gst-plugin-good,gst-ffmpeg四个包
安装过程还比较顺利,装完以后,我用gst-inspect检查。

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

#gst-inspect ffdec_flv
这样运行就会提示错误,提示如下:


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  45. (gst-inspect-0.10:1370): GStreamer-CRITICAL **: gst_caps_ref: assertion `GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed
  46. Factory Details:
  47.   Long name:        FFMPEG FLV video decoder
  48.   Class:        Codec/Decoder/Video
  49.   Description:        FFMPEG flv decoder
  50.   Author(s):        Wim Taymans <wim.taymans@gmail.com>, Ronald Bultje <rbultje@ronald.bitfreak.net>, Edward Hervey <bilboed@bilboed.com>
  51.   Rank:                marginal (64)

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

  61. GObject
  62. +----GstObject
  63.        +----GstElement
  64.              +----ffdec_flv

  65. Pad Templates:
  66.   SRC template: 'src'
  67.     Availability: Always
  68.     Capabilities:
  69.       video/x-raw-rgb
  70.       video/x-raw-yuv

  71.   SINK template: 'sink'
  72.     Availability: Always
  73.     Capabilities:
  74.       video/x-flash-video
  75.                   width: [ 16, 4096 ]
  76.                  height: [ 16, 4096 ]
  77.               framerate: [ 0/1, 2147483647/1 ]
  78.              flvversion: 1


  79. Element Flags:
  80.   no flags set

  81. Element Implementation:
  82.   Has change_state() function: 0xb75126e0
  83.   Has custom save_thyself() function: gst_element_save_thyself
  84.   Has custom restore_thyself() function: gst_element_restore_thyself

  85. Element has no clocking capabilities.
  86. Element has no indexing capabilities.
  87. Element has no URI handling capabilities.

  88. Pads:
  89.   SRC: 'src'
  90.     Implementation:
  91.       Has custom eventfunc(): gst_ffmpegdec_src_event
  92.       Has custom queryfunc(): gst_ffmpegdec_query
  93.     Pad Template: 'src'
  94.   SINK: 'sink'
  95.     Implementation:
  96.       Has chainfunc(): gst_ffmpegdec_chain
  97.       Has custom eventfunc(): gst_ffmpegdec_sink_event
  98.     Pad Template: 'sink'

  99. Element Properties:
  100.   name                : The name of the object
  101.                         flags: readable, writable
  102.                         String. Default: null Current: "ffdec_flv0"
  103.   lowres              : At which resolution to decode images
  104.                         flags: readable, writable
  105.                         Enum "GstFFMpegDecLowres" Default: 0, "full" Current: 0, "full"
  106.                            (0): full             - 0
  107.                            (1): 1/2-size         - 1
  108.                            (2): 1/4-size         - 2
  109.   skip-frame          : Which types of frames to skip during decoding
  110.                         flags: readable, writable
  111.                         Enum "GstFFMpegDecSkipFrame" Default: 0, "Skip nothing" Current: 0, "Skip nothing"
  112.                            (0): Skip nothing     - 0
  113.                            (1): Skip B-frames    - 1
  114.                            (2): Skip IDCT/Dequantization - 2
  115.                            (5): Skip everything  - 5
  116.   direct-rendering    : Enable direct rendering
  117.                         flags: readable, writable
  118.                         Boolean. Default: false Current: false
  119.   do-padding          : Add 0 padding before decoding data
  120.                         flags: readable, writable
  121.                         Boolean. Default: true Current: true
  122.   debug-mv            : Whether ffmpeg should print motion vectors on top of the image
  123.                         flags: readable, writable
  124.                         Boolean. Default: false Current: false
复制代码


查找原因,发现是gst-ffmpeg包的问题。我卸载了gst-ffmpeg包就没有了ffdec_flv这个插件了。

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

请坛友帮忙,这个问题是什么引起的?我要怎么解决。
 楼主| 发表于 2009-6-22 22:44:27 | 显示全部楼层
我自己顶,期待有同样问题的高人出现
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-23 15:12:18 | 显示全部楼层
每日一顶,期待高人出现
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表