I use the following sourcecode to create 2 VLC players (using libvlc) in Python.
Code: Select all
inst1 = libvlc.Instance("--ignore-config", "--sout=#transcode{acodec=s16l,channels=2,samplerate=44100}:std{access=file,mux=raw,dst=/tmp/file1}")
inst2 = libvlc.Instance("--ignore-config", "--sout=#transcode{acodec=s16l,channels=2,samplerate=44100}:std{access=file,mux=raw,dst=/tmp/file2}")
mp1 = inst1.media_player_new()
mp2 = inst2.media_player_new()
[...]
Is this behaviour intended and is there any workaround for this other than setting the configuration for each Media object before invoking set_media on the player?
VLC version is 1.0.4 on Debian