[vlc-devel] Split video output with LibVLC
Rémi Denis-Courmont
remi at remlab.net
Fri Oct 21 19:01:47 UTC 2022
Le 21 octobre 2022 16:45:59 GMT+03:00, Tobias Rapp <t.rapp at noa-archive.com> a écrit :
>Hi,
>
>I'm currently trying to integrate LibVLC into one of my native Windows applications. Passing in a window handle via libvlc_media_player_set_hwnd() and starting playback works fine.
>
>Now I'd like to send video to two outputs simultaneously: Once to the window handle and another, scaled-down version to some callback handler for other visualization controls within the application.
>
>Is it possible to use libvlc_media_player_set_hwnd() and something similar to libvlc_video_set_callbacks() at the same time, where only the output sent to the callbacks is processed by some resize filter?
>
>Best regards,
>Tobias
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
Hi,
This is not possible currently. You need to use callbacks for all tracks, which is inefficient but at least it works.
Or then you need to modify LibVLC.
More information about the vlc-devel
mailing list