fx3-video format change using guid in descriptor

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

cross mob
newton_inc
Level 1
Level 1
10 sign-ins 5 sign-ins First solution authored

Hi team,

I'm using fx3 to stream video data from fpga to pc using vlc. i have used rgb888 and yuy2 format,  both have worked. as thier guid is mentioend in the descripor files of the example projects. My doubt is as follows , what is the values mentioned in (?), what does it correspond to 

0x59,0x55,0x59,0x32, /* GUID used to identify streaming-encoding format: YUY2 */  --> available from 4cc website
0x00,0x00,0x10,0x00,     -->(?)   what does this mean, 
0x80,0x00,0x00,0xAA,     -->(?)   what does this mean, 
0x00,0x38,0x9B,0x71,   --> (?) what does this mean, 
0x10, /* Number of bits per pixel used to specify color in the decoded video frame.

AND

0x7D, 0xEB, 0x36, 0xE4, /* RGB888 GUID: E436EB7D-524F-11CE-9F53-0020AF0BA770 */ --> available from 4cc website
0x4F, 0x52, 0xCE, 0x11,  -->(?)   what does this mean, 
0x9F, 0x53, 0x00, 0x20, -->(?)   what does this mean, 
0xAF, 0x0B, 0xA7, 0x70,-> (?) what does this mean, 
0x18, /* Number of bits per pixel: 24 */

Also,

i want to stream Y8 and Y16 format   (i.e for y8--->640*480*1 and y16--->640*480*2, no U&V),

i did get the codec for y8 and y16 format from 4cc website,

does cypressfx3 support sending such format, and if yes, can u please tell me what values to include in the (?) regions

0x59,0x31,0x36,0x20, /* Y16 format */  --> available from 4cc website
0x00,0x00,0x00,0x00,     -->(?)   what to add, 
0x00,0x00,0x00,0x00,     -->(?)   what to add, 
0x00,0x00,0x00,0x00,   --> (?) what to add, 
0x10, /* Number of bits per pixel used to specify color in the decoded video frame.

lastly, where can i find MEDIASUBTYPE for diferent guid format.

-Thanks

0 Likes
1 Solution
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi,

The 16 bytes together give the GUID for a particular Media Type. You can refer to the Media SubTypes and their GUID in the following link:https://docs.microsoft.com/en-us/windows/win32/wmformat/media-type-identifiers

Please look at the thread below for details on GUID for Y8 and Y16 media types.
https://community.infineon.com/t5/USB-superspeed-peripherals/RAW-mono-data-streaming-from-FX3/td-p/3...

Best Regards,
AliAsgar

View solution in original post

4 Replies
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi,

The 16 bytes together give the GUID for a particular Media Type. You can refer to the Media SubTypes and their GUID in the following link:https://docs.microsoft.com/en-us/windows/win32/wmformat/media-type-identifiers

Please look at the thread below for details on GUID for Y8 and Y16 media types.
https://community.infineon.com/t5/USB-superspeed-peripherals/RAW-mono-data-streaming-from-FX3/td-p/3...

Best Regards,
AliAsgar

newton_inc
Level 1
Level 1
10 sign-ins 5 sign-ins First solution authored

Hi,

Thanks for links which contains the guid's, it solved by doubts regarding  guid, i was able to do the required modifications and used fx3 to send  y16 frames from Fpga to pc, it did not work on windows, but it did work on linux (displaying data). 

-Thanks

0 Likes
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi,

Do you have any further queries?

Best Regards,
AliAsgar

0 Likes
newton_inc
Level 1
Level 1
10 sign-ins 5 sign-ins First solution authored

Hi, my doubts are cleared till now

-Thanks

0 Likes