ubobrov

  • Content Count

    19
  • Joined

  • Last visited

1 Follower

About ubobrov

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. None of these images work on H5. Unfortunetely, encoder doesn't work on H5
  2. Here are the Armbian bionic images with installed RTSP streamer using H264 HW encoding on Allwinner H3 boards Orange Pi One Orange Pi Zero Images are able to run on any board with Allwinner H3
  3. Your problem is in Pi Zero's memory. To make driver loaded without errors you should load it on startup. #! /bin/sh ### BEGIN INIT INFO # Provides: cedrus # Required-Start: $syslog # Required-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO /sbin/insmod /lib/modules/sunxi_cedar.ko exit 0
  4. Decoding H264 and X11 rendering using vdpau_sunxi, libcedrus, kernel 4.20.17, mpv, vncserver and Armbian Bionic on Orange PI Zero libvdpau: https://github.com/uboborov/libvdpau-sunxi-H3.git libcedrus: https://github.com/uboborov/libcedrus-H3.git cedar_dev: https://github.com/uboborov/sunxi-cedar-mainline.git mpv, ffmpeg, x11 installed using apt It works extremely slow but it's just a beginning ) video: https://www.youtube.com/watch?v=9O7L_kaEDdk UPD: video on Orange PI One 1280x720 HDMI (works pretty fine) https://www.youtube.com/watc
  5. i can't tell you anything about 5x kernel. i haven't tested it yet.
  6. that happens because of the kernel you're using. be careful with the node: reserved-memory { #address-cells = <1>; #size-cells = <1>; ranges; cma_pool: cma@43c00000 { compatible = "shared-dma-pool"; reusable; reg = <0x43c00000 0x6000000>; linux,cma-default; }; }; it should look like above. to check everything is alright with the CMA, you should check CMA on kernel boot: dmesg | grep CMA [ 0.000000] Reserved memory: created CMA memory pool at 0x43c00000, size 96 MiB it must look like above good luck
  7. check what u-boot prints on boot, check your boot.cmd content from which you've made boot.scr
  8. Here the step-by-step instruction how to build and test the encoder from scratch on Orange PI zero board it has been written and tested today.
  9. i don't know what you should use. i can only tell you what i use. everything except ffmpeg and libvdpau-sunxi i build on Linux 4.15.0-70-generic #79~16.04.1-Ubuntu SMP Tue Nov 12 14:01:10 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) 4.7.3 20130328 (prerelease) 4.3.3 ffmpeg and libvdpau-sunxi i build on the target device (orange pi zero or pc in my case) Linux gateway 4.20.17 #3 SMP Tue Nov 12 17:19:54 MSK 2019 armv7l GNU/Linux gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 BOARD=orangepizero
  10. i have never bump into building error of the ffmpeg on armbian+orange pi pc or pi zero. as far as i heard some errors could appear because of memory lack on the building host. i recommend you to try configure ffmpeg with --disable-static --enable-shared options to reduce memory usage during linkage.
  11. i can't figure out what your problem in. i do almost the same except the os and everything goes alright. take a look at this:
  12. perhaps you have lost some steps on building ffmpeg or done something wrong. on the target device: git clone https://github.com/stulluk/FFmpeg-Cedrus.git git clone https://github.com/uboborov/ffmpeg_h264_H3.git cp /root/ffmpeg_h264_H3/cedrus264.c /root/FFmpeg-Cedrus/libavcodec/cedrus264.c cp -R /root/ffmpeg_h264_H3/sunxi /root/FFmpeg-Cedrus/libavcodec/arm apt-get install libpulse-dev libv4l-dev libmp3lame-dev libx264-dev cd FFmpeg-Cedrus ./configure --prefix=/usr --enable-nonfree --enable-gpl --enable-version3 --enable-vdpau --enable-libx264 --enable-libmp3lame --enable-libpulse --enabl
  13. i build ffmpeg and libvdpau-sunxi on the target device. kernel and other tools i build on the host machine. i build kernel without modules. all drivers are builtin for my tests i use the armbian image on the SD card. i simply copy the kernel (zImage), device tree blob (dtb) and customized boot script (boot.scr) to the /boot folder on the SD and reboot the board boot script (script.cmd) looks like that: setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 load mmc 0:1 0x43000000 /boot/sun8i-h2-plus-orangepi-zero-4.20.17.dtb load mmc 0:1 0x42000
  14. actually it's not mine. i've just adjusted it to run on 4.x kernel. the encoder supports baseline profile only.
  15. it's not implemented in v4l2-request and VAAPI but it is perfectly implemented on using old cedrus driver and mainline linux-4.20.17