免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3428 | 回复: 5
打印 上一主题 下一主题

[FreeBSD] 急::freebsd下ffmpeg 错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-24 00:24 |显示全部楼层 |倒序浏览
用 ffmpeg 给视频截图时发生错误,不知道如何搞。

www# ffmpeg -i /usr/local/www/data/wwwroot/video/200707/9_20070723173324.flv -y -f image2 -ss 8 -sameq -t 0.001 -s 320x240 /usr/local/www/data/wwwroot/video/200707/9_20070723173324.jpg
FFmpeg version SVN-r9153, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --cc=cc --prefix=/usr/local --make=gmake --disable-debug --enable-memalign-hack --enable-shared --enable-pp --extra-cflags=-fPIC -DPIC -O2 -fno-strict-aliasing -pipe  -I/usr/local/include --extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --enable-gpl --enable-pthreads --enable-swscaler --enable-liba52 --enable-liba52bin --enable-libfaac --enable-libfaad --enable-libfaadbin --disable-mmx --enable-libmp3lame --enable-libogg --disable-ffplay --enable-libvorbis --enable-x264 --enable-xvid
  libavutil version: 49.4.0
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
  built on Jul 24 2007 00:16:42, gcc: 3.4.6 [FreeBSD] 20060305

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 12.00 (12/1)
Input #0, flv, from '/usr/local/www/data/wwwroot/video/200707/9_20070723173324.flv':
  Duration: 00:00:17.8, start: 0.000000, bitrate: 56 kb/s
  Stream #0.0: Video: flv, yuv420p, 480x360, 12.00 fps(r)
  Stream #0.1: Audio: mp3, 22050 Hz, mono, 56 kb/s
Segmentation fault (core dumped)

是那个地方的原因呢?

论坛徽章:
0
2 [报告]
发表于 2007-07-24 09:30 |显示全部楼层
顶。。。。。

论坛徽章:
0
3 [报告]
发表于 2007-07-24 10:54 |显示全部楼层
是用ports安装的,以前ports安装没什么问题。估计是版本的问题。

论坛徽章:
0
4 [报告]
发表于 2007-07-24 14:28 |显示全部楼层
自己编译,一点也过不去。make不出来。
www# make
"Makefile", line 27: Missing dependency operator
"Makefile", line 29: Need an operator
"Makefile", line 31: Need an operator
"Makefile", line 63: Missing dependency operator
"Makefile", line 66: Need an operator
"Makefile", line 74: Missing dependency operator
"Makefile", line 76: Need an operator
"Makefile", line 77: Missing dependency operator
"Makefile", line 78: warning: duplicate script for target "ifeq" ignored
"Makefile", line 78: warning: duplicate script for target "(,yes)" ignored
"Makefile", line 79: Need an operator
"Makefile", line 95: Missing dependency operator
"Makefile", line 97: Need an operator
Error expanding embedded variable.

论坛徽章:
0
5 [报告]
发表于 2007-07-24 15:33 |显示全部楼层
ports 已经更新到最新的了。gmake怎么用?

论坛徽章:
0
6 [报告]
发表于 2007-07-24 16:46 |显示全部楼层
搞定了,手动编译的。得用gmake 来编译。。gmake  gmake install
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP