NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56115: uvideo does not work on rpi4



On 2021/04/18 16:34, Robert Swindells wrote:
> 
> sc.dying%gmail.com@localhost wrote:
>>
>> My webcams that work on NetBSD-current/amd64 with Intel chipset
>> do not work on rpi4. mplayer shows simple black window.
>>
>> % mplayer tv://
> 
> Maybe try some different options to mplayer:
> 
> % mplayer tv:// -tv driver=v4l2:device=/dev/video0 -fps 5
> 
> Start with a low value for the -fps parameter then try increasing it.
> 
> I also have some local patches to multimedia/mplayer for v4l2 detection.
> 

Thank you for the information, but got same result.

% mplayer tv:// -tv driver=v4l2:device=/dev/video0 -fps 5
/usr/pkg/lib/ffmpeg4/libavcodec.so.58: text relocations
MPlayer 1.4-8.3.0 (C) 2000-2019 MPlayer Team
225 audio & 465 video codecs

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski%zpr.uni-koeln.de@localhost>
 comment: first try, more to come ;-)
Selected device: Etron Technology, Inc. (0x056e)
 Capabilities:  video capture  read/write  streaming
 supported norms: 0 = webcam;
 inputs: 0 = Camera;
 Current input: 0
 Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
Xlib:  extension "XFree86-VidModeExtension" missing on display "xserver:1".
[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.
==========================================================================
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 @ 0xfe87eac28fc0] bicubic scaler, from yuyv422 to bgra using C
VO: [x11] 640x480 => 640x480 BGRA
Shared memory not supported
Reverting to normal Xlib
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
v4l2: select timeout
Audio: no sound
FPS forced to be 5.000  (ftime: 0.200).
Starting playback...
v4l2: select timeout
v4l2: select timeout
v4l2: select timeout
v4l2: select timeout


MPlayer interrupted by signal 2 in module: filter_video
v4l2: select failed: Interrupted system call
v4l2: select timeout
v4l2: select timeout


MPlayer interrupted by signal 2 in module: filter_video


Home | Main Index | Thread Index | Old Index