Hi,
I am trying to do 360 video OpenGL rendering using libVLC, applying a shader to lookup into the texture and get only the texture area needed regarding the user's gaze & FOV.
The only way I found to do that with libVLC was to use "libvlc_video_set_callbacks" to get the pixels data and store them next into an OpenGL texture (outside from the lock/unlock/display clalbacks) but when using this callback process the hardware decoding (--ffmpeg-hw) seems not be used and the texture copy in lock/unlock callbacks is two slow.
Does someone can advise me so I can use libVLC to do that easily (best solution would be to get the video decoded thanks to the hardware and to copy pixels data directly to texture memory area without uploading the pixels data into RAM) ?
Thanks in advance,
Best regards,
Marc