[vlc-devel] libvlc Issues and Questions
pdherbemont at free.fr
Sun Jun 15 15:12:23 CEST 2008
>>> 2. CDDA / DVDSimple / VCD
>>> In the latest builds none of these work (eg. "CDDA://E:", etc). In
>>> fact, in last nights build attempting to load any media results in
>>> exception in both libvlc_video_set_parent and
>> No idea.
> I'll stick to last night's build. When calling
> libvlc_media_player_play, to play a CD (cdda://E:) it triggers an
> error. I can trace the issue to libcdda_plugin.dll and an unhandled
> As for libvlc_video_set_parent, this was working on the nightly build
> done on the 9th, now it results in the following error:
> "Attempted to read or write protected memory. This is often an
> indication that other memory is corrupt."
> I checked all the inputs and they're fine and switching back to a
> earlier build corrects the issue.
Do you have a backtrace? I did change a bit the code. Also, a full
code sample would be nice.
>>> 3. Setting the Output Window
>>> libvlc_media_player_set_drawable does not function.
>> What version are you using? The good thing would be to provide a
>> sample code. It is highly probable that your video_output does not
>> support reading the "drawable" variable. We could look forward to fix
> I'm just wrapping the API. It calls this:
> window_handle, ref ex);
> The drawable variable is passed as an IntPtr (just an Int).
That would be nice to have a *full* (but small) C or .NET program that
exhibit how you proceed.
>>> 5. Getting the length of currently playing media
>>> There doesn't appear to be a media_player function for this.
>> I think there is a libvlc_media function.
>>> 6. Media_player Navigation
>>> Unable to locate Next, Previous, etc. Is there a different
>>> interface??? I've seen set_chapter() and and audio_set_track(),
>>> these be used instead?
>> There is no next, previous because it is not a media_list_player.
>> However with input that do provide menus and track, such as a dvd you
>> should be able to use set_chapter(), etc.
> Ok, that makes sense. I notice that VLC has the ability to populate
> playlists with the contents of a CD or DVD. Is this just a matter of
> using the API, or do I need to write my own code?
You should be able to use the media_list API for that.
>>> 7. Visualisations
>>> Unable to locate functions to enable this when playing a stream or
>> Unfortunately there isn't, appart if you pass the right vlc args to
>> libvlc or to libvlc_media_add_option.
> Do you have the options, or where I can find a list???
vlc --long-help or something like that.
>>> 8. Stop does not function as expected
>>> In previous versions of the libvlc API, calling the stop function
>>> would return the output window to its previous state.
>>> libvlc_media_player_stop has the effect of leaving the loaded
>>> media in
>>> the window frozen at the point when it was called.
> I'm assuming this is the vout issue that you mentioned.
Well, I have no idea here. You'll have to digg a bit.
More information about the vlc-devel