Jump to content

Streaming Webcam with VLC

Go to solution Solved by rex8,

Teamviewer / VNC can fit the desktop part. And the OP doesn't exactly mirror the fact you want to access it on Android and PC. For PC you can probably stream it using VLC (VLC -> File -> from Stream), for Android you can probably use MX Player. Get your local IP on Linux, then go to / tell VLC/MX to stream from that link. If you're streaming how most webcams do, that would work. This is a crude example of how to get your internal IP. If you wanted to do / access it externally, you'd need to forward the appropriate ports, and get your external IP (from a site like https://www.whatismyip.com/) and then do externalip:port (so, like, 8.8.8.8:9091).

 

tl;dr:

If internal network: internalip:camport in VLC or MX player.

If external network: externalip:camport in the player.

I forwarded the ports and know how to get all of my ip info with a couple terminal commands. I just didn't know how to access it. Thanks. 

I just figured out how to setup my webcam to stream over HTTP with port 8080 using VLC.. I used sudo netstat -nap | grep 8080 and everything seems to be working fine.. My question is, how do I access my live stream from another computer? I've never remotely connected to my pc before and need to know a good way to do this. I'm using Ubuntu 14.04 Lts. 

-RARE inc-

Link to comment
https://linustechtips.com/topic/457938-streaming-webcam-with-vlc/
Share on other sites

Link to post
Share on other sites

Get the IP of the computer you're trying to access. Go to / stream from computerIP:1080. So if the machine's IP is 192.168.0.15, I'd stream from/go to 192.168.0.15:8080.

ifconfig should give you some data regarding your network connections + internal IP.

Link to post
Share on other sites

Get the IP of the computer you're trying to access. Go to / stream from computerIP:1080. So if the machine's IP is 192.168.0.15, I'd stream from/go to 192.168.0.15:8080.

ifconfig should give you some data regarding your network connections + internal IP.

I want to access my computer from a windows computer or android. I've read some about PuTTy with ssh, but I'm still lost. I'll look for a good step by step tutorial.

-RARE inc-

Link to post
Share on other sites

I want to access my computer from a windows computer or android. I've read some about PuTTy with ssh, but I'm still lost. I'll look for a good step by step tutorial.

How do you want to access it? Do you want to access its terminal? Do you want to access the desktop (GUI)? Do you want to access the files? The webcam? etc.

Link to post
Share on other sites

How do you want to access it? Do you want to access its terminal? Do you want to access the desktop (GUI)? Do you want to access the files? The webcam? etc.

Accessing the desktop would be cool, but I only need to access my webcam. Ubuntu 14.04 lts

-RARE inc-

Link to post
Share on other sites

Accessing the desktop would be cool, but I only need to access my webcam. Ubuntu 14.04 lts

Teamviewer / VNC can fit the desktop part. And the OP doesn't exactly mirror the fact you want to access it on Android and PC. For PC you can probably stream it using VLC (VLC -> File -> from Stream), for Android you can probably use MX Player. Get your local IP on Linux, then go to / tell VLC/MX to stream from that link. If you're streaming how most webcams do, that would work. This is a crude example of how to get your internal IP. If you wanted to do / access it externally, you'd need to forward the appropriate ports, and get your external IP (from a site like https://www.whatismyip.com/) and then do externalip:port (so, like, 8.8.8.8:9091).

 

tl;dr:

If internal network: internalip:camport in VLC or MX player.

If external network: externalip:camport in the player.

Link to post
Share on other sites

Teamviewer / VNC can fit the desktop part. And the OP doesn't exactly mirror the fact you want to access it on Android and PC. For PC you can probably stream it using VLC (VLC -> File -> from Stream), for Android you can probably use MX Player. Get your local IP on Linux, then go to / tell VLC/MX to stream from that link. If you're streaming how most webcams do, that would work. This is a crude example of how to get your internal IP. If you wanted to do / access it externally, you'd need to forward the appropriate ports, and get your external IP (from a site like https://www.whatismyip.com/) and then do externalip:port (so, like, 8.8.8.8:9091).

 

tl;dr:

If internal network: internalip:camport in VLC or MX player.

If external network: externalip:camport in the player.

I forwarded the ports and know how to get all of my ip info with a couple terminal commands. I just didn't know how to access it. Thanks. 

-RARE inc-

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×