Quit VLC if already running and unfreeze after playing

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
mohsin7998
New Cone
New Cone
Posts: 7
Joined: 08 Oct 2012 12:56

Quit VLC if already running and unfreeze after playing

Postby mohsin7998 » 18 Oct 2012 11:40

Hello Everybody.

I am having a weird problem with VLC in Python. Using the following things.

`import vlc

self.Instance = vlc.Instance() self.List = self.Instance.media_list_new() self.Player_d = self.Instance.media_list_player_new()`

I am using self.List.add_media(address of video) to populate the media list.

Then self.Player_d.set_media_list(self.List) and self.Player_d.play()

The problem is that VLC starts in a weird (YUV something) window, without any controls. Then freezes after playing the list. I have to use Task Manager to shut it down.

Can anybody point out the problem? I want to play the VLC with all controls.

Secondly, is there anyway of checking if VLC is already running, if running, then to quit and start a new instance of VLC.

Any help would be appreciated.

Mohsin

evasive
Blank Cone
Blank Cone
Posts: 49
Joined: 03 Jul 2012 16:52

Re: Quit VLC if already running and unfreeze after playing

Postby evasive » 18 Oct 2012 11:56

Does it do this with any video? It sounds like the file you are using has more than one video stream. Please check and verify.

mohsin7998
New Cone
New Cone
Posts: 7
Joined: 08 Oct 2012 12:56

Re: Quit VLC if already running and unfreeze after playing

Postby mohsin7998 » 18 Oct 2012 12:06

Thank you very much for the response.

It is the case with all files. The ones I am using are ".mov".


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests