WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

VLC-ActiveX Kein Zugriff auf Methoden etc.

 

Bibonaut
Forum-Fortgeschrittener

Forum-Fortgeschrittener


Beiträge: 60
Anmeldedatum: 06.06.13
Wohnort: Berlin
Version: 2013a
     Beitrag Verfasst am: 20.09.2013, 11:15     Titel: VLC-ActiveX Kein Zugriff auf Methoden etc.
  Antworten mit Zitat      
Hallo liebste Matlab-Gemeinde,

ich möchte den VLC-Player in Matlab verwenden, scheiter allerdings schon beim Zugriff auf das mit actxcontrol erzeugte Objekt.


Code:

fig1 = figure('position', [100 100 500 500]);%fig erstellen
vlc = actxcontrol('VideoLAN.VLCPlugin.2', [0 100 500 400], fig1)
 

und
Code:

vlc.versionInfo
 

liefert dann
Code:

"Undefined function 'versionInfo' for input arguments of type
'COM.VideoLAN_VLCPlugin_2'."
 

Auch auf vlc.playlist etc. kann ich nicht zugreifen.

Die einzigen mir zur Verfügung stehenden Methoden sind:
Code:

>>methods(vlc)
Methods for class COM.VideoLAN_VLCPlugin_2:

addproperty      events           load             save            
constructorargs  get              move             send            
delete           interfaces       propedit         set              
deleteproperty   invoke           release          
 


Um einen grundlegenden Fehler meinerseits auszuschließen, habe ich es mit dem Windows Media Player probiert und dort klappt der Zugriff auf das Objekt.

Es existiert auch noch eine zweite ProgID vom VLC: VideoLAN.VLCPlugin.1
Damit funktioniert es aber auch nicht.

Hier noch zur Info der Link zur Doku von VLC:
https://wiki.videolan.org/Documentation:WebPlugin/

Mein OS: Windows 7 32-bit
Mein Matlab: 2013a;
Mein VLC: 2.0.8 Twoflower

Ich danke im Voraus vielmals für eure Hilfe!
Alex
Private Nachricht senden Benutzer-Profile anzeigen


Gast



Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 06.12.2013, 17:29     Titel:
  Antworten mit Zitat      
My German is rusty, so I'll respond here in English.

I had the same problem as you, on Windows XP 32bit. It was good to hear someone else with a similar, as it narrowed down the possible reasons for the problem.

It turns out that there is something wrong with the ActiveX plugin in many of the newer versions of VLC, including the latest released one (2.1.1). See for example https://forum.videolan.org/viewtopic.php?f=16&t=111535 .

I downloaded a nightly build (alpha version) of VLC from http://nightlies.videolan.org and now I can properly use and play videos using VLC from Matlab. Note that these nightly versions of VLC are developer builds, so there is no guarantee that it will be stable or behave badly, so try this at your own risk.

The version I got was the latest at the moment, vlc-2.2.0-git-20131206-1349-win32.exe, but I don't know if any version is better than any other.

Maybe this solution is too late for you, but perhaps someone else looking for a solution can benefit from this info. Smile
 
Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2025 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.