I’m making application that will stream jpeg images. It works fine on TX2 but on Xavier AGX I getting corrupted frames. Looks like jpeg size is broken or jpeg encoder didn’t complete the frame. I made small example that demonstrate the issue: it makes frames with random lines, converts yuv422 to yuv420, encodes it to jpeg, sends over HTTP and saving to local file. In browser you will see that image height changes. In saved files you will see that jpeg-s are broken:
I’m using JP 4.6.1 and L4T 32.7.1
To reproduce the issue:
run ./main_http_jpg --port 5555 --max_size 640 --quality 75
main_http_jpg.cpp (5.0 KB)
and open test.html in browser on the xavier
test.html (1.4 KB)