Unable to view a video image on YCbCr 4:2:2 video device

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
amareshram
Blank Cone
Blank Cone
Posts: 14
Joined: 06 Apr 2007 12:49

Unable to view a video image on YCbCr 4:2:2 video device

Postby amareshram » 30 Jul 2007 14:37

Hi,

I have ported the VLC-0.8.6a for TI Davinci platform. TI Davinci platform has 4 Framebuffer device (2 for Video supporting YCbCr 4:2:2 (UYVY), 1 for OSD supporting RGB and 1 for Attribute). I have added another FB module for supporting video framebuffer of Davinci.

With this ported code, I am able to view the perfect video clip on OSD FB but on video FB I can only see some colored pixel distributed across half of the screen.

As per the log input chorma FMT is I420 and output chroma format is UYVY.

Help sought to resolve the problem.

regards/Amaresh

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Unable to view a video image on YCbCr 4:2:2 video device

Postby Jean-Baptiste Kempf » 30 Jul 2007 15:09

Ask on the mailing list.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Unable to view a video image on YCbCr 4:2:2 video device

Postby dionoea » 07 Aug 2007 14:48

Looks like we might be missing a I420 to I422 chroma conversion module. Chroma conversion modules are in modules/video_chroma/ in the source code tree. Extra chroma conversion modules are available through the ffmpeg library only if you compiled it with --disable-swscaler. If you haven't given that a try yet, I suggest that you do. If that still doesn't work, you can write a small I420 to I422 chroma conversion module (should be really easy since you're just copying the Y plane and duplicating each U and V line (Cb/Cr)).
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests