Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals Forum Discussions

melody
Level 1
First question asked Welcome!
Level 1

hi,I use fx3 transfer video to PC with UVC.

my camera is 1920*720@30fps YUV2.

I updata cyfxuvcdscr.c file of AN75799.

0x10, /* X dimension of the picture aspect ratio; Non-interlaced */
0x06, /* Y dimension of the pictuer aspect ratio: Non-interlaced */

/* Class specific Uncompressed VS frame descriptor - 1 (720p) */
0x1E, /* Descriptor size */
0x24, /* Descriptor type*/
0x05, /* Subtype: uncompressed frame I/F */
UVC_SS_720P_FRAME_INDEX, /* Frame Descriptor Index */
0x02, /* Still image capture method 2 supported */
0x80, 0x07, /* Width in pixel: 1280*/
0xD0, 0x02, /* Height in pixel: 720 */
0x00,0x00,0x8D,0x27, /* Min bit rate bits/s - 1280*720*16*30 = 0x1a5e0000*/
0x00,0x00,0x8D,0x27, /* Max bit rate bits/s */
0x00,0x76,0x2F,0x00, /* Maximum video or still frame size in bytes(Deprecated)*/
0x15, 0x16, 0x05, 0x00, /* 30fps */
0x01,
0x15,0x16,0x05,0x00,

 

0x80, 0x07, /* Width in pixel - 1280 */
0xD0, 0x02, /* Height in pixel - 720 */

 

it works, PC can show video.

but 30fps is unstable, first is 30fps for seconds, and then down to 6fps  ,and up.but 81001KB is stable.

捕获.PNG捕获1.PNG

Please help,thanks!

0 Likes
1 Reply
Rashi_Vatsa
Moderator
Moderator 500 solutions authored 1000 replies posted 750 replies posted
Moderator

Hello,

Please let me know if you have made the modification in the probe control structure as well

Please refer to section 9.3 of AN75779. Also, please check if any commit buffer failures are seen while streaming.

Kindly refer to the trouble shooting section of AN75779

Regards,
Rashi
0 Likes