Search found 21 matches

Go to advanced search

by biga
07 Apr 2012 15:30
Forum: Development around libVLC
Topic: Enable/disable video filter in LibVLC
Replies: 8
Views: 3066

Enable/disable video filter in LibVLC

Hi! I am trying to enable/disable a video filter with LibVLC during playback. I found a patch on VLC mailing list: http://mailman.videolan.org/pipermail/vlc-devel/2011-November/083767.html, that extends the API with a libvlc_video_set_filter function. I succesfully applied the patch, and now I can c...
by biga
28 Dec 2011 16:48
Forum: Development around libVLC
Topic: How to pass data from a video filter to external app?
Replies: 0
Views: 284

How to pass data from a video filter to external app?

Hi! Is it possible to exchange data between a video filter through libVLC API? For example if a variable created with var_Create() in a video filter, and I'd like to get its value through the LibVLC python bindings. Can I access/set callback functions created on VLC variables in libVLC API? Is there...
by biga
27 Nov 2011 19:24
Forum: Development around libVLC
Topic: DSP acceleration
Replies: 7
Views: 1239

Re: DSP acceleration

Thank you for your reply. How can I use this omxil plugin for encoding? Is it enough to run configure script with --enable-omxil? What preparation, dependencies are required? I mean installing dspbridge, etc... I have an ARM board with linaro distro.
by biga
25 Nov 2011 14:46
Forum: Development around libVLC
Topic: DSP acceleration
Replies: 7
Views: 1239

Re: DSP acceleration

What is self-explanatory? Do you know any encoder plugin for VLC that is using DSP acceleration? Or should I write such a plugin?
by biga
25 Nov 2011 14:11
Forum: Development around libVLC
Topic: DSP acceleration
Replies: 7
Views: 1239

Re: DSP acceleration

Thanks for your reply. I read in the 1.1.0 announcement "Support for Audio/Video decoders and encoders using OpenMAX IL components for DSP". So my question: does exist a VLC encoder plugin for the DSP? If it does, how can I use it? How can I prepare my embedded ARM system for using it?
by biga
25 Nov 2011 12:17
Forum: Development around libVLC
Topic: DSP acceleration
Replies: 7
Views: 1239

DSP acceleration

Hi! I am using VLC on ARM (Cortex A8) for streaming video of a webcam. I use x264 for transcoding, which uses about 60-70% CPU on a 320x240 video input with the superfast x264 preset. As I see the encoder is using ARM's NEON coprocessor to speed up transcoding, but I'd like to offload the ARM CPU wi...
by biga
19 Nov 2011 17:04
Forum: Development around libVLC
Topic: Modifying settings on the fly
Replies: 2
Views: 468

Re: Modifying settings on the fly

Thanks for your reply! I didn't find any function in the API that could change (turn on/off) video filters during playback. It would be nice adding to the API, because now I have to stop the stream, configure and start again, and I also have to reconnect my client(s).
by biga
17 Nov 2011 20:46
Forum: Development around libVLC
Topic: Modifying settings on the fly
Replies: 2
Views: 468

Modifying settings on the fly

Hi! I am using vlc Python bindings and I'd like to know whether it is possible to change settings on the fly while playing a media. For example: p = vlc.MediaPlayer() p.set_mrl('v4l2:///dev/video0') p.play() #now video is playing and here I'd like to modify the mrl to 'v4l2:///dev/video0:width=320:h...
by biga
03 Aug 2011 11:28
Forum: Development around libVLC
Topic: Turn on/off video filter in libvlc (python)
Replies: 0
Views: 460

Turn on/off video filter in libvlc (python)

Hi!

Could someone help me how to turn on/off a video filter without restarting the playback? Is it possible? I am using libvlc python wrapper. Which function/method can do this?

Thanks, biga.
by biga
02 Aug 2011 12:15
Forum: Development around libVLC
Topic: ARM NEON support
Replies: 4
Views: 2279

Re: ARM NEON support

added 2 options to x264(profile = baseline, preset=veryfast) and now CPU load is about 30% and NEON is being used.... Other question: I am using libvlc from python, and I want to turn on/off a video filter during playback. Is it possible without restarting the playback? I need to do that because I d...
by biga
30 Jul 2011 18:20
Forum: Development around libVLC
Topic: ARM NEON support
Replies: 4
Views: 2279

Re: ARM NEON support

