sn9c291 驱动加载成功,mpayer无法播放

45 篇文章 0 订阅

先目前将一个sn9c291+ov9712的模块驱动在fedora上加载成功,可是在使用mplayer却无法播放,不知道为何?



前后对比发现dev目录下多了video0,video1 设备节点已经出来,video1 是H264的节点





[root@localhost mplayer]# mplayer tv:// -tv driver=v4l2:width=1280:height=720:device=/dev/video1:outfmt=0x34363248 -fps 24
MPlayer SVN-r37243-4.4.4 (C) 2000-2014 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: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB 2.0 Camera
 Capabilities:  video capture  streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Current format: YUYV
==================================================================
 WARNING: UNTESTED OR UNKNOWN OUTPUT IMAGE FORMAT REQUESTED (0x34363248)
 This may cause buggy playback or program crash! Bug reports will
 be ignored! You should try again with YV12 (which is the default
 colorspace) and read the documentation!
==================================================================
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl streamon failed: No space left on device
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xb97a3a00] bicubic scaler, from yuyv422 to bgra using MMXEXT
VO: [x11] 640x480 => 640x480 BGRA 
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
[swscaler @ 0xb97a3a00] Warning: data is not aligned! This can lead to a speedloss
V:   0.0  31/ 31 ??% ??% ??,?% 0 0 




MPlayer interrupted by signal 11 in module: video_read_frame
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
[root@localhost mplayer]# mplayer tv:// -tv driver=v4l2:width=1280:height=720:device=/dev/video1:outfmt=0x34363248
MPlayer SVN-r37243-4.4.4 (C) 2000-2014 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: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB 2.0 Camera
 Capabilities:  video capture  streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Current format: unknown (0x34363248)
==================================================================
 WARNING: UNTESTED OR UNKNOWN OUTPUT IMAGE FORMAT REQUESTED (0x34363248)
 This may cause buggy playback or program crash! Bug reports will
 be ignored! You should try again with YV12 (which is the default
 colorspace) and read the documentation!
==================================================================
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl streamon failed: No space left on device
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.71.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
[h264 @ 0xb76089a0]no frame!
Error while decoding frame!
[h264 @ 0xb76089a0]no frame!
Error while decoding frame!
[h264 @ 0xb76089a0]no frame!
Error while decoding frame!
[h264 @ 0xb76089a0]no frame!
Error while decoding frame!
[h264 @ 0xb76089a0]no frame!
Error while decoding frame!
[h264 @ 0xb76089a0]no frame!


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值