Jump to content

USB camera + S905W ( Armbian, Linux amlogic 4.9.40 )


alubian

Recommended Posts

I've installed Armbian on the SD card for X96mini ( 1GB/8GB ).

I only would like to get USB-cam video ( MJPEG/30FPS 1920x080 or 1280x720 ) to hdmi display.

 

But I don't know where to begin with the solving of some issues:

1) S905W should support 4x2GHz cores, but cpufreq-info "says", that 1,2GHz is max. possible clock frequency

2) if I start mplayer with -vo null the USB seems to be to slow. I've got max 10-20 fps. On the PC I get about 30 fps with 1920x1080. ( AUSDOM 620pro )

3) The less number of picture per seconds looks also not very good on tv screen ( very slow ). I tried with mplayer -vo fbdev

4) I've tried also under X11 with qv4l2 example. Compiled directly on this player -> also very slow.

 

Some, advices for arm-beginner? Thanx for your help.

 

Following kernel modules are installed ( lsmod )

Module                  Size  Used by
btrfs                1077248  0
xor                    20480  1 btrfs
raid6_pq              102400  1 btrfs
mali                  274432  0

Is "mali" an module for HW acceleration?

 

MPlayer 1.2.1 (Debian), built with gcc-5.4.0 (C) 2000-2016 MPlayer Team
Available video output drivers:
        vdpau   VDPAU with X11
        xv      X11/Xv
        gl_nosw OpenGL no software rendering
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        gl      OpenGL
        gl_tiled        X11 (OpenGL) - multiple textures version
        dga     DGA ( Direct Graphic Access V2.0 )
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        matrixview      MatrixView (OpenGL)
        aa      AAlib
        caca    libcaca
        v4l2    V4L2 MPEG Video Decoder Output
        directfb        Direct Framebuffer Device
        dfbmga  DirectFB / Matrox G200/G400/G450/G550
        null    Null video output
        xvmc    XVideo Motion Compensation
        mpegpes MPEG-PES to DVB card
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output
        tga     Targa output
        pnm     PPM/PGM/PGMYUV file
        md5sum  md5sum of each frame

Link to comment
Share on other sites

On 10/19/2018 at 3:58 PM, alubian said:

S905W should support 4x2GHz cores


To answer at least a part of your questions. Amlogic is cheating you - reality is this:
https://forum.armbian.com/topic/7042-amlogic-still-cheating-with-clockspeeds/?tab=comments#comment-53130

MALI is 3D engine. It doesn't help here. You need something else.

 

Link to comment
Share on other sites

Is there any chance to get smooth 30 frames per second ( min. 720p ) with the USB-camera on S905W ( 1.2 GHz )?

How to check if the USB performance is enough fast?  I mean: reading of the USB video stream without playing it.

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines