The same problem returning 0... I'm testing with the Mac OS X user interface, I don't know if it happens with the Qt interface too. Thanks for the rapid answer!
Hi! I need to stop "Peek" a multimedia file in my stream filter plugin if an error occurs. I'm doing it like that: static int Peek(stream_t *stream, const uint8_t **pbuf, unsigned int len) { stream_sys_t *p_sys = stream->p_sys; if (stream->b_error) return VLC_EGENERIC; QByteArray peekBuffe...
Finally I have build a CMakeList.txt file to easy compile my plugin out of tree. First, you must create a folder where compile VLC and create a script with this content: (configure-env-osx.sh in my case) #!/bin/sh function log () { echo $'\e[1;32m'$1$'\e[00m' ; } function errorLog () { echo $'\e[1;3...
After a bunch of hours of testing, here is a minimal but functional stream filter plugin source code: #ifdef HAVE_CONFIG_H # include "config.h" #endif #include <vlc_common.h> #include <vlc_plugin.h> #include <vlc_stream.h> static int Open(vlc_object_t *obj); static void Close(vlc_object_t ...
Hi! I'm making an stream filter plugin to view AES encrypted files. I see that this kind of plugin is undocumented in the wiki, but I'm looking the source code of the existing plugins. For the moment I'm making a test file with this command: openssl enc -aes-128-cbc -in test.mp3 -out protected.mp3 -...
Solved, to build VLC, with GUI, ensure that macports is not installed (rename "/opt" to "/_opt" if you don't want to lost your ports) and execute this command: $ export CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc && \ expor...
I see that my module has this exported symbols: $ nm -g /Applications/VLC.app/Contents/MacOS/plugins/libstream_filter_proton_plugin.dylib U ___stdoutp U _fflush U _printf 0000000000000a20 T _vlc_entry__MODULE_NAME 0000000000000df0 T _vlc_entry_license__MODULE_NAME U dyld_stub_binder I think that the...
The problem was the macports libraries. As a quick solution I was renamed the "/opt" folder to "/_opt" and the "../extras/package/macosx/build.sh" works correctly
Hi! Thank you very much for your help! When my plugin os copied to the VLC plugins folder (/Applications/VLC.app/Contents/MacOS/plugins/libstream_filter_proton_plugin.dylib) I execute: $ ./vlc --reset-plugins-cache VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d) [0x1002924f0] main inter...
I'm trying to compile VLC in my mac following this instructions: http://wiki.videolan.org/OSXCompile Xcode 4.6 OS X 10.7 When I run ../extras/package/macosx/build.sh I have this error: Undefined symbols for architecture x86_64: "_iconv", referenced from: __nl_find_msg in libintl.a(dcigette...
Hi, I'm writing a stream filter plug-in over Mac OS X 10.7. I'm building it out of the VLC source tree <http://wiki.videolan.org/OutOfTreeCompile> because I have a bunch of errors trying to compile the VLC source code. Here is my empty source code: #include <vlc_common.h> #include <vlc_plugin.h> #in...