Search found 2 matches

Go to advanced search

by jacques.vlc
21 May 2015 21:06
Forum: Development around libVLC
Topic: How to read multiple video tracks in memory ?
Replies: 3
Views: 438

Re: How to read multiple video tracks in memory ?

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 ...
by jacques.vlc
21 May 2015 12:44
Forum: Development around libVLC
Topic: How to read multiple video tracks in memory ?
Replies: 3
Views: 438

How to read multiple video tracks in memory ?

Hello, i'm using libvlc 2.0.8 on Ubuntu and I'm trying to read a file with 2 video tracks. The goal is to recompose the frame from track 1 with the frame from track 2. Right now I'm able to select which track to read with libvlc_video_set_track and save frames in memory by setting my own callbacks w...

Go to advanced search