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()