zoukankan      html  css  js  c++  java
  • sn9c291 驱动载入成功,mpayer无法播放

    先眼下将一个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!


  • 相关阅读:
    C++中函数模板template的使用
    C++中模板template和类class的结合使用
    Python中shuffle函数
    Python中利用tkinter模块构建图形用户界面GUI
    Python中怎样初始化一个类类class?
    Python中字典的has_key方法在3.4版本中改为in
    Python中怎样对数据集整体进行映射转换类型
    matlab中怎样对矩阵的某一列进行排序而使得其他列对应移动??
    Python中怎样使用shape计算矩阵的行和列
    27.反射2.md
  • 原文地址:https://www.cnblogs.com/mfrbuaa/p/5155756.html
Copyright © 2011-2022 走看看