Modifying settings on the fly
Posted: 17 Nov 2011 20:46
Hi!
I am using vlc Python bindings and I'd like to know whether it is possible to change settings on the fly while playing a media. For example:
p = vlc.MediaPlayer()
p.set_mrl('v4l2:///dev/video0')
p.play() #now video is playing and here I'd like to modify the mrl to 'v4l2:///dev/video0:width=320:height=240' without stopping the playback
p.set_mrl('v4l2:///dev/video0:width=320:height=240')
Other question is similar: can I turn on/off a video filter while playing a media?
Thanks for your responds.
biga.
I am using vlc Python bindings and I'd like to know whether it is possible to change settings on the fly while playing a media. For example:
p = vlc.MediaPlayer()
p.set_mrl('v4l2:///dev/video0')
p.play() #now video is playing and here I'd like to modify the mrl to 'v4l2:///dev/video0:width=320:height=240' without stopping the playback
p.set_mrl('v4l2:///dev/video0:width=320:height=240')
Other question is similar: can I turn on/off a video filter while playing a media?
Thanks for your responds.
biga.