Bug#890918: Re (2): Bug#890918: mpv produces the image with numerous complaints.
From: James CowgillDate: Wed, 21 Feb 2018 10:28:30 + > You tagged the bug "upstream". This tag usually means that the bug is > known to be in upstream mpv. How do you know this? My intended meaning was that the report probably has relevance outside Debian. So I misunderstood the use of the upstream tag. > I don't know what "imager" and "dalton" mean. Do they have identical > versions of mpv and identical kernels (probably the 2 most important > bits here)? Dalton has an Asus badge and a Foxcon system board. Imager is a Dell Dimension 2400. Both have stock debian 9 with package installation by routine application of apt-get and aptitude. Imager has some configuration files not in dalton. > Does ffmpeg's v4l2 support work better? > mpv -v av://v4l2:/dev/video0 Much better. For dalton, the textual output is almost all green with a few lines in white. Red text appears only when the live video window is closed to exit. For imager, a few lines are problematic. ... [vo/opengl] At least OpenGL 2.1 or OpenGL ES 2.0 required. ... [vo/vdpau] Error when calling vdp_device_create_x11: 25 ... [vo/xv] Warning: this legacy VO has bad quality and performance, ... ... [cplayer] Invalid video timestamp: 1.221889 -> -4167.930372 Is an opengl dependancy not provided? VO = Video Output ? mpv wants a better display? The system clock is right. What is the problem in the timestamp? Actually I tried "mpv -v --display=:0 av://v4l2:/dev/video0", learned that "--display=:0" isn't accepted and fell back to invocation from an LXTerminal. > Does your webcam actually play in mpv? Is it just the log messages that > bother you? Live video was always produced but the messages raised suspicion that output was sub-optimal. So the messages were the primary concern. But really I wasn't using mpv as currently intended. Transcripts follow. The questions above are my only immediate concerns. If you decide to close the report, I have no objection. Next will return to a Hauppauge frame grabber. Thanks,... Peter E. peter@dalton:~$ mpv -v av://v4l2:/dev/video0 [cplayer] Command line options: '-v' 'av://v4l2:/dev/video0' [cplayer] mpv 0.23.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects [cplayer] built on UNKNOWN [cplayer] ffmpeg library versions: [cplayer]libavutil 55.34.101 [cplayer]libavcodec 57.64.101 [cplayer]libavformat 57.56.101 [cplayer]libswscale 4.2.100 [cplayer]libavfilter 6.65.100 [cplayer]libswresample 2.3.100 [cplayer] ffmpeg version: 3.2.10-1~deb9u1 [cplayer] [cplayer] Configuration: ./waf configure --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --confdir=/etc/mpv --zshdir=/usr/share/zsh/vendor-completions --enable-cdda --enable-sdl2 --enable-sndio --enable-zsh-comp --enable-libmpv-shared --enable-encoding --disable-build-date [cplayer] List of enabled features: alsa any-gl asm atomics audio-input avcodec-chroma-pos-api avframe-metadata avframe-skip-samples avutil-mastering-metadata c11-tls cdda cplayer debug-build dlopen drm dvbin dvdnav dvdread egl-drm egl-helpers egl-x11 encoding fchmod gbm gbm.h gcc-tls gl gl-wayland gl-x11 glibc-thread-name glob gnuc iconv jack jpeg lcms2 libass libass-osd libav libavdevice libavfilter libbluray libdl libm libmpv-shared librt libsmbclient libswresample libv4l2 linux-fstatfs lua nanosleep optimize oss-audio oss-audio-native plain-gl posix posix-or-mingw posix-spawn pthreads pulse resampler rubberband sdl2 shm sndio sse4-intrinsics standard-gl stdatomic subprocess termios tv tv-v4l2 vaapi vaapi-drm vaapi-egl vaapi-glx vaapi-hwaccel vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vdpau-hwaccel videodev vt.h wayland x11 xext xinerama xrandr xss xv zlib zsh-comp [global] config path: '' -> '/home/peter/.config/mpv' [global] config path: 'mpv.conf' -/-> '/home/peter/.config/mpv/mpv.conf' [global] config path: 'config' -/-> '/home/peter/.config/mpv/config' [global] config path: 'mpv.conf' -/-> '/home/peter/.mpv/mpv.conf' [global] config path: 'config' -/-> '/home/peter/.mpv/config' [global] config path: 'mpv.conf' -/-> '/etc/mpv/mpv.conf' [global] config path: 'config' -/-> '/etc/mpv/config' [cplayer] Setting option 'v' = '' (flags = 8) [global] config path: 'input.conf' -/-> '/home/peter/.config/mpv/input.conf' [global] config path: 'input.conf' -/-> '/home/peter/.mpv/input.conf' [global] config path: 'input.conf' -/-> '/etc/mpv/input.conf' [osc] Loading script @osc.lua... [global] config path: 'scripts' -/-> '/home/peter/.config/mpv/scripts' [global] config path: 'scripts' -/-> '/home/peter/.mpv/scripts' [global] config path: 'scripts' -/-> '/etc/mpv/scripts' [osc] loading mp.defaults [osc] loading @osc.lua [global] config path: 'lua-settings/osc.conf' -/-> '/home/peter/.config/mpv/lua-settings/osc.conf' [global] config path: 'lua-settings/osc.conf' -/-> '/home/peter/.mpv/lua-settings/osc.conf' [global] config path:
Bug#890918: mpv produces the image with numerous complaints.
Control: tags -1 moreinfo Hi, On 20/02/18 16:30, pe...@easthope.ca wrote: > Package: mpv > Version: 0.23.0-2+deb9u2 > Severity: normal > Tags: upstream You tagged the bug "upstream". This tag usually means that the bug is known to be in upstream mpv. How do you know this? > 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. Does ffmpeg's v4l2 support work better? mpv -v av://v4l2:/dev/video0 I should point out that all the code for tv:// has been removed in upstream mpv, so if this is a bug in mpv, it is unlikely to be fixed (upstream now tells you to use the av:// form above). I don't know what "imager" and "dalton" mean. Do they have identical versions of mpv and identical kernels (probably the 2 most important bits here)? Please recreate the transcripts with the -v option to get more verbosity. Testing with newer kernels and mpv versions would be helpful, but this might be a bit harder. > 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. Does your webcam actually play in mpv? Is it just the log messages that bother you? Thanks, James signature.asc Description: OpenPGP digital signature
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 libavcodec577:3.2.10-1~deb9u1 ii libavdevice57 7:3.2.10-1~deb9u1 ii libavfilter67: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 libsmbclient2: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-01.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-62:1.6.4-3 ii libxext62:1.3.3-1+b2 ii libxinerama12: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