Open MASTERTECH-AndreaRuberti opened 1 year ago
just as info... I receive only 2 len of pck in "video_stream_process_packet": 12B: Header 192B: ???
Never receive a greater pck!
Hi. Sorry, but have not worked with UVC a long time so I can't help you.
Hi, Thanks for your replay... please... just last question. Now I'm able to start the video transfer, but performence too poor:
About mjpeg I nead to understand how M7 could be slower than Cortex M4 ??? (to be honest I also need to investigate on external ram timing).
But what it's really strange is the 5fps on uncompress video. The bottleneck seams to be the video pck send by the camera "USBH_LL_GetLastXferSize" always return 192Byte) The Logitech camera shoud be the same... so your pck size was 192Byte or 1024 Byte???
Many thanks for your help kindly regards Andrea
"The Logitech camera shoud be the same... so your pck size was 192Byte or 1024 Byte???" Sorry, I can't remember that.
192bThis reduce a lot the frame rate(max 5fps with uncompress video). I can't understand the reason, but it is.Thanks AndreaIl 16 feb 2023 08:58, iliasam @.***> ha scritto: "The Logitech camera shoud be the same... so your pck size was 192Byte or 1024 Byte???" Sorry, I can't remember that.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Hi iliasam, just now thanks for your project... during my porting I meet some diffilculty, but still now I can't understard what is exactly the problem... maybe you can easly found the mistake.
My Configuration:
HW:
Project changes
(hhcd->hc[ch_num].ep_type == EP_TYPE_ISOC))
fix already present in the HAL version!ISSUES:
usbh_video.c
=if ((ep_size > ep_size_in) && (ep_size < UVC_RX_FIFO_SIZE_LIMIT))
->if ((ep_size > ep_size_in) && (ep_size <= UVC_RX_FIFO_SIZE_LIMIT))
: "epsize" for my CAM is always 1024!!! ***(Have you ever notice this _problem???)***uvc_prev_packet_eof
never goes to 1: conditionif (tmp_packet_framebuffer[UVC_HEADER_BIT_FIELD_POS] & UVC_HEADER_EOF_BIT)
never happend.Many thanks again for your project. Andrea