【问题标题】:How to compile ffmpeg with rm/rmvb support?如何使用 rm/rmvb 支持编译 ffmpeg?
【发布时间】:2013-02-26 10:44:18
【问题描述】:

我搜索了一下,没有找到解决方案。编译最新版本的 FFMPEG 以支持 rm,rmvb 格式视频的具体参数是什么?我是视频处理的新手。感谢您的帮助。

【问题讨论】:

  • 好吧,你的意思是真实视频。你要解码还是编码?
  • RealVideo 4.0。只需要解码。

标签: video ffmpeg gstreamer decoding libavcodec


【解决方案1】:

ffmpeg 仅支持 Real Video 3.0/4.0 解码。它应该默认可用。 运行:ffmpeg -codecs | grep RealVideo。您应该得到如下输出:

ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 25 2013 15:16:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/llvm-gcc --host-cflags='-Os -w -pipe -march=core2 -msse4 -mmacosx-version-min=10.7' --host-ldflags=-L/usr/local/lib --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
 DEV D  rv10            RealVideo 1.0
 DEV D  rv20            RealVideo 2.0
 D V D  rv30            RealVideo 3.0
 D V D  rv40            RealVideo 4.0

如果您注意到 RealVideo 3.0 和 4.0 有可用的解码 (D) 选项。

【讨论】:

  • 谢谢。 FFMPEG 支持真实视频格式。但是当我在 Opencv 中使用 ffmpeg 作为视频 io 支持运行我的程序时,会发生以下错误:[rm @ 0x1982df80] Invalid stream index 2 for index at pos 21395702 video has 24088frames get sample position [rv40 @ 0x198e0b40] Internal错误,图片缓冲区溢出为什么?
猜你喜欢
  • 2010-12-01
  • 2014-05-21
  • 1970-01-01
  • 2017-06-22
  • 2019-07-12
  • 2012-06-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多