Recording a batc.tv stream

From BATC Wiki
Revision as of 15:33, 24 March 2016 by G8GTZ (talk | contribs) (Created page with "=== Linux Only and Requires rtmpdump === rtmpdump --live -r "rtmp://batc.tv/live/<stream-id>/<stream-id>" -o output.flv rtmpdump will print any metadata associated with the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Linux Only and Requires rtmpdump

rtmpdump --live -r "rtmp://batc.tv/live/<stream-id>/<stream-id>" -o output.flv

rtmpdump will print any metadata associated with the stream, often containing a description of the hardware being used to capture/encode the video.

output.flv will contain the same codecs used by the stream encoder, and should be playable in VLC or similar media players.

Finding the stream id

On the batc.tv stream page, view the HTML source and look for the following snippet:

<embed src="http://www.batc.tv/player/BATCPlayer.swf" width="320" height="310" quality="high" allowFullScreen="true"
FlashVars="vol=1.0&video=q8d92qrx&islive=true&auto=true" name="main" align="middle" allowScriptAccess="sameDomain" 
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" />

The stream id is in the FlashVars as "&video=<stream-id>&..", and here can be seen in this example to be q8d92qrx.