Page 1 of 1

2 sources - 1 video window

Posted: 04 Feb 2015 05:20
by zombiitv
I have two videos of the same scene at different angles and I want the user to be able to choose which angle to watch. I have a web player that works where I stitch the two sources together (i.e. 3840x1080) and using some masking and image shifting I can change the view on user input, but it's clunky (and in flash).

So my first question, can I create an extension in VLC that would copy that functionality?

What I would really like to do is to leave the source files separate, load them both into memory at the same time and switch between the two on the fly. i.e. on user input, switch feeds in the background and display the correct frame from the other source. Can VLC do something like this? Can you point me in the right direction on where to start? Unfortunately, I don't have any experience in C, I'm coming from C# and a lot of web development work so I have a lot of work to do to make this happen but I want to make sure it can actually be done in the first place.

Thanks

Re: 2 sources - 1 video window

Posted: 04 Feb 2015 05:34
by RSATom
Do you want do it in Vlc player or in your own application (with libvlc)?

Re: 2 sources - 1 video window

Posted: 04 Feb 2015 05:37
by zombiitv
In VLC

Re: 2 sources - 1 video window

Posted: 04 Feb 2015 11:17
by Jean-Baptiste Kempf
You cannot.

Re: 2 sources - 1 video window

Posted: 04 Feb 2015 17:33
by zombiitv
So it can't be done in VLC, how would I go about doing this in my own application using libvlc?

Re: 2 sources - 1 video window

Posted: 04 Feb 2015 17:38
by RSATom
Are you ready to use C++, Qt and QML ? even maybe C++ will be not necessary, or even just QML could be enough if it's ok to you use browser and install plugin. Look at this (it's based on libvlc).