How to stream Video using VLC in http to other computer

About encoding, codec settings, muxers and filter usage
vinayk9119
New Cone
New Cone
Posts: 3
Joined: 06 Dec 2020 17:39

How to stream Video using VLC in http to other computer

Postby vinayk9119 » 14 Dec 2020 18:08

I want to stream a video from my computer to another computer using ```http``` in ```vlc```. I have read the steps of how to do the streaming of the video from here
https://wiki.videolan.org/Documentation ... HowTo_New/
But here they have explain how you can stream from the PC and use the same one to receive the video but I want to stream to the other computer.

Here what steps I have followed till now:
1. Opening the ```VLC``` player
2. Clicked on ```stream``` from ```media``` menu.
3. Selected the file to stream.
4. Now it is showing me the full path of the video so I clicked on next.
5.Now in the destination setup window I choosed ```http``` from drop down menu and click on Add but here the problem is it is only giving me the option to choose the port number and giving some path but not giving the option of entering the ```IP``` address of the receiver side.

If I didn't give any IP so how it will know where to stream, If in the above step I just click on next after choosing port number it will show me to choose ```codec``` If i choose the codec then in the next screen it will give me the ```stream string output```, Now in this ```stream string output``` which is given below

```
:sout=#transcode{vcodec=hevc,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none}:duplicate{dst=http{mux=ffmpeg{mux=flv},dst=:8080/},dst=display} :no-sout-all :sout-keep
```
It is clearly visible that the ```dst=:8080``` but it didn't mention on which IP it should stream. I just want to know how can I add the IP so that destination will look like ```dst= myReceiverIP:port```.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to stream Video using VLC in http to other computer

Postby Rémi Denis-Courmont » 15 Dec 2020 15:43

Indeed, you cannot filter receivers by IP address. VLC will serve any client.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

acffilterece
Blank Cone
Blank Cone
Posts: 15
Joined: 01 Dec 2020 15:48
Operating System: Linux

Re: How to stream Video using VLC in http to other computer

Postby acffilterece » 15 Dec 2020 19:37

You could try setting up your firewall so that it only accepts connections from one specific IP address. Also, are you absolutely positively sure your PC is powerful enough to encode H.265 in real time?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests