Showing posts with label RTMP. Show all posts
Showing posts with label RTMP. Show all posts

Friday, November 25, 2016

LOW-COST VIDEO STREAMING WITH A WEBCAM AND RASPBERRY PI

http://hackaday.com/2016/11/25/low-cost-video-streaming-with-a-webcam-and-raspberry-pi/


http://videos.cctvcamerapros.com/raspberry-pi/ip-camera-raspberry-pi-youtube-live-video-streaming-server.html


Spoiler Alert, Basically they use the Raspberry Pi to connect to the CCTV IP camera over RTSP and then send a live stream up to youtube. Up, out though your firewall and NAT to youtube or any service that will accept RTMP.

Most of this is a good NOVICE GUIDE to setting up and configuring the Pi and buying a IP camera from them.

  1. You can download the source code for the BASH script here.

#!/bin/bash

SERVICE="ffmpeg"
RTSP_URL="rtsp://192.168.0.119:554/video.pro1"
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
YOUTUBE_KEY="dn7v-5g6p-1d3w-c3da"

COMMAND="sudo ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i ${RTSP_URL} -tune zerolatency -vcodec libx264 -t 12:00:00 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv ${YOUTUBE_URL}/${YOUTUBE_KEY}"

if sudo /usr/bin/pgrep $SERVICE > /dev/null
then
        echo "${SERVICE} is already running."
else
        echo "${SERVICE} is NOT running! Starting now..."
        $COMMAND
fi


They have a bunch of neat Pi Video projects on their web site.
http://videos.cctvcamerapros.com/raspberry-pi

Thursday, August 18, 2011

Audio/video stream recording forums

Audio/video stream recording forums
http://stream-recorder.com/forum/


There is a good thread about  rtmpdump and other topics related to capturing flash video and other streaming video sources.

Friday, June 24, 2011

Encrypted Real Time Messaging Protocol (RTMPE or RTMPTE)

Encrypted Real Time Messaging Protocol (RTMPE or RTMPTE) from Adobe.


It is implemented in flash player 9.0.115 and some versions of Flash Media Server 3.

This technique is used by the Hulu desktop player. 

Streamed content is encrypted by the Flash Media Server "on the fly", so that there is no need to encrypt the source file (a significant difference from Microsoft's DRM). For transmission ("streaming"), a special protocol is required: either RTMPE or RTMPS.
RTMPS uses SSL-encryption. In contrast, RTMPE is designed to be simpler than RTMPS, by removing the need to acquire an SSL Certificate. RTMPE uses Diffie-Hellman key exchange and HMACSHA256, generating a pair of RC4 keys.

One of which is then used to encrypt the stream from the server , while the other key is used to encrypt any data sent to the server. RTMPE caused less CPU-load than RTMPS on the Flash Media Server.

The Adobe RTMPE algorithm tries to provide end-to-end secrecy in exactly the same way that SSL provides end-to-end secrecy,
but the algorithm is subject to man-in-the-middle attacks, provides no security, relies on publicly obtainable information and the algorithm
itself to obfuscate the content, and uses no authentication of any kind.

Specification: http://lkcl.net/rtmp/RTMPE.txt

Wikipedia: Protected Streaming
Whitepaper by Adobe

http://www.rtmpe.com/forum/ 

A usfull utility for working with these streams is rtmpdump.
It's a toolkit for RTMP streams. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.

Friday, December 04, 2009

Download flash streaming web video content.

http://www.applian.com/  record/download/rip
 

You can capture Hulu videos, record Skype calls, Record Sirius™ and XM™ Radio, download streaming video clips from Windows Media™, Real™ and Flash™ formats.



They have 2 product of interest:
Replay Capture Suite & Replay Media Catcher


With Replay Media Catcher


Download media from Flash Video, Windows Media and Wowza servers, including any site that uses the HTTP, HTTPS, MMS, RTSP, and RTMP protocols. Replay Media Catcher does not support Adobe Secure RTMP Measures.
For capturing online video, you can download videos from millions of popular places, including:
  • YouTube
  • MySpace
  • Daily Motion
  • iFilm
  • Metacafe
  • TV Show sites.
  • Movie sites.
For a complete list see http://applian.com/recording_solutions/show_RCAT.php 

Tuesday, October 13, 2009

save RTMP streams as raw FLV's

If you've ever needed to download video that's distributed in a Flash application, you may have encountered a scenario where the video is being streamed via RTMP instead of progressively downloaded over HTTP. Luckily, there's application called rtmpdump which, as its name suggests, is able to dump an RTMP stream as if you had downloaded a standard FLV.

After downloading and building the source, you can save the contents of an RTMP stream with the following command, replacing the RTMP url and the desired output file name:
rtmpdump -r rtmp://hotname[:port]/path -o output.flv
The program is distributed with a Perl script called get_iplayer, which apparently used to be capable of quickly finding Hulu streams and passing them to rtmpdump, but it looks like this feature isn't currently working due to a recent Hulu obfuscation switcheroo. My fingers are crossed that this will be available again soon, but until then, the tool is still useful for pulling content from RTMP urls that you know about.

rtmpdump

Wednesday, May 13, 2009

Akamai CEO: The Online-Video Tipping point is here.

NEW YORK (AdAge.com) -- How big of a game changer will the online video watching ultimately be for the television industry? And when will those changes really start to happen big time? According to Akamai CEO Paul Sagan, we're watching the tipping point occur right now and sweeping industry upheaval may come sooner and more dramatically then many imagine. Mr. Sagan was Keynote speaker at this week's Streaming Media East conference.

SEE VIDEO CLIP

-- my comment --
With Adobe offering TV vendors to incorporate flash for free in to New TV Sets, TV will be able to play web video clips directly from the internet without interference from Cable TV providers and without a special Set Top Box or even a PC, I expect this is really the Tipping point!