Search found 8 matches

Go to advanced search

by mika
29 Oct 2010 10:44
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 3046

Re: libvlc_video_set_callbacks

Hello,

Thanks for all the help. In the end, I was not able to include VLC in the experiments. Executing it in a real-time Linux process (scheduled with the kernel module RESCH) generated a lot of errors from the VLC app., even the computer froze sometimes.

Thx for the support...

Regards
by mika
28 Oct 2010 10:13
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 3046

Re: libvlc_video_set_callbacks

One more thing also...

I tried it now and it works, but when I run (a 91 frame long video), the display callback is called more than 91 times... Does VLC repeat the video or?

Regards
by mika
27 Oct 2010 23:13
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 3046

Re: libvlc_video_set_callbacks

Hey thank you so much! But one thing though, is it tricky to render a video? Do you think you could show me a simple example of that... (I will put your name on the article if you want;) ) I want the experiments to be as realistic as possible, so there should at least be some movie being played... B...
by mika
27 Oct 2010 19:42
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 3046

Re: libvlc_video_set_callbacks

I'm writing a scientific article for a journal that will be published in a few months, BUT, deadline for submitting the article is in a few days and the experimental data with VLC would really improve it... Basically we are scheduling applications in multiple levels (like a tree) where the VLC app. ...
by mika
27 Oct 2010 14:18
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks inside c++ class
Replies: 10
Views: 7983

Re: libvlc_video_set_callbacks inside c++ class

Hi,

How did you solve it?

Regards
by mika
27 Oct 2010 10:46
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 3046

Re: libvlc_video_set_callbacks

Thank you,

So it should be something like this:

libvlc_video_set_format(mp, "RV32", 240, 240, 4);

...and what about the 'lock' function?

static void *lock(void *data, void **p_pixels) {
p_pixels = ?
return NULL;
}

Exactly what could I allocate/set to 'p_pixels'?

Regards
by mika
26 Oct 2010 18:10
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 3046

Re: libvlc_video_set_callbacks

Thx for the reply, So I should use something like: libvlc_video_set_format( mp, "RV32", unsigned width, unsigned height, unsigned pitch ); 'width' and 'height' should be the same I guess, what about 'pitch'? Should 'lock' return dummy buffers? Which data-structures should I use? I reused c...
by mika
26 Oct 2010 16:01
Forum: Development around libVLC
Topic: libvlc_video_set_callbacks
Replies: 9
Views: 3046

libvlc_video_set_callbacks

Hi, I'm conducting research in advanced scheduling of video applications, and I have chosen to use VLC for my experiments. I want to collect timestamps of frames (when they were displayed). I see that 'libvlc_video_set_callbacks' could be useful, but I have a problem. I just want to use the 'display...

Go to advanced search