Search found 8 matches

Go to advanced search

by xylosper
20 Mar 2011 17:45
Forum: Development around libVLC
Topic: VLC and Qt Integration - reder decoded video to a QPixmap
Replies: 8
Views: 3164

Re: VLC and Qt Integration - reder decoded video to a QPixma

QImage::loadFromData does samething with QPixmap::loadFromData which I've already told.

When you want to create an image from raw data, you have to create the QImage instance with the constructor which takes raw data, like:
QImage image(nativeBuffer, nativeWidth, nativeHeight, QImage::Format_RGB32);
by xylosper
20 Mar 2011 17:10
Forum: Development around libVLC
Topic: To add or remove filters during playback
Replies: 0
Views: 251

To add or remove filters during playback

Is it possible to add or remove filter like scaletempo during playback with libvlc? I know I can add it as an option for playing, but I want to make it disabled or enabled while playing without stop and reload the media. I've checked the header files coming with libvlc, and I couldn't find any funct...
by xylosper
20 Mar 2011 17:04
Forum: Development around libVLC
Topic: libvlc for mac os QT Creator - general newbie problem
Replies: 2
Views: 1676

Re: libvlc for mac os QT Creator - general newbie problem

.dylib correspons to .dll of windows.
You can link to shared library with -L and -l option, for instance,
LIBS += -L/Applications/VLC.app/Contents/MacOS/lib -lvlc
For more detail usage, read the document for qmake.
by xylosper
20 Mar 2011 16:57
Forum: Development around libVLC
Topic: VLC and Qt Integration - reder decoded video to a QPixmap
Replies: 8
Views: 3164

Re: VLC and Qt Integration - reder decoded video to a QPixma

QPixmap::loadFromData loads image from binary format like png or jpeg not raw data. It does same thing with QPixmap::load, only difference is it loads data from your memory not a file. You have to make an QImage instance with proper QImage::Format, for instance, QImage::Format_RGB32 or QImage::Forma...
by xylosper
20 Mar 2011 16:48
Forum: Development around libVLC
Topic: smem doesn't work with vcodec=I420
Replies: 5
Views: 1470

Re: smem doesn't work with vcodec=I420

Thanks for your replys.
I just gave up to using smem.
by xylosper
06 Mar 2011 18:49
Forum: Development around libVLC
Topic: smem doesn't work with vcodec=I420
Replies: 5
Views: 1470

smem doesn't work with vcodec=I420

I'm testing some idea with smem, and noticed a weired thing. See the next code. #include <vlc/vlc.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> typedef unsigned int uint; void cbVideoPrerender(void *p_video_data, uint8_t **pp_pixel_buffer, int size) { printf("video-prerender-cal...
by xylosper
20 Jul 2009 23:02
Forum: Development around libVLC
Topic: Is it possible to get raw video frame for playback?
Replies: 2
Views: 649

Re: Is it possible to get raw video frame for playback?

It looks like what I'm finding.
Thank you very much!
by xylosper
20 Jul 2009 22:05
Forum: Development around libVLC
Topic: Is it possible to get raw video frame for playback?
Replies: 2
Views: 649

Is it possible to get raw video frame for playback?

I want to manipulate the raw frames and play with them instead of original frames. I saw some articles for getting raw frame with sout, but it looks different what I'm thinking, because all the articles is for encoding/decoding or transcoding not for playback. For instance, xine supports it with 'ra...

Go to advanced search