Search found 4 matches

Go to advanced search

by KidCoding
16 Mar 2012 12:06
Forum: VLC media player for Linux and friends Troubleshooting
Topic: libvlc: get the pointer on the data
Replies: 5
Views: 1099

Re: libvlc: get the pointer on the data

For those who want the answer, it can be found in the SDL example http://wiki.videolan.org/LibVLC_SampleCode_SDL .

To access pixels, the callbacks have to be used. In the callback (unlock) function (defined by vlc see SDL example), a pointer to the pixels date is given.

Cheers,
KiD
by KidCoding
14 Feb 2012 14:33
Forum: VLC media player for Linux and friends Troubleshooting
Topic: libvlc: get the pointer on the data
Replies: 5
Views: 1099

Re: libvlc: get the pointer on the data

Just to be more specific about my question. I'm using libvlc to decode videos in a c++ app (based on this code http://wiki.videolan.org/LibVLC_SampleCode_Qt ). So, libvlc decodes a video and pass the result to a window (Qt here). I want to do some processing on the image before I display it. This is...
by KidCoding
14 Feb 2012 12:53
Forum: VLC media player for Linux and friends Troubleshooting
Topic: libvlc: get the pointer on the data
Replies: 5
Views: 1099

Re: libvlc: get the pointer on the data

Well...
Could you give me a link to some doc? (How to implement a plugin for example? or Some sample code...)
by KidCoding
14 Feb 2012 11:04
Forum: VLC media player for Linux and friends Troubleshooting
Topic: libvlc: get the pointer on the data
Replies: 5
Views: 1099

libvlc: get the pointer on the data

Hello!

How to get the data pointer on the decoded image (unsigned char* or char* or whatever)?
Is there any callback where I can get the pointer on the data each time a new image is decoded?

Thanks,
KiD

N.B.: I'm on Ubuntu 11.4. I have installed libvlc-dev 1.1.9 from synaptic (ubuntu ppa)

Go to advanced search