playing multi video track file in one window as a mosaic

This forum is about all development around libVLC.
samithawijedasa
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Jul 2013 22:52

playing multi video track file in one window as a mosaic

Postby samithawijedasa » 26 Jul 2013 22:05

When a .mkv file with three video tracks is opened via libvlc functions it pop-ups three separated windows in a disordered manner. I want to open these three windows in a single window through libvlc. How can I do this?

My custom application is based on Qt and libvlc and it is capable of running single video track files and multi video track files without a issue. The only problem is when a multi video track file is opened the way the windows should appear need to be controlled as indicated above. At least they should be tiled if not possible to direct them into a single large window.

I need to know how to effectively use Qt QMdiArea approach or VLC Mosaic approach along with libvlc to do it.

Sample code would be much appreciated.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: playing multi video track file in one window as a mosaic

Postby Rémi Denis-Courmont » 26 Jul 2013 22:17

There is currently no support for multiple embedded video handles in LibVLC. Patch welcome.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

samithawijedasa
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Jul 2013 22:52

Re: playing multi video track file in one window as a mosaic

Postby samithawijedasa » 26 Jul 2013 23:05

Hi Rémi,

If I were to modify a section of vlc to direct the opened windows to a single window ( as it capable of playing the embeded video on three windows without a problem) what source files I should focus on? As I started developping using libvlc nearly a week ago :)

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: playing multi video track file in one window as a mosaic

Postby Rémi Denis-Courmont » 27 Jul 2013 09:13

That won't work. All videos would overlap each other.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 38 guests