avafinger

Results 361 comments of 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-1](https://user-images.githubusercontent.com/16623039/136863407-590eeadf-3066-49c5-8692-da2d382defa5.png) frame 4 ![frame-4](https://user-images.githubusercontent.com/16623039/136863423-381f8274-5ed6-4523-bcd8-35ee4e748475.png) frame 5 ![frame-5](https://user-images.githubusercontent.com/16623039/136863442-44b545bf-2db8-4cd6-98c4-8dc4cdc8c7dd.png)

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...