3D for passive LG Technology

Want to help the VideoLAN project? Designers, testers, translators, please come...
This is NOT about GETTING some help.
Forum rules
Please read the forum's rules carefully before posting. This forum should not be used to post VLC usage related questions.
El_Duraminga
New Cone
New Cone
Posts: 3
Joined: 07 Jan 2013 07:33

3D for passive LG Technology

Postby El_Duraminga » 07 Jan 2013 09:44

Hi folks,
Recently I've bought a LG-3D-Passive monitor for a few bucks.
The passive stereoscopic technology interlaces the even and the odd lines with the two different images.
I don't find any other solution in the huge amount of VLC options to obtain an interlaced output starting from an HSBS video so that, after a lot of troubles to cross-compile VLC for Windows (that is a pain), I tried to find a solution implementing the HSBS conversion for myself.
Since the planar YV format provided by the MP4 streams, uses a spatial compression of the Chroma components the even and odd lines are indistinguishable and my first tentative to realize a simple filter goes wrong.
Therefore I patched the original Direct3D driver from Damien Fouilleoul and used the internal acceleration of my graphics card NVIDIA to do the dirty work.
The plugin works exclusively on a fixed Full-HD plane but it is able to HW scale any video, the result is impressive and seems to be extremely fast and fluid (compared to other solutions) on my Win7-64, and the capabilities of VLC do the rest.
Now … I realized this plugin in a couple of days, for my personal use, my solution is designed explicitly for the LG technology and it works great on my graphic card , however if someone else is interested in this solution or in this specific approach, I can detail and provide the work I've done.
Note: on Linux there is something similar in the last SVN Mplayer project applied to the OpenGL driver, so I think the porting should not be impossible.
Good things to you.

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: 3D for passive LG Technology

Postby Jean-Baptiste Kempf » 07 Jan 2013 11:53

Would you be able to share it to other people? Would you be able to share the patch?
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.

El_Duraminga
New Cone
New Cone
Posts: 3
Joined: 07 Jan 2013 07:33

Re: 3D for passive LG Technology

Postby El_Duraminga » 08 Jan 2013 10:02

Would you be able to share it to other people? Would you be able to share the patch?
Yes, I would be very happy to share this work, as a long-time C/C++software developer (usually on Linux) I think I can do it.
I wrote here in my first instance because I have a couple of problems.
The simplest one is the usual approach to the project, that is "where to post my work", if you have an answer I will be very glad to comply.
The second is a question is about the "impact" of this patch and how to proceed to make it public.
What I've done is not a simple plugin, it is a workaround on one of the most used piece of codes in VLC, to implement a very specific technology and I'm a little scared of that.
I think that the safest way could be to realize a video-filter "similar" to the anaglyphic introduced in the GIT version of VLC and getting the things done by the CPU but It is heavy because I should at least blend and change the output format to RGB inside the fillter and I'm not sure about the effects of changing the format on the fly in a filter. A more powerful way could be to create another video output plugin, maybe hidden, an available only by the command line (which is the approach I used until now), something like "direct3dhsbsinterlaced" or similar, so I'm a bit undecided on what to do .
Bye, and thanks for now.

El_Duraminga
New Cone
New Cone
Posts: 3
Joined: 07 Jan 2013 07:33

Re: 3D for passive LG Technology

Postby El_Duraminga » 10 Jan 2013 13:21

I have opened a new project on SourceForge regarding this project.

The link is : http://sourceforge.net/p/vlcinterlacedhs

I will update everything as soon as possible.

Bye.


Return to “Contribute and help the VideoLAN project”

Who is online

Users browsing this forum: No registered users and 11 guests