Thanks for your reply! I checked the config.log and now it is clear, VLC configured with NEON support. Now I am experiencing a strange behaviour: when I first compiled VLC I found 30-40% CPU load with this config: sout=#transcode{vcodec=h264,venc=x264,fps=25}:std{access=http{mime=video/x-flv},dst=0....
by biga
29 Jul 2011 20:47
Forum: Development around libVLC
Topic: ARM NEON support
Replies: 4
Views: 2279

ARM NEON support

Hi! I am using VLC on ARM development board (ARM Cortex A8), and I'd like to get information about neon support. Should I set any extra parameter in configure script or is it automatically detected during configuration? As I experienced from log messages, the x264 encoder uses (or trying to use) neo...
by biga
13 Jul 2011 08:50
Forum: Development around libVLC
Topic: conver I420 to RGB
Replies: 3
Views: 1482

Re: conver I420 to RGB

Thanks for your reply! I looked into filter_picture.h but I didn't find a function with that name, however I found it in blend.c and atmo.cpp. Should I use the function from the other's plugin? :)
by biga
12 Jul 2011 21:27
Forum: Development around libVLC
Topic: conver I420 to RGB
Replies: 3
Views: 1482

conver I420 to RGB

Hi! I am writing a video filter, and the filter function's input parameter is a picture_t with format VLC_CODEC_I420. Is this the YUV422 planar format? Does the p_data_orig member contains the raw yuv data? How can I convert it to RGB (IplImage not planar)? I found a video_chroma filter i420_rgb. Ca...
by biga
25 Jun 2011 11:47
Forum: Development around libVLC
Topic: Custom compile flags
Replies: 1
Views: 1273

Custom compile flags

Hi! I have a python class that I'd like to use from a video filter, but I need to pass some flags/params to the compiler. I have a test app with the Makefile below, which is working well: PYLIB=/usr/lib/python2.6/config/libpython2.6.a PYINC=-I-I/usr/include -I/usr/include -I/usr/include/python2.6 -I...
by biga
13 Jun 2011 16:01
Forum: Development around libVLC
Topic: Is VLC OpenCV plugin working?
Replies: 5
Views: 1717

Re: Is VLC OpenCV plugin working?

Finally I got opencv_example video filter working.
Now I am trying to workaround another problem: how can I catch the event that the filter raises? I need to handle it somehow because the event_info stores the positions of found faces.
Anyone out there knowing how to handle video filter events?
by biga
20 May 2011 12:31
Forum: Development around libVLC
Topic: Is VLC OpenCV plugin working?
Replies: 5
Views: 1717

Re: Is VLC OpenCV plugin working?

After changing set_capability to "video filter2" the plugin is loaded, but I get segmentation fault. Maybe the problem around converting picture_t to IplImage. How can I workaround what the problem is?
by biga
19 May 2011 23:43
Forum: Development around libVLC
Topic: OpenCV Support
Replies: 11
Views: 25845

Re: OpenCV Support

Have you found any solution to your problem. I am also trying to make opencv work, but I always get segfaults.
by biga
19 May 2011 17:10
Forum: Development around libVLC
Topic: Is VLC OpenCV plugin working?
Replies: 5
Views: 1717

Re: Is VLC OpenCV plugin working?

Here is the error messages found in the log. I found the compiled plugin files in /usr/local/lib/vlc/plugins/video_filter/. Why doesn't find vlc them? vlc --list listed them. It seems that the plugin is not registered as a video_filter2 plugin. How can I make it visible for VLC? [0x4b8c88] main filt...
by biga
19 May 2011 15:33
Forum: Development around libVLC
Topic: Is VLC OpenCV plugin working?
Replies: 5
Views: 1717

Is VLC OpenCV plugin working?

Hi! I compiled successfully VLC 1.1.9 with OpenCV 2.2, but I can't get it working. 'vlc --list' shows that the plugin is installed, but when I try to use it with 'vlc -vvv --video-filter=opencv_example v4l2:///dev/video0' then an error message come into the log, that the video_filter2 plugin not fou...
by biga
11 May 2011 11:02
Forum: Development around libVLC
Topic: VLC opencv video-filter-event in Python
Replies: 0
Views: 658

VLC opencv video-filter-event in Python

Hi! I am new to VLC development, please help me. I am planning to use VLC python bindings with opencv enabled. I found in the opencv_example.c source that it raises a video-filter event. I didn't find such an event type in vlc.EventType. How can I handle this event? I need it because the event conta...

Go to advanced search