Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Capturing and processing a live RTMP stream

Writer Andrew Mclaughlin

I'm trying to download a live stream (not a file) coming from a live camera feed available at the following website: .

I used Wireshark for sniffing the TCP packets and was able to extract the RTMP parameters, but wasn't able to use them with FFMPEG/VLC for downloading / playing the stream on VLC (I guess I didn't construct the URL correctly).

for example, for the camera feed available here, I got the following parameters:

  1. swfUrl:
  2. pageUrl..Ehttp:// N17_at_Saratoga_Rd.html
  3. tcUrl: rtmp://wzmedia.dot.ca.gov:1935/D4
  4. Play : E37_at_Lakeville_Rd.stream.

Is there a chance someone is familiar with this and can help with understanding how I can use the above for downloading the stream?

Thanks a lot! Yaniv

1 Answer

You only need the RTMP url (which is combined from the server connection url and stream name). Use this command:

ffmpeg -i rtmp://wzmedia.dot.ca.gov:1935/D4/E37_at_Lakeville_Rd.stream your_output.mp4

or open vlc with the RTMP url.

More about RTMP url format.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy