How to disable the video/audio outpu?

This forum is about all development around libVLC.
jackhuang
New Cone
New Cone
Posts: 7
Joined: 02 Apr 2013 11:18

How to disable the video/audio outpu?

Postby jackhuang » 15 May 2013 11:19

I use the python call the libvlc api. I want to disable the video/audio output window by set option in Mediaplayer object.
The code is working as my expection that no video window display and can go on play the url,
but for some url that for example in my code, MediaPlayer object can not play the url, In otherwise, If I remove the option for Mediaplay, It can go on play.

So Could anyone help me to take a look?

Code: Select all

import generated_vlc line_url='http://live.gslb.letv.com/gslb?stream_id=cctv1&tag=live&ext=m3u8&sign=live_ipad' mplay=generated_vlc.MediaPlayer(line_url.strip(),'no-video','noaudio') video_width=mplay.video_get_width() mplay.play()

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests