w312860519 2016-09-26 09:35 采纳率: 50%
浏览 1215
已采纳

mplayer打开camera失败

大家好
我想要尝试用mplayer来打开camera,mplayer已经安装好,mplayer解码器也已经安装,可以打开 MP4类型的文件。
连接好手机,执行adb root, adb remount 都成功后,执行命令:
mplayer tv:// -tv driver=v4l2:device=/dev/video1
提示:
MPlayer 1.3.0-4.8 (C) 2000-2016 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski olschewski@zpr.uni-koeln.de
comment: first try, more to come ;-)
v4l2: unable to open '/dev/video1': No such file or directory
v4l2: ioctl set mute failed: Bad file descriptor
v4l2: 0 frames successfully processed, 0 frames dropped.
请问为什么会出现这个错误,应该怎么解决

  • 写回答

2条回答 默认 最新

  • 鱼弦 全栈领域优质创作者 2016-09-26 09:43
    关注

    没连接好或者驱动编译版本不对,重新编译这个执行文件试试

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
  • w312860519 2016-09-28 08:20
    关注

    找到原因了,是要在需要启动的系统上来安装mplayer,这样就可以了

    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥30 如何隐藏Tornado版本号
  • ¥15 PCL注册的选点等函数如何取消注册
  • ¥15 问一下各位,为什么我用蓝牙直接发送模拟输入的数据,接收端显示乱码呢,米思齐软件上usb串口显示正常的字符串呢?
  • ¥15 Python爬虫程序
  • ¥15 crypto 这种的应该怎么找flag?
  • ¥15 设计一个时序电路,使其状态按2421(B)循环,并能自启动
  • ¥15 代码已写好,求帮我指出错误,有偿!
  • ¥15 matlab+波形匹配算法
  • ¥15 转录组分析做聚类树图时癌旁组被分到了癌组
  • ¥15 大一Python字典