免费注册 查看新帖 |

Chinaunix

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

[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 |只看该作者
顶。。。。。

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
3 [报告]
发表于 2007-07-24 09:34 |只看该作者
没有太好的建议。

不过我用它的win32 portable版本,运行的那是相当地好。

论坛徽章:
0
4 [报告]
发表于 2007-07-24 10:54 |只看该作者
是用ports安装的,以前ports安装没什么问题。估计是版本的问题。

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
5 [报告]
发表于 2007-07-24 10:55 |只看该作者
可能。

自己编译的看看呢。

论坛徽章:
0
6 [报告]
发表于 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.

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
7 [报告]
发表于 2007-07-24 15:05 |只看该作者
更新下ports,
再用gmake试试,以前安装mplayer的时候,用gmake才过关。

论坛徽章:
0
8 [报告]
发表于 2007-07-24 15:33 |只看该作者
ports 已经更新到最新的了。gmake怎么用?

论坛徽章:
0
9 [报告]
发表于 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