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

This forum is about all development around libVLC.
peppy.player
Blank Cone
Blank Cone
Posts: 38
Joined: 10 Nov 2017 00:07

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

Postby peppy.player » 08 Sep 2019 20:41

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!

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests