Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nest Camera Video Streaming in VLC player

Tags:

nest-api

I have got a public share nest camera address from my friend. Instead of using a web browser for seeing the video, I want to use a VLC player to video stream. This way allows me to use many other features of VLC to do video analytics on the video. How to do it?

like image 481
Santle Camilus Avatar asked Jun 23 '17 06:06

Santle Camilus


People also ask

How do I watch streaming video on VLC?

Open and Play a Stream Make sure you are using the latest version of the VLC player. Click Media on the task bar followed by Open Network Stream. This will open a prompt with a box for the network URL. Type your network URL into this box to retrieve the stream.

Can VLC player play RTSP stream?

Step 1: Download and install VLC Player from http://www.videolan.org/vlc/. Step 2: Open VLC player and select“Open Network Stream”from the Media menu. Step 3: Type the network URL in the dialog box below, and then click Play to play the video with RTSP stream.

Can I live stream my Nest camera?

Straight out of the box, your Google Nest camera or doorbell can stream live video in the Home app or Nest app at no additional cost.


2 Answers

I was able to do this in these steps:

  1. Go to the public video share URL. It should be something like this:

    http://video.nest.com/live/pSgnOZ0s4t
  2. If you use developer tool on chrome and see network traffic ....look for a URL with .m3u8 in the end... it will be something like this:

    https://stream-delta.dropcam.com/nexus_aac/37451e60aeac457f9800704f1662147e/playlist.m3u8
  3. Once you get that open that file in a text editor....you will get something like this inside the file

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=400816,CODECS="avc1.77.31,mp4a.40.2",RESOLUTION=1280x720
chunklist_w391480529.m3u8

The stream URL is then

https://stream-delta.dropcam.com/nexus_aac/37451e60aeac457f9800704f1662047e/chunklist_w391480529.m3u8

  1. Once you have this then install livestreamer to extract video like this:
livestreamer "hls://https://stream-delta.dropcam.com/nexus_aac/37451e60aeac457f9800704f1662047e/chunklist_w391480509.m3u8" best -o nest_video.ts
  1. This will save the file to your disk.

I used this to avoid nest aware subscription. Unfortunately, they charge so much for that service. When someone can just save the video to a disk and upload to a cheap cloud option...

like image 155
tymingala Avatar answered Oct 21 '22 23:10

tymingala


I wrote a page that takes a public Nest video url and returns an HLS media .m3u8 streaming url

get media url for nest/ dropcam cameras

like image 35
Sean Avatar answered Oct 21 '22 21:10

Sean