pacman -S libvdpau-va-gl 安装后
mplayer -tv driver=v4l2:width=630:height=360: tv:// -geometry "30%:60%" -noborder -ontop -slave -quiet -vf screenshot 0
出现如下错误。原来是可以打开摄像头的
_________________________________________________________________
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
Could not find a UTF-8 locale,
character keys beyond Latin-1 will not be handled.
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x55eff6546780] bicubic scaler, from yuyv422 to rgb24 using MMXEXT
VO: [vdpau] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
libvdpau-va-gl: VideoSurface::PutBitsYCbCr_glsl(): not implemented source YCbCr format 'VDP_YCBCR_FORMAT_YUYV'
[vdpau] Error when calling vdp_video_surface_put_bits_y_cb_cr: VDP_STATUS_INVALID_Y_CB_CR_FORMAT
MPlayer interrupted by signal 11 in module: filter_video
- 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.
./1.sh:行 1: 1866 段错误 (核心已转储)mplayer -tv driver=v4l2:width=640:height=480: tv:// -geometry "50%:50%" -noborder -ontop -slave -quiet -vf screenshot 0
mplayer -tv driver=v4l2:width=630:height=360: tv:// -geometry "30%:60%" -noborder -ontop -slave -quiet -vf screenshot 0
出现如下错误。原来是可以打开摄像头的
_________________________________________________________________
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
Could not find a UTF-8 locale,
character keys beyond Latin-1 will not be handled.
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x55eff6546780] bicubic scaler, from yuyv422 to rgb24 using MMXEXT
VO: [vdpau] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
libvdpau-va-gl: VideoSurface::PutBitsYCbCr_glsl(): not implemented source YCbCr format 'VDP_YCBCR_FORMAT_YUYV'
[vdpau] Error when calling vdp_video_surface_put_bits_y_cb_cr: VDP_STATUS_INVALID_Y_CB_CR_FORMAT
MPlayer interrupted by signal 11 in module: filter_video
- 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.
./1.sh:行 1: 1866 段错误 (核心已转储)mplayer -tv driver=v4l2:width=640:height=480: tv:// -geometry "50%:50%" -noborder -ontop -slave -quiet -vf screenshot 0