avafinger
avafinger
This is sunxi code. disable SUNXI and other nonrelated platforms and try again: `# CONFIG_ARCH_SUNXI is not set`
> But it gets stucked when booting, after uboot prints "Starting kernel..." nothing else is displayed on console. Typical message when you have the wrong kernel config for your board...
I found out if i encode only one frame I don't get broken horizontal lines.
Some additional info: * the first 4 frames are clean * from frame 5 onwards, frames are corrupt (H264,H265,VP8) frame 1  frame 4  frame 5 
Chip: RK3568 Kernel: 4.19 Camera: h264 usb sensor AR0330 PS: Decoding H264 to I420 works, encoding has the limitation, works always for the first 4 frames.
@HermanChen I tried to reproduce the error with the same setup on RK3399 but the kernel crashed badly while encoding and the board rebooted. Tested with various kernels on rk3399,...
@HermanChen Just in time, I rebuilt the same kernel on rk3399 and used the same setup, **it works for RK3399**!
I tested the kernel 4.19.161 (rockchip developers) on rk3399 which detects my ov4689 and throws a lot of kernel messages and put the kernel in a halt state sensor ov4689...
@HermanChen I would like to add this info to not confuse you (there are two different issues): 1. Grabbing YUV (200 frames) and encode it to H264 / H265 works...
@HermanChen Please, note that the size 1920x1080 is the reason for the kernel crash! **Works:** `sudo mpi_enc_test -i /dev/video0 -f 0 -w 1280 -h 720 -o out_250.h264 -t 7 -n...