{"id":442,"date":"2012-02-12T11:21:36","date_gmt":"2012-02-12T16:21:36","guid":{"rendered":"https:\/\/digitalmediaphile.com\/?p=442"},"modified":"2012-02-12T11:32:42","modified_gmt":"2012-02-12T16:32:42","slug":"diy-home-security-part-5-view-cams-in-windows-media-center","status":"publish","type":"post","link":"https:\/\/digitalmediaphile.com\/index.php\/2012\/02\/12\/diy-home-security-part-5-view-cams-in-windows-media-center\/","title":{"rendered":"DIY Home Security Part 5 &ndash; View Cams in Windows Media Center"},"content":{"rendered":"<p>I mentioned viewing my cameras in Smartvue for iPxxx devices in a previous post. I actually posted some <a href=\"https:\/\/digitalmediaphile.com\/index.php\/2010\/10\/12\/connecting-multiple-ip-cameras-to-windows-media-center\/\" target=\"_blank\">details<\/a> on how to do this and determine the right syntax for your particular camera some time ago. This includes a link to the iCam <a href=\"http:\/\/skjm.com\/icam\/mjpeg.php\" target=\"_blank\">web app<\/a> that interactively helps you determine the syntax. Thought it was worth mentioning in this series on DIY Home Security. I also wrote about viewing my cameras from inside WMC. <\/p>\n<p>The components I used for displaying the output of my cameras in the Windows Media Center interface are:<\/p>\n<ol>\n<li>an MCL file <\/li>\n<li>a PNG file for the Extras Tile <\/li>\n<li>an HTML file <\/li>\n<li>a background image file for the HTML file (I used a PNG file) <\/li>\n<\/ol>\n<p>I\u2019ve updated the MCL file and the PNG for the camera and authored an HTML file that I\u2019ve copied to <font color=\"#800000\">C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Accessories\\Media Center\\Media Center Programs<\/font>. For the background color, I added a PNG file that I created. Now I can see the output of my four cameras on a single screen inside the Windows Media Center interface. You\u2019ll find sample source code at the end of this post.<\/p>\n<p>My Cameras on the main level Extras Menu is shown in the following screen shot:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 10px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"wmc.cam1\" border=\"0\" alt=\"wmc.cam1\" src=\"https:\/\/digitalmediaphile.com\/wp-content\/uploads\/2012\/02\/wmc.cam1_.jpg\" width=\"500\" height=\"278\" \/><\/p>\n<p><!--more--><\/p>\n<p>And the view inside Windows Media Center is shown below:<\/p>\n<p>&#160;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 10px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"wmc.cam2\" border=\"0\" alt=\"wmc.cam2\" src=\"https:\/\/digitalmediaphile.com\/wp-content\/uploads\/2012\/02\/wmc.cam2_.jpg\" width=\"500\" height=\"286\" \/><\/p>\n<p>Here is sample code for the HTML file that is placed inside the folder:<\/p>\n<blockquote>\n<p>&#160;<\/p>\n<p>&lt;head&gt;      <br \/>&lt;meta content=&quot;en-us&quot; http-equiv=&quot;Content-Language&quot;&gt;       <br \/>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;30&quot;&gt;<\/p>\n<p>&lt;style type=&quot;text\/css&quot;&gt;      <br \/>a {       <br \/>&#160;&#160;&#160; color: #DDEEFF;       <br \/>}       <br \/>a:visited {       <br \/>&#160;&#160;&#160; color: #DDEEFF;       <br \/>}       <br \/>a:active {       <br \/>&#160;&#160;&#160; color: #DDEEFF;       <br \/>}       <br \/>a:hover {       <br \/>&#160;&#160;&#160; color: #FFFFFF;       <br \/>}       <br \/>.style3 {       <br \/>&#160;&#160;&#160; font-family:&quot;Segoe UI Semibold&quot;;       <br \/>&#160;&#160;&#160; font-size: x-large;       <br \/>&#160;&#160;&#160; font-weight: bold;       <br \/>}       <br \/>.style4 {       <br \/>&#160;&#160;&#160; font-family: &quot;Segoe UI Semibold&quot;;       <br \/>&#160;&#160;&#160; font-size: x-large;       <br \/>&#160;&#160;&#160; border-width: 0;       <br \/>&#160;&#160;&#160; text-align: center;       <br \/>}       <br \/>.style5 {       <br \/>&#160;&#160;&#160; border: 10px solid #FFFFFF;       <br \/>}       <br \/>.style6 {       <br \/>&#160;&#160;&#160; font-family: &quot;Segoe UI Semibold&quot;;       <br \/>&#160;&#160;&#160; font-size: x-large;       <br \/>&#160;&#160;&#160; text-align: center;       <br \/>}       <br \/>.auto-style1 {       <br \/>&#160;&#160;&#160; font-family: &quot;Segoe UI Semibold&quot;;       <br \/>}       <br \/>&lt;\/style&gt;       <br \/>&lt;\/head&gt;<\/p>\n<p>&lt;body style=&quot;color: #99CCFF; height: 826px; background-image: url(&#8216;wmcbackgrnd.png&#8217;);&quot;&gt;<\/p>\n<p>&lt;p class=&quot;style3&quot;&gt;&amp;nbsp;&lt;\/p&gt;<\/p>\n<p>&lt;table style=&quot;width: 800px&quot;&gt;      <br \/>&#160;&#160;&#160; &lt;tr&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;h2 class=&quot;auto-style1&quot;&gt;Loft Cam&lt;\/h2&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;\/td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;h2 class=&quot;auto-style1&quot;&gt;Living Room Cam&lt;\/h2&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;\/td&gt;       <br \/>&#160;&#160;&#160; &lt;\/tr&gt;       <br \/>&#160;&#160;&#160; &lt;tr&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;img alt=&quot;&quot;&#160; src=&quot;<a href=\"http:\/\/yourhostname.dyndns.xxx:1234\/image.jpg&quot;\">http:\/\/yourhostname.dyndns.xxx:1234\/image.jpg&quot;<\/a> width=&quot;360&quot;&gt;&lt;\/td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;img alt=&quot;&quot;&#160; src=&quot;<a href=\"http:\/\/yourhostname.dyndns.xxx:5678\/image\/jpeg.cgi?size=3&quot;\">http:\/\/yourhostname.dyndns.xxx:5678\/image\/jpeg.cgi?size=3&quot;<\/a> width=&quot;360&quot;&gt;&lt;\/td&gt;       <br \/>&#160;&#160;&#160; &lt;\/tr&gt;       <br \/>&#160;&#160;&#160; &lt;tr&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;&amp;nbsp;&lt;\/td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;&amp;nbsp;&lt;\/td&gt;       <br \/>&#160;&#160;&#160; &lt;\/tr&gt;       <br \/>&#160;&#160;&#160; &lt;tr&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;h2 class=&quot;auto-style1&quot;&gt;Hall Cam&lt;\/h2&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;\/td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;h2 class=&quot;auto-style1&quot;&gt;Dining Room Cam&lt;\/h2&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;\/td&gt;       <br \/>&#160;&#160;&#160; &lt;\/tr&gt;       <br \/>&#160;&#160;&#160; &lt;tr&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;img alt=&quot;&quot;&#160; src=&quot;<a href=\"http:\/\/yourhostname.dyndns.xxx:4321\/image.jpg&quot;\">http:\/\/yourhostname.dyndns.xxx:4321\/image.jpg&quot;<\/a> width=&quot;360&quot;&gt;&lt;\/td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;       <br \/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;img alt=&quot;&quot;&#160; src=&quot;<a href=\"http:\/\/yourhostname.dyndns.xxx:8765\/image\/jpeg.cgi?size=3&quot;\">http:\/\/yourhostname.dyndns.xxx:8765\/image\/jpeg.cgi?size=3&quot;<\/a> width=&quot;360&quot;&gt;&lt;\/td&gt;&#160;&#160;&#160; &lt;\/tr&gt;       <br \/>&lt;\/table&gt;<\/p>\n<\/blockquote>\n<p>And here is sample code used for thee *.mcl file<\/p>\n<p>&#160;<\/p>\n<blockquote>\n<p>&lt;application url=&quot;mycameras.html&quot;      <br \/>name=&quot;My Cameras&quot;       <br \/>bgcolor=&quot;RGB(255,255,255)&quot;       <br \/>startimage=&quot;.\\surveillance.png&quot;       <br \/>thumbnailImage=&quot;.\\surveillance.png&quot;       <br \/>sharedviewport=&quot;false&quot;&gt;       <br \/>&lt;\/application&gt;<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I mentioned viewing my cameras in Smartvue for iPxxx devices in a previous post. I actually posted some details on how to do this and determine the right syntax for your particular camera some time ago. This includes a link to the iCam web app that interactively helps you determine the syntax. Thought it was [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[47,89,19,25,44],"tags":[308],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"jetpack_publicize_connections":[],"featured_image_urls":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":""},"post_excerpt_stackable":"<p>I mentioned viewing my cameras in Smartvue for iPxxx devices in a previous post. I actually posted some details on how to do this and determine the right syntax for your particular camera some time ago. This includes a link to the iCam web app that interactively helps you determine the syntax. Thought it was worth mentioning in this series on DIY Home Security. I also wrote about viewing my cameras from inside WMC. The components I used for displaying the output of my cameras in the Windows Media Center interface are: an MCL file a PNG file for the&hellip;<\/p>\n","category_list":"<a href=\"https:\/\/digitalmediaphile.com\/index.php\/category\/connected-home\/\" rel=\"category tag\">Connected Home<\/a>, <a href=\"https:\/\/digitalmediaphile.com\/index.php\/category\/home-security\/\" rel=\"category tag\">Home Security<\/a>, <a href=\"https:\/\/digitalmediaphile.com\/index.php\/category\/media-center\/\" rel=\"category tag\">Media Center<\/a>, <a href=\"https:\/\/digitalmediaphile.com\/index.php\/category\/networking\/\" rel=\"category tag\">Networking<\/a>, <a href=\"https:\/\/digitalmediaphile.com\/index.php\/category\/windows-media-center\/\" rel=\"category tag\">Windows Media Center<\/a>","author_info":{"name":"barbbowman","url":"https:\/\/digitalmediaphile.com\/index.php\/author\/barbbowman\/"},"comments_num":"0 comments","jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pvFKI-78","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/posts\/442"}],"collection":[{"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/comments?post=442"}],"version-history":[{"count":0,"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/posts\/442\/revisions"}],"wp:attachment":[{"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/media?parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/categories?post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalmediaphile.com\/index.php\/wp-json\/wp\/v2\/tags?post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}