Thanks for the help ! So If I understand correctly I should define a callback like this ? unsigned my_setup_cb(void **opaque, char *chroma, unsigned *width, unsigned *height, unsigned *pitches, unsigned *lines) { int track_id = libvlc_video_format_cb_get_track_id(opaque); // Returns the track ID of ...