{"id":1824,"date":"2012-10-31T11:24:53","date_gmt":"2012-10-31T16:24:53","guid":{"rendered":"http:\/\/www.walking-productions.com\/notslop\/?p=1824"},"modified":"2012-10-31T12:07:35","modified_gmt":"2012-10-31T17:07:35","slug":"using-wirecasts-generic-ip-camera-from-any-h-264-stream-in-wowza","status":"publish","type":"post","link":"http:\/\/www.walking-productions.com\/notslop\/2012\/10\/31\/using-wirecasts-generic-ip-camera-from-any-h-264-stream-in-wowza\/","title":{"rendered":"Bringing in a generic H.264 stream to Wirecast (via Wowza and Wirecast&#8217;s Generic IP Camera support)"},"content":{"rendered":"<p><a href=\"http:\/\/www.telestream.net\/wirecast\/overview.htm\">Wirecast<\/a> is truly a studio in a box.  It has a great support for multiple cameras, mixing live and recorded sources, graphic overlays and so on.  Recent versions even allow you to bring in live feeds from IP cameras including support for specific <a href=\"http:\/\/www.axis.com\">Axis cameras<\/a>.<\/p>\n<p>Since I am a big fan of IP cameras and Axis in particular this is great news.  Unfortunately Wirecast doesn&#8217;t have direct support for most models and I had to dig quite a bit to get things to work using their &#8220;Generic&#8221; IP camera support.<\/p>\n<p>First test was to get a straight H.264 encoded into Wowza and then out to Wirecast.  To do this, I used the Flash Media Live Encoder and set it publish to &#8220;rtmp:\/\/localhost:1935\/img&#8221; (I have Wowza running on my local machine and an application called &#8220;img&#8221; which is a copy of <a href=\"http:\/\/www.wowza.com\/forums\/content.php?36\">Wowza&#8217;s &#8220;live&#8221; application<\/a>).  I set the Stream name in FMLE to &#8220;media.sav&#8221; which is what Wirecast is looking for by default.  <\/p>\n<p>In Wirecast&#8217;s Source Settings, I added a new IP Camera and set it&#8217;s IP address to: &#8220;127.0.0.1:1935&#8221; and choose &#8220;Generic&#8221; as the type.<\/p>\n<p>Viola!  It works, the video is being captured and encoded by FMLE, sent to Wowza and pulled into Wirecast as a Generic IP camera.  In this manner, I can have live cameras via FMLE from anywhere in the world brought live into my final stream.<br \/>\n<!--\nNext up is getting an Axis camera to show up with a specific stream name via Wowza so that Wirecast can pull it in.\n\nI have a few Axis Q1755 cameras that I would like to pull in.  I am using a URL something like this to pull a live stream from them:\n\n\"rtsp:\/\/cam_username:password@x.x.x.x\/axis-media\/media.amp?videocodec=h264&resolution=320x240&audio=1&duration=0&fps=15&videobitrate=500&videomaxbitrate=500&videokeyframeinterval=30&compression=30&color=1&clock=0&date=0&text=0\"\n\nFirst, in Wowza's content directory, I created an alias to the above stream called \"media.sav\" then using Wowza's Stream Manager interface, I can start the stream running on the \"img\" application.\n\nUnfortunately, while the request seems to be coming through and the stream from the camera is being sent, Wirecast isn't happy just yet.\n--><\/p>\n<p>(Big thanks to Steve McFarlin the developer of the <a href=\"http:\/\/stevemcfarlin.com\/livu\/index.html\">LiveU iPhone broadcasting app<\/a> for his post on <a href=\"http:\/\/forum.telestream.net\/forum\/messageview.aspx?catid=45&#038;threadid=8887\">Wirecast&#8217;s Forum<\/a> detailing how he got his software working.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wirecast is truly a studio in a box. It has a great support for multiple cameras, mixing live and recorded sources, graphic overlays and so on. Recent versions even allow you to bring in live feeds from IP cameras including support for specific Axis cameras. Since I am a big fan of IP cameras and &hellip; <a href=\"http:\/\/www.walking-productions.com\/notslop\/2012\/10\/31\/using-wirecasts-generic-ip-camera-from-any-h-264-stream-in-wowza\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Bringing in a generic H.264 stream to Wirecast (via Wowza and Wirecast&#8217;s Generic IP Camera support)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,76,15,41,4,45,13,42],"tags":[],"class_list":["post-1824","post","type-post","status-publish","format-standard","hentry","category-development","category-flash","category-hardware","category-itp","category-networking","category-news","category-streaming-and-multi-media","category-video"],"_links":{"self":[{"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/posts\/1824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/comments?post=1824"}],"version-history":[{"count":5,"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/posts\/1824\/revisions"}],"predecessor-version":[{"id":1826,"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/posts\/1824\/revisions\/1826"}],"wp:attachment":[{"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/media?parent=1824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/categories?post=1824"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.walking-productions.com\/notslop\/wp-json\/wp\/v2\/tags?post=1824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}