ウェブカメラ - xawtvとmplayer

ウェブカメラ - xawtvとmplayer

みんな、

奇妙な問題が発生しました。私はThinkpad t430でDebian Stretchを実行しています。統合Webカメラを使用してビデオをキャプチャしようとするとき

xawtv -c /dev/video0

私が発行したときより

mplayer tv://

私が得るエラーは、

--> mplayer tv://
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <[email protected]>
 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: Integrated Camera
 Capabilities:  video capture  streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Current format: YUYV
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 640x480 => 640x480 Packed YUY2 
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout
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.
 [ This binary of MPlayer in Debian is currently compiled with
   '--enable-debug'; the debugging symbols are in the package
   'mplayer-dbgsym'.]

上記のエラーでmplayerがクラッシュする理由を説明できる人がいますが、xawtvでこれを表示できますか?

問題のデバッグと解決にご協力いただきありがとうございます。

私は持っていますビデオ4 Linux 2(v4l2)debianstretchに付属のデフォルトカーネルをインストールして実行し、最新バージョンにアップデートしてください。apt

v4l2-ctl --list-devicesの言葉は:

Integrated Camera (usb-0000:00:1a.0-1.6):
/dev/video0

ベストアンサー1

ああ!

この問題は消えた

primusrun mplayer tv://

私が理解したのは、mplayerを使用するには、統合Intelグラフィックと一緒に私のラップトップにNVIDIAカードが必要です。私の問題は今opencvで動作させることです!

とにかく関心を持って作業してくださった/助けてくださった方々に感謝します。

おすすめ記事