2 sources - 1 video window

This forum is about all development around libVLC.
zombiitv
New Cone
New Cone
Posts: 3
Joined: 04 Feb 2015 05:08

2 sources - 1 video window

Postby zombiitv » 04 Feb 2015 05:20

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

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: 2 sources - 1 video window

Postby RSATom » 04 Feb 2015 05:34

Do you want do it in Vlc player or in your own application (with libvlc)?

zombiitv
New Cone
New Cone
Posts: 3
Joined: 04 Feb 2015 05:08

Re: 2 sources - 1 video window

Postby zombiitv » 04 Feb 2015 05:37

In VLC

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: 2 sources - 1 video window

Postby Jean-Baptiste Kempf » 04 Feb 2015 11:17

You cannot.
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.

zombiitv
New Cone
New Cone
Posts: 3
Joined: 04 Feb 2015 05:08

Re: 2 sources - 1 video window

Postby zombiitv » 04 Feb 2015 17:33

So it can't be done in VLC, how would I go about doing this in my own application using libvlc?
Last edited by zombiitv on 04 Feb 2015 17:40, edited 1 time in total.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: 2 sources - 1 video window

Postby RSATom » 04 Feb 2015 17:38

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).


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests