Stream Desktop via VLC - stream

I am trying to stream my desktop using VLC and watch the stream on anoter network. so this means that I can set up the stream on my home laptop and when i go to work, i can still view the stream from the work network.
I have so far done these steps:
Clicked on Stream in the media tab
Selected capture device
switched to Desktop and gave it 25 fps
clicked stream
selected the screen source
selected udp and pressed add
gave it an address and port
selected transcode
Selected Stream all...
Pressed Stream
Went on my 4G network on my phone and used the udp link on the vlc but it doesn't show the screen
It shows the screen on the same network
Know any reason why.

You must to do a port forward on your home router, so you can access the streaming laptop from anywhere

Related

How to stream RTMP direct from an android divice to a windows pc in the fild without any Network

i would like to stream Dron video from the controler (Dji mavic air 2 with a RC-N1 controler) via RTMP direktly from the controler/my Phone to my PC wihl i am in the fields without having any internet conection or an extra Network. Is that some how possible?
First, you still need a network. You can create a hotspot using a computer (laptop) or a device that connects to the RC-controller (phone, tablet).
Secondly, you need an RTMP server that will be located in this network. As a quick example, I can recommend MonaServer2, it is easy to install and run.
Thirdly, you need someone who will "listen" to the server when the stream comes to it. For example, you can use a VLC player. Launch it and specify RTMP stream as a source.
So, you start the RTMP-server, let's say it is located at 192.168.0.1:1935. On your device connected to the RC-controller, using the standard DJI-Fly application or your own app developed using Mobile SDK, select the option to start streaming, specify the address: rtmp://192.168.0.1:1935/live. Next, launch VLC-Player, select File->Open Network Stream and type rtmp://192.168.0.1:1935/live in URL field. Now you will be able to watch live-stream in your VLC window.
This is the fastest and easiest way I can recommend.
Also you can take raw h264 frames from camera, send them to decoder and do whatever you want. If you need some more info about it feel free to ask. Hope it helps!

Youtube - New Livestream does not start until i dismiss old one

I am streaming video from an IP camera to Youtube using the restreamer software (https://datarhei.github.io/restreamer/) running on a Raspberry Pi 4.
Actually everything works as well. But when the stream is interrupted (for whatever reason), a new livestream is created only when I click on the "Dismiss" button in Youtube Studio.
But since I want to start the new stream automatically, I'm looking for a way to execute the click on the button (or the associated command) via the Youtube API.
How can I execute this?
I will answer my own question because I found the problem description and a solution in another forum: https://obsproject.com/forum/threads/stream-didnt-show-error-or-load-to-youtube.130897/
Something has changed on youtube in the last few days, but the solution to manage a real streaming reconnection is this: from the youtube control room from the manage icon, you need to create a scheduled streaming. Start the encode on this stream and everything will work fine. If the connection drops, youtube will say streaming offline; when the connection is re-established, streaming restarts.

How to access video stream from an wyze camera using opencv in python from google cloud function?

I am trying to access wyze camera from google cloud function but its not working
Currently we cannot access wyze camera via web browser. So i researched a bit and found that Tinycam Pro app can be used to achieve it. I added the wyze camera to that app followed the steps and enabled its web server for remote access. Then i got an url like this - http://ip-address:8083.
If i access that link it took me to the webserver page, then i logged in and clicked on the 'All cameras' button, navigated to page where my camera is available to see the live video stream from wyze camera.
But i wasn't able to see it outside of my network.
So i did port forwarding. logged into my router and added rule with the below details :
public port - 8083 .
private port - 8083 .
protocol - TCP .
gave local ip address
After this i was able to access the webserver page from outside my network and click the 'All cameras' button, navigated to page where my camera is available to see the live video stream from wyze camera
When i try to access it in cloud function its not working
cap = cv2.VideoCapture("http://username:password#public ip address:8083/live?cameraId=102698986")
result, image = cap.read()
print(result)
Please advice.

Connecting to a "P2P Wifi camera"

I have a Chinese "P2P Wifi Camera" (model Q5) that i'd like to connect to from an iOS app.
The camera can operate in "LAN Mode" - in this mode i'm connecting from the phone/computer to the wifi network of the camera itself, and an app called "P2PCamViewer" displays the current picture.
However, i wasn't able to connect to it using my own code.
As far as i can tell, the camera doesn't respond to HTTP or RTSP requests, on any port (probed it using nmap). i also wasn't able to find any mac app that can connect to it.
I suspect the camera is somehow transmitting the data via a RTP stream, but i wasn't able to connect to it.
I've tried other similar cameras, but they seem also to operate in the same unknown protocol.
Ideally, i'd like to find a solution to connect to it from something like VLC, and then use VLCKit on my iOS app to connect to it.
Thanks!
If you just want to get the stream from the camera to your app, there are other ways.
Each IP Camera should have been configured with RTSP URI by the manufacturer. Check in their website or in user manual. For example: rtsp://192.168.0.5/video.
If you couldn't find the URI, refer this link for "How can I find the right RTSP URI for my IP camera?": http://ipcamlive.com/faqs.
Related software download link: https://sourceforge.net/projects/onvifdm/
Using this RTSP URI, you can use any RTSP player example and get the camera feed to your app.

IP video stream to HDMI

I need to stream a video via VLC from my computer, but i need to convert it from Ethernet to HDMI, for further distribution, i have this product
So, Are there any methods to convert IP to HDMI with keeping video stream compatible with that extender?
The product you reference, which is essentially a wireless HDMI link, takes a standard HDMI input.
You should only need to connect your HDMI output on your computer to the input on this device to have the video play on the screen connected to another instance of the product at the other end of the wireless HDMI connection.

Resources