Help me about the export function of VLC modules

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tjuwangli

Help me about the export function of VLC modules

Postby tjuwangli » 21 Feb 2004 02:56

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.

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 21 Feb 2004 16:54

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.
Zorglub
Clément Stenac

tjuwangli
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Feb 2004 14:49

Postby tjuwangli » 22 Feb 2004 04:30

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 !

Eric
New Cone
New Cone
Posts: 9
Joined: 23 Dec 2003 05:08

Postby Eric » 25 Feb 2004 02:25

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests