libVLC : most efficient way to access audio/video data
Posted: 02 Jan 2019 09:30
Hello all,
I'm new to libVLC and my aim is to use it as general media-handling layer for my applications.
After reading tons docs and looking some test code, it seems that libVLC has the features I'm looking for.
In order do integrate libVLC, I would need to access to video/audio data at a very low-level, i.e. get (already converted) ARGB frames and PCM audio samples.
Now it seems there are 2 different ways to achieve this result: through callbacks (libvlc_video_set_callbacks(), libvlc_audio_set_callbacks()) or through SMEM.
The question is easy: which is the best/fastest/suggested/most efficient way ?
Thanks,
Mik
I'm new to libVLC and my aim is to use it as general media-handling layer for my applications.
After reading tons docs and looking some test code, it seems that libVLC has the features I'm looking for.
In order do integrate libVLC, I would need to access to video/audio data at a very low-level, i.e. get (already converted) ARGB frames and PCM audio samples.
Now it seems there are 2 different ways to achieve this result: through callbacks (libvlc_video_set_callbacks(), libvlc_audio_set_callbacks()) or through SMEM.
The question is easy: which is the best/fastest/suggested/most efficient way ?
Thanks,
Mik