Page 1 of 1

Python binding: Player created from binding doesn't work as a streaming server

Posted: 08 Sep 2019 20:41
by peppy.player
Hi,

If I'm creating player this way:

Code: Select all

from vlc import Instance instance = Instance("--sout=#transcode{acodec=flac}:std{access=http,mux=flac,dst=10.0.0.6:8080}") player = self.instance.media_player_new()
and then trying to play some file I cannot connect to the player as a streaming server. But the following command works fine from the command line:

Code: Select all

vlc -I dummy --dummy-quiet --sout=#transcode{acodec=flac}:std{access=http,mux=flac,dst=10.0.0.6:8080} wav-file.wav
I can connect to vlc as a streaming server.
I believe it was working fine some time ago (1-2 years ago?).

Created github issue: https://github.com/oaubert/python-vlc/issues/105

Thanks in advance!