Search found 12 matches

Go to advanced search

by Coleslaw
09 Oct 2019 22:13
Forum: VLC media player for Linux and friends Troubleshooting
Topic: mediaplayer behaviour when setting A/B points using Python API
Replies: 0
Views: 354

mediaplayer behaviour when setting A/B points using Python API

Hi, When using the VLC executable that comes with the package, after hitting button to set 'B' and initiate loop playback the player immediately goes to the 'A' point and begins playback as expected. However when doing the same in my python program using the vlc python api (vlc.py), the video immedi...
by Coleslaw
31 Oct 2018 19:28
Forum: VLC media player for Windows Troubleshooting
Topic: m4v file plays fine with desktop viewer but not via python api
Replies: 2
Views: 196

Re: m4v file plays fine with desktop viewer but not via python api

Please ignore my question, I found that yes indeed passing '--demux=m4v,mp4,wmv' solves the issue.
Thank you,
by Coleslaw
31 Oct 2018 00:58
Forum: VLC media player for Windows Troubleshooting
Topic: m4v file plays fine with desktop viewer but not via python api
Replies: 2
Views: 196

m4v file plays fine with desktop viewer but not via python api

As subject says,..have many .m4v files that play fine with the desktop app, vlc.exe. However, when I try to load & play them via the python api, they won't play, no message, no error. I can play .wmv/.mov files via python api just fine though. What am I doing wrong? Do I need to specify some '--...
by Coleslaw
27 Oct 2018 03:32
Forum: VLC media player for Windows Troubleshooting
Topic: vlc.py returns ""cannot initialize COM"
Replies: 10
Views: 8756

Re: vlc.py returns ""cannot initialize COM"

Hi Remi, Thank you for your reply.
Apologies if I was vague, but the solution that worked for me didn't require any modification to my code,
I simply installed 64-bit 2.2.8 and now it works,
Thank you again,
by Coleslaw
23 Oct 2018 22:20
Forum: VLC media player for Windows Troubleshooting
Topic: vlc.py returns ""cannot initialize COM"
Replies: 10
Views: 8756

Re: vlc.py returns ""cannot initialize COM"

Hi again Remi, thought you might want to know,
Continued to have difficulty getting 3.0.4 to work with PyQt4,...saw an earlier thread, uninstalled 3.0.4 and installed 2.2.8 (WeatherWax) and now it works.
Thank you,
by Coleslaw
23 Oct 2018 00:25
Forum: VLC media player for Windows Troubleshooting
Topic: vlc.py returns ""cannot initialize COM"
Replies: 10
Views: 8756

Re: vlc.py returns ""cannot initialize COM"

Ahh, yes, that was the problem I think..I found a 64 bit build of VLC here:

http://download.videolan.org/pub/videol ... 0.4/win64/

Now, the cdll() load call above works...

Sorry I didn't catch this earlier,...Thank you for your message, Cheers,
by Coleslaw
22 Oct 2018 23:51
Forum: VLC media player for Windows Troubleshooting
Topic: vlc.py returns ""cannot initialize COM"
Replies: 10
Views: 8756

Re: vlc.py returns ""cannot initialize COM"

hmm, i think this may be my problem, (run in Cygwin) > python -i Python 2.7.7 (default, Jun 1 2014, 14:21:57) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from ctypes import cdll >>> lib = cdll...
by Coleslaw
22 Oct 2018 22:27
Forum: VLC media player for Windows Troubleshooting
Topic: vlc.py returns ""cannot initialize COM"
Replies: 10
Views: 8756

Re: vlc.py returns ""cannot initialize COM"

Hi again,..I'm using a 64-bit build of Python 2.7, I thought there was a 64-bit version of VLC, but now I'm not so sure...

Would ctypes() in the 64-bit Python have issues loading a 32-bit libvlc.ddl ?
Is there a 64-bit build of VLC ?

Thank you,
by Coleslaw
22 Oct 2018 21:29
Forum: VLC media player for Windows Troubleshooting
Topic: vlc.py returns ""cannot initialize COM"
Replies: 10
Views: 8756

Re: vlc.py returns ""cannot initialize COM"

Hi Remi, Thank you for your reply. Could you elaborate a bit more on your answer? I don't do a lot of Win-specific programming... While I do know what 'COM' is generally speaking and encountered it a few times over the years, I'm not familiar with the term 'COM STA', though I did google it, etc ;-) ...
by Coleslaw
20 Oct 2018 00:22
Forum: VLC media player for Windows Troubleshooting
Topic: vlc.py returns ""cannot initialize COM"
Replies: 10
Views: 8756

Re: vlc.py returns ""cannot initialize COM"

Just to clarify further,..

My app imports vlc.py (just simply import vlc)...

That actual error message I believe originates from mmdevice.c

I am not (re-)compiling the original source of VLC,...vlc.py finds & loads libvlc.dll,etc..

Thank you,
by Coleslaw
19 Oct 2018 23:54
Forum: VLC media player for Windows Troubleshooting
Topic: vlc.py returns ""cannot initialize COM"
Replies: 10
Views: 8756

vlc.py returns ""cannot initialize COM"

I've written a PyQt4 app that uses VLC. I've primarily developed it on a Linux machine but it's intended for use on Win7-64 host. When run on Linux, works fine. When run on Win7, the exact same code returns the following error message: >> plugin path: C:\Program Files\VideoLAN\VLC >> Warning: option...

Go to advanced search