Search found 16 matches

Go to advanced search

by j_vlc
18 Apr 2013 17:45
Forum: Development around libVLC
Topic: Stop playing song in a stream filter plugin
Replies: 4
Views: 439

Re: Stop playing song in a stream filter plugin

Ok! Thank you very much, I'll try to bypass this problem as possible...
by j_vlc
18 Apr 2013 16:12
Forum: Development around libVLC
Topic: Stop playing song in a stream filter plugin
Replies: 4
Views: 439

Re: Stop playing song in a stream filter plugin

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!
by j_vlc
18 Apr 2013 15:48
Forum: Development around libVLC
Topic: Stop playing song in a stream filter plugin
Replies: 4
Views: 439

Stop playing song in a stream filter plugin

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...
by j_vlc
08 Apr 2013 17:47
Forum: Development around libVLC
Topic: Stream filter plug-in "cannot find plug-in entry point"
Replies: 7
Views: 1657

Re: Stream filter plug-in "cannot find plug-in entry point"

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...
by j_vlc
03 Apr 2013 17:04
Forum: Development around libVLC
Topic: Stream Filter Problems
Replies: 2
Views: 697

Re: Stream Filter Problems

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 ...
by j_vlc
01 Apr 2013 14:13
Forum: Development around libVLC
Topic: Stream Filter Problems
Replies: 2
Views: 697

Stream Filter Problems

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 -...
by j_vlc
20 Mar 2013 17:33
Forum: Development around libVLC
Topic: Stream filter plug-in "cannot find plug-in entry point"
Replies: 7
Views: 1657

Re: Stream filter plug-in "cannot find plug-in entry point"

Any clue of what I'm making bad please? Really I'm trying to compile correctly...
I'm following the wiki instructions step by step

Thank you very much for your help!
by j_vlc
20 Mar 2013 15:58
Forum: Development around libVLC
Topic: Can not build VLC on Mac OS X (libiconv)
Replies: 7
Views: 2451

Re: Can not build VLC on Mac OS X (libiconv)

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...
by j_vlc
19 Mar 2013 19:54
Forum: Development around libVLC
Topic: Stream filter plug-in "cannot find plug-in entry point"
Replies: 7
Views: 1657

Re: Stream filter plug-in "cannot find plug-in entry point"

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...
by j_vlc
19 Mar 2013 12:31
Forum: Development around libVLC
Topic: Can not build VLC on Mac OS X (libiconv)
Replies: 7
Views: 2451

Re: Can not build VLC on Mac OS X (libiconv)

Another question.. When I run vlc I get:

Code: Select all

[0x7fa3a5013390] main interface error: no suitable interface module [0x7fa3a3c0a5c0] main libvlc error: interface "default" initialization failed
Wht I haven't got a GUI? I need it to test my module...
by j_vlc
19 Mar 2013 11:42
Forum: Development around libVLC
Topic: Can not build VLC on Mac OS X (libiconv)
Replies: 7
Views: 2451

[SOLVED] Can not build VLC on Mac OS X (libiconv)

Hi @nkoriyama, thank you very much for your help.

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
by j_vlc
19 Mar 2013 11:37
Forum: Development around libVLC
Topic: Stream filter plug-in "cannot find plug-in entry point"
Replies: 7
Views: 1657

Re: Stream filter plug-in "cannot find plug-in entry point"

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...
by j_vlc
13 Mar 2013 12:08
Forum: Development around libVLC
Topic: Can not build VLC on Mac OS X (libiconv)
Replies: 7
Views: 2451

Re: Can not build VLC on Mac OS X (libiconv)

How to specify to use the normal iconv? I'm following the wiki instructions...
Thank you very much for your help!!
by j_vlc
13 Mar 2013 11:41
Forum: Development around libVLC
Topic: Can not build VLC on Mac OS X (libiconv)
Replies: 7
Views: 2451

Re: Can not build VLC on Mac OS X (libiconv)

I have tryied to execute
$ export CFLAGS="-I/opt/local/include -L/opt/local/lib -liconv" ; export CXXFLAGS=$CFLAGS ; export LDFLAGS=$CFLAGS

Before run build.sh, but the libraries are not found, the same problem,,,
by j_vlc
11 Mar 2013 15:30
Forum: Development around libVLC
Topic: Can not build VLC on Mac OS X (libiconv)
Replies: 7
Views: 2451

Can not build VLC on Mac OS X (libiconv)

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...
by j_vlc
11 Mar 2013 13:16
Forum: Development around libVLC
Topic: Stream filter plug-in "cannot find plug-in entry point"
Replies: 7
Views: 1657

Stream filter plug-in "cannot find plug-in entry point"

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...

Go to advanced search