- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Tags:
- fx3
- video stream
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.