How to stream Video using VLC in http to other computer
Posted: 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```.
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```.