Page 1 of 1

Help me about the export function of VLC modules

Posted: 21 Feb 2004 02:56
by tjuwangli
How do I change the export function for every modules. I found that the export function is vlc_entry__0.6.2. These dll can be used. But when I compiled the source code, I got a dll with the export function is vlc_entry__MODULE_SYMBOL. Of course this dll can't be used. But I don't know how to change it.

By the way I know that VLC can convert PS stream to TS stream. I want to know if the TS stream I got can play on the set-top-box.

Posted: 21 Feb 2004 16:54
by zorglub
Hello,

That is weird. MODULE_SYMBOL should be defined in config.h and should be equal to the version number.

What do you exactly want to make ?
By the way I know that VLC can convert PS stream to TS stream. I want to know if the TS stream I got can play on the set-top-box.
We know that it works on some set-top-boxes (like the Aminocom Aminet), but any set-top-box that handle MPEG TS correctly should handle the stream correctly.

Posted: 22 Feb 2004 04:30
by tjuwangli
We konw that the PS always be VBR, but TS should be CBR,so when we make convert how can we select the TS bitrate(according to the PS bitrate) and guarantee the STB buffer do not overflow?

we have not tested the TS with STB, we may do it, thank you !

Posted: 25 Feb 2004 02:25
by Eric
You can find the define of exporting entry of modules in modules_inner.h

#define vlc_module_begin( ) \
DECLARE_SYMBOLS; \
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \
__VLC_SYMBOL(vlc_entry) ( module_t *p_module )

I think it's a nice way to invoke dlls.

I want to develop a interface for VLC in MSVC, but... the codes make me puzzled.

I wonder how the VLC modules entry work.