Does VLC or anyother player needs header for RGB888?

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

cross mob
SaLa_1789541
Level 3
Level 3
5 likes given First like given

Hello Everyone,

I am using FX3 for taking RGB888 data from FPGA, Now i have a doubt that the video frames coming in RGB888 format can it be played directly in VLC or any other player without giving and header to it. I am just taking FPGA data and throwing it to UVC device created from FX3?

And If header is required what format does it require?

Please help ASAP

Thanks

0 Likes
1 Solution

Hi,

Yes, you can play YUV 422( it can also referred as ycbcr 422) in VLC or e-cam.

Yes, you need to add header either in FPGA or in FX3. You can see that we are adding header in DMA Call back -> Producer event in AN75779 App note firmware.

Regards,

Anil Srinivas.

View solution in original post

0 Likes
5 Replies
alamandaa_16
Moderator
Moderator
Moderator
10 likes received First like received

Hi Sagar Lakhani,

In UVC application, the source code file :cyfxuvcdscr.c has a section of " Class specific Uncompressed VS format descriptor" . In this section, there is a 16-byte GUID values.you can change 16-byte GUID values to corresponding your Video Stream format RGB24.

RGB24 16 Byte GUID value---e436eb7d-524f-11ce-9f53-0020af0ba770

0x7D,0xEB,0x36,0xE4,

0xCE,0x11,0x4F,0x52,

0x20,0x00,0x53,0x9F,

0x70,0xA7,0x0B,0xAF

Please refer the following link:

"Media Type Identifiers | Microsoft Docs "

Regards,

Anil Srinivas.

0 Likes

Hi Anil,

Thanks for helping me with GUID, but i also want to know does RGB888 needs a header or it is fine to send RGB888 frame without a header? Does VLC or anyother media player recognize the video and play it?

0 Likes

Hi,

VLC does not stream RGB888 data. It can stream YUY2 or MPEG format.

Even E-con Systems' e-cam viewer does not support RGB format.

Please refer following link:

"FAQ - e-CAM51_USB "

But we can see that there is some video data is being stremed in VLC media player. It may be a green color or blue or red but not actual image.

Regards,

Anil Srinivas.

0 Likes

Hi,

So vlc or anyother player doesn't play RGB888 format, then can you please tell me that i have a ycbcr 422 data coming from FPGA.

Can i play that data directly in VLC or anyother format? Do i need any header for data to play it on media player?

Thanks

0 Likes

Hi,

Yes, you can play YUV 422( it can also referred as ycbcr 422) in VLC or e-cam.

Yes, you need to add header either in FPGA or in FX3. You can see that we are adding header in DMA Call back -> Producer event in AN75779 App note firmware.

Regards,

Anil Srinivas.

0 Likes