How to implement video (with audio) playbacks using callback apis with libvlc 3.0?
(libvlc_video_set_callbacks / libvlc_audio_set_callbacks
)
- 3.x branch of vlc repo does not contain any example on using callback apis.
- There is an example for video on vlc wiki, but:
- It does not includes audio handling;
- It does not work on my distribution libvlc-3.0.16:
avi demux error: no key frame set for track 1
(where track 1 is audio)
(vlc
program can handle the same media files without problem)
- I also tried to build libvlc-4.0, but it is crashy.
3