linux运行ffmpeg报错

tansitao110 2016-01-12 05:29:24
我想在linux(redhat)上运行ffmpeg将3gp视频转换为MP4文件,运行报错如下,求大神帮帮忙分析一下


[root@iZ285f2kz6jZ 337]# ffmpeg -y -f video4linux2 -s 640x480 -r 30 -b 10000000 -i /alidata/upload/creditkeeper/337/20160106151738.3gp -vcodec mpeg4 test.mp4
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 12 2016 14:32:05 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
configuration: --enable-shared --prefix=/usr/local/ffmpeg
WARNING: library configuration mismatch
avutil configuration: --enable-shared --disable-yasm --prefix=/usr/local/ffmpeg
avcodec configuration: --enable-shared --disable-yasm --prefix=/usr/local/ffmpeg
avformat configuration: --enable-shared --disable-yasm --prefix=/usr/local/ffmpeg
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
Please use -b:a or -b:v, -b is ambiguous
[video4linux2,v4l2 @ 0x1c5da60] ioctl(VIDIOC_QUERYCAP): Inappropriate ioctl for device
/alidata/upload/creditkeeper/337/20160106151738.3gp: Inappropriate ioctl for device
...全文
305 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
pcboyxhy 2016-01-12
  • 打赏
  • 举报
回复
video4linux2是干什么的?从摄像头采集的数据吗 试试这个

ffmpeg -i "x.3gp" -sameq -acodec copy  test.mp4

18,773

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