Bug#890918: mpv produces the image with numerous complaints.
Package: mpv
Version: 0.23.0-2+deb9u2
Severity: normal
Tags: upstream
Dear Maintainer,
* What led up to the situation?
Display of output from a Logitech camera
M/N: V-U0006
P/N: 860-000177
PID: LZ944BN
* What exactly did you do (or not do) that was effective (or ineffective)?
Connected USB and executed "mpv tv:// --tv-device=/dev/video0"
on two similar systems, imager and dalton. Transcripts appended.
Note the differences from the same procedure on two almost idential
systems. Eg.
[tv] Current format: YUYV
versus
[tv] Current format: MJPEG
* What was the outcome of this action?
The images appeared with numerous complaints. Eg.
[tv] ioctl enum norm failed: Inappropriate ioctl for device
[tv] Error: Cannot set norm!
* What outcome did you expect instead?
A concise and tidy report to the terminal with no complaints, errors or warnings.
In the present state, the software is not good release quality.
-- System Information:
Debian Release: 9.3
APT prefers stable
APT policy: (900, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mpv depends on:
ii libasound2 1.1.3-5
ii libass5 1:0.13.4-2
ii libavcodec57 7:3.2.10-1~deb9u1
ii libavdevice57 7:3.2.10-1~deb9u1
ii libavfilter6 7:3.2.10-1~deb9u1
ii libavformat57 7:3.2.10-1~deb9u1
ii libavutil55 7:3.2.10-1~deb9u1
ii libbluray1 1:0.9.3-3
ii libc6 2.24-11+deb9u1
ii libcdio-cdda1 0.83-4.3+b1
ii libcdio-paranoia1 0.83-4.3+b1
ii libcdio13 0.83-4.3+b1
ii libdrm2 2.4.74-1
ii libdvdnav4 5.0.3-3
ii libdvdread4 5.0.3-2
ii libegl1-mesa [libegl1-x11] 13.0.6-1+b2
ii libgbm1 13.0.6-1+b2
ii libgl1-mesa-glx [libgl1] 13.0.6-1+b2
ii libjack-jackd2-0 [libjack-0.125] 1.9.10+20150825git1ed50c92~dfsg-5
ii libjpeg62-turbo 1:1.5.1-2
ii liblcms2-2 2.8-4
ii liblua5.2-0 5.2.4-1.1+b2
ii libpulse0 10.0-1+deb9u1
ii librubberband2 1.8.1-7
ii libsdl2-2.0-0 2.0.5+dfsg1-2
ii libsmbclient 2:4.5.12+dfsg-2+deb9u1
ii libsndio6.1 1.1.0-3
ii libswresample2 7:3.2.10-1~deb9u1
ii libswscale4 7:3.2.10-1~deb9u1
ii libv4l-0 1.12.3-1
ii libva-drm1 1.7.3-2
ii libva-wayland1 1.7.3-2
ii libva-x11-1 1.7.3-2
ii libva1 1.7.3-2
ii libvdpau1 1.1.1-6
ii libwayland-client0 1.12.0-1
ii libwayland-cursor0 1.12.0-1
ii libwayland-egl1-mesa [libwayland-egl1] 13.0.6-1+b2
ii libx11-6 2:1.6.4-3
ii libxext6 2:1.3.3-1+b2
ii libxinerama1 2:1.1.3-1+b3
ii libxkbcommon0 0.7.1-2~deb9u1
ii libxrandr2 2:1.5.1-1
ii libxss1 1:1.2.2-1
ii libxv1 2:1.0.11-1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages mpv recommends:
ii xdg-utils 1.1.1-1
ii youtube-dl 2017.05.18.1-1
mpv suggests no packages.
-- no debconf information
peter@imager:~$ mpv tv:// --tv-device=/dev/video0
Playing: tv://
[tv] Selected driver: v4l2
[tv] name: Video 4 Linux 2 input
[tv] your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
[tv] Selected device: UVC Camera (046d:0807)
[tv] Capabilities: video capture read/write streaming
[tv] supported norms:
[tv] inputs: 0 = Camera 1;
[tv] Current input: 0
[tv] Current format: YUYV
[tv] tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
[tv] ioctl enum norm failed: Inappropriate ioctl for device
[tv] Error: Cannot set norm!
[tv] Selected input hasn't got a tuner!
[tv] ioctl set mute failed: Invalid argument
[tv] ioctl query control failed: Invalid argument
(+) Video --vid=1 (rawvideo)
[vo/opengl] At least OpenGL 2.1 or OpenGL ES 2.0 required.
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/i915_drv_video.so
libva info: va_openDriver() returns -1
libvdpau-va-gl: Device::Resource::Resource(): gl error 1280
[vo/vdpau] Error when calling vdp_device_create_x11: 25
[vo/xv] Warning: this legacy VO has bad quality and performance, and will in particular result in blurry OSD and subtitles. You should fix your graphics drivers, or not force the xv VO.
Using conversion filter.
[ffmpeg] swscaler: Warning: data is not aligned! This can lead to a speedloss
VO: [xv] 640x480 yuyv422
V: 00:00:00
Invalid video timestamp: 0.000000 -> 0.000000
V: 00:00:00
[vo/xv] X11 can't keep up! Waiting for XShm completion events...
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
[tv] ioctl set mute failed: Invalid argument
[tv] 300 frames successfully processed, 47 frames dropped.
Exiting... (Quit)
peter@imager:~$
peter@dalton:~$ mpv tv:// --tv-device=/dev/video1
Playing: tv://
[tv] Selected driver: v4l2
[tv] name: Video 4 Linux 2 input
[tv] your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
[tv] Selected device: UVC Camera (046d:0807)
[tv] Capabilities: video capture read/write streaming
[tv] supported norms:
[tv] inputs: 0 = Camera 1;
[tv] Current input: 0
[tv] Current format: MJPEG
[tv] tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
[tv] ioctl enum norm failed: Inappropriate ioctl for device
[tv] Error: Cannot set norm!
[tv] Selected input hasn't got a tuner!
[tv] ioctl set mute failed: Invalid argument
[tv] ioctl query control failed: Invalid argument
(+) Video --vid=1 (rawvideo)
VO: [opengl] 640x480 yuv420p
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
[tv] ioctl set mute failed: Invalid argument
[tv] 219 frames successfully processed, 441 frames dropped.
Exiting... (Quit)
peter@dalton:~$
--
123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202 Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html Bcc: peter at easthope. ca
Reply to: