<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for John Deutscher</title>
	<atom:link href="http://blog.johndeutscher.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johndeutscher.com</link>
	<description>Ideas on technology and media</description>
	<lastBuildDate>Fri, 02 Dec 2011 17:17:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on SMPTE 12M Timecode Support for Silverlight by ltheonel</title>
		<link>http://blog.johndeutscher.com/2009/02/18/smpte-12m-timecode-support-for-silverlight/#comment-264</link>
		<dc:creator><![CDATA[ltheonel]]></dc:creator>
		<pubDate>Fri, 02 Dec 2011 17:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://johndeutscher.wordpress.com/2009/02/18/smpte-12m-timecode-support-for-silverlight/#comment-264</guid>
		<description><![CDATA[Hi John,

I want to offer an alternative to the timecode struct, I had issues when I needed to roll timecode across the midnight hour: I solved it by adding code to the bad format error code, it was a quick (ugly) fix. 

recently I was playing with extention methods and thought that it might be simpler to create timecode from the DateTime and Timespan classes in the CLR, in my case I am only interested in PAL 25fps so I created a couple of extention methods. I wondered if this would be a simpler approach?  So here are the few lines of code which I worte to extend DateTime and Timespan, hopefully it may be of use to someone.

public static partial class DateTimeExtentions
    {
        public static string ToTimecodeString(this DateTime DateTime)
        {
            return GetTimeCodeAsString(DateTime.TimeOfDay);
        }

        public static string ToTimecodeString(this TimeSpan TimeSpan)
        {
            return GetTimeCodeAsString(TimeSpan);
        }

        private static string GetTimeCodeAsString(TimeSpan TimeOfDay)
        {

            long framecount = AbsoluteTimeToFrames(TimeOfDay.TotalSeconds);
            int hours = Convert.ToInt32((framecount / 90000) % 24);
            int minutes = Convert.ToInt32((framecount - (90000 * hours)) / 1500);
            int seconds = Convert.ToInt32(((framecount - (1500 * minutes) - (90000 * hours)) / 25));
            int frames = Convert.ToInt32(framecount - (25 * seconds) - (1500 * minutes) - (90000 * hours));

            return FormatTimeCodeString(hours, minutes, seconds, frames);
        }

        private static string FormatTimeCodeString(int hours, int minutes, int seconds, int frames)
        {
            string framesSeparator = &quot;:&quot;;

            return string.Format(&quot;{0:D2}:{1:D2}:{2:D2}{4}{3:D2}&quot;, hours, minutes, seconds, frames, framesSeparator);
        
        }

        private static long AbsoluteTimeToFrames(double totalSeconds)
        {
            return Convert.ToInt64(25 * totalSeconds);
        }
    }]]></description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>I want to offer an alternative to the timecode struct, I had issues when I needed to roll timecode across the midnight hour: I solved it by adding code to the bad format error code, it was a quick (ugly) fix. </p>
<p>recently I was playing with extention methods and thought that it might be simpler to create timecode from the DateTime and Timespan classes in the CLR, in my case I am only interested in PAL 25fps so I created a couple of extention methods. I wondered if this would be a simpler approach?  So here are the few lines of code which I worte to extend DateTime and Timespan, hopefully it may be of use to someone.</p>
<p>public static partial class DateTimeExtentions<br />
    {<br />
        public static string ToTimecodeString(this DateTime DateTime)<br />
        {<br />
            return GetTimeCodeAsString(DateTime.TimeOfDay);<br />
        }</p>
<p>        public static string ToTimecodeString(this TimeSpan TimeSpan)<br />
        {<br />
            return GetTimeCodeAsString(TimeSpan);<br />
        }</p>
<p>        private static string GetTimeCodeAsString(TimeSpan TimeOfDay)<br />
        {</p>
<p>            long framecount = AbsoluteTimeToFrames(TimeOfDay.TotalSeconds);<br />
            int hours = Convert.ToInt32((framecount / 90000) % 24);<br />
            int minutes = Convert.ToInt32((framecount &#8211; (90000 * hours)) / 1500);<br />
            int seconds = Convert.ToInt32(((framecount &#8211; (1500 * minutes) &#8211; (90000 * hours)) / 25));<br />
            int frames = Convert.ToInt32(framecount &#8211; (25 * seconds) &#8211; (1500 * minutes) &#8211; (90000 * hours));</p>
<p>            return FormatTimeCodeString(hours, minutes, seconds, frames);<br />
        }</p>
<p>        private static string FormatTimeCodeString(int hours, int minutes, int seconds, int frames)<br />
        {<br />
            string framesSeparator = &#8220;:&#8221;;</p>
<p>            return string.Format(&#8220;{0:D2}:{1:D2}:{2:D2}{4}{3:D2}&#8221;, hours, minutes, seconds, frames, framesSeparator);</p>
<p>        }</p>
<p>        private static long AbsoluteTimeToFrames(double totalSeconds)<br />
        {<br />
            return Convert.ToInt64(25 * totalSeconds);<br />
        }<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IIS Transform Manager Beta &#8211; Using the MP4 to Smooth Task by Rodolfo Cristovao</title>
		<link>http://blog.johndeutscher.com/2011/04/29/iis-transform-manager-beta-using-the-mp4-to-smooth-task/#comment-252</link>
		<dc:creator><![CDATA[Rodolfo Cristovao]]></dc:creator>
		<pubDate>Mon, 24 Oct 2011 23:43:05 +0000</pubDate>
		<guid isPermaLink="false">https://johndeutscher.wordpress.com/2011/04/29/iis-transform-manager-beta-using-the-mp4-to-smooth-task/#comment-252</guid>
		<description><![CDATA[Hello John,
I was reading the iis smooth streaming with expression encoder then this post. Excellent work.

I have been looking into a way of allowing users to export clips from a live feed in real time. I managed to do that but only if i have a well converted mp4 file, then i can use code shop h264 streaming module, w/o reencoding.

To allow users to export clips from a live feed being saved to files at the same time is my next goal. Any ideas? I would like to provide a in and out so that they can adjust the trim. I&#039;m looking at the m3u8next.

Thanks, 
Rod]]></description>
		<content:encoded><![CDATA[<p>Hello John,<br />
I was reading the iis smooth streaming with expression encoder then this post. Excellent work.</p>
<p>I have been looking into a way of allowing users to export clips from a live feed in real time. I managed to do that but only if i have a well converted mp4 file, then i can use code shop h264 streaming module, w/o reencoding.</p>
<p>To allow users to export clips from a live feed being saved to files at the same time is my next goal. Any ideas? I would like to provide a in and out so that they can adjust the trim. I&#8217;m looking at the m3u8next.</p>
<p>Thanks,<br />
Rod</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SMPTE 12M Timecode Support for Silverlight by John Deutscher</title>
		<link>http://blog.johndeutscher.com/2009/02/18/smpte-12m-timecode-support-for-silverlight/#comment-242</link>
		<dc:creator><![CDATA[John Deutscher]]></dc:creator>
		<pubDate>Wed, 17 Aug 2011 21:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://johndeutscher.wordpress.com/2009/02/18/smpte-12m-timecode-support-for-silverlight/#comment-242</guid>
		<description><![CDATA[Oded,

Yes, still active. Just busy.  Depending on where you picked the timecode.cs file up from that was definitely a known issue.  I think it was fixed in the Microsoft Media Platform Editor code drops and if not I can try to post an updated version that I have. It was basically a rounding issue.]]></description>
		<content:encoded><![CDATA[<p>Oded,</p>
<p>Yes, still active. Just busy.  Depending on where you picked the timecode.cs file up from that was definitely a known issue.  I think it was fixed in the Microsoft Media Platform Editor code drops and if not I can try to post an updated version that I have. It was basically a rounding issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NAB 2010 and IIS Media Services by John Deutscher</title>
		<link>http://blog.johndeutscher.com/2010/04/17/nab-2010-and-iis-media-services/#comment-241</link>
		<dc:creator><![CDATA[John Deutscher]]></dc:creator>
		<pubDate>Wed, 17 Aug 2011 21:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://johndeutscher.wordpress.com/2010/04/17/nab-2010-and-iis-media-services/#comment-241</guid>
		<description><![CDATA[Aleksey, 
Did you get this resolved? Make sure you downloaded the right architecture version of the SDK.  If you are still having issues let me know as the SDK was tested to work with VS 2010.
We have not done any testing on VS 2011 betas]]></description>
		<content:encoded><![CDATA[<p>Aleksey,<br />
Did you get this resolved? Make sure you downloaded the right architecture version of the SDK.  If you are still having issues let me know as the SDK was tested to work with VS 2010.<br />
We have not done any testing on VS 2011 betas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NAB 2010 and IIS Media Services by Aleksey</title>
		<link>http://blog.johndeutscher.com/2010/04/17/nab-2010-and-iis-media-services/#comment-237</link>
		<dc:creator><![CDATA[Aleksey]]></dc:creator>
		<pubDate>Thu, 11 Aug 2011 02:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://johndeutscher.wordpress.com/2010/04/17/nab-2010-and-iis-media-services/#comment-237</guid>
		<description><![CDATA[Downloaded The Smooth Streaming Format SDK Beta 2 and tried to compile sample with VS2011, failed with tons of linker errors. I have all SDKs installed BTW. Any idea , if VS2010 compatible ?]]></description>
		<content:encoded><![CDATA[<p>Downloaded The Smooth Streaming Format SDK Beta 2 and tried to compile sample with VS2011, failed with tons of linker errors. I have all SDKs installed BTW. Any idea , if VS2010 compatible ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SMPTE 12M Timecode Support for Silverlight by odedshafran</title>
		<link>http://blog.johndeutscher.com/2009/02/18/smpte-12m-timecode-support-for-silverlight/#comment-236</link>
		<dc:creator><![CDATA[odedshafran]]></dc:creator>
		<pubDate>Sat, 06 Aug 2011 15:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://johndeutscher.wordpress.com/2009/02/18/smpte-12m-timecode-support-for-silverlight/#comment-236</guid>
		<description><![CDATA[Hi John,

I am not sure this blog is still active, but I have implemented your suggestion with TimeCode.cs for subtitle editor purposes.

When using 29.97 it works great, but in 24fps i have sometimes 1-2 frame offset between the real frame and the calculated frame from TimeCode. (I have watermarked frame counter on the movie itself - so I can compare results).

Any idea what can cause this? can this be related to this comment here where the calculation takes time more than 1 frame???

Thanks!]]></description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>I am not sure this blog is still active, but I have implemented your suggestion with TimeCode.cs for subtitle editor purposes.</p>
<p>When using 29.97 it works great, but in 24fps i have sometimes 1-2 frame offset between the real frame and the calculated frame from TimeCode. (I have watermarked frame counter on the movie itself &#8211; so I can compare results).</p>
<p>Any idea what can cause this? can this be related to this comment here where the calculation takes time more than 1 frame???</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IIS Media Services 4.0 Released! by Sergi Díaz</title>
		<link>http://blog.johndeutscher.com/2010/11/01/iis-media-services-4-0-released/#comment-216</link>
		<dc:creator><![CDATA[Sergi Díaz]]></dc:creator>
		<pubDate>Tue, 05 Apr 2011 14:20:16 +0000</pubDate>
		<guid isPermaLink="false">https://johndeutscher.wordpress.com/2010/11/01/iis-media-services-4-0-released/#comment-216</guid>
		<description><![CDATA[(I think you answered me on the Silverlight forum too, am I right?)

Actually, I&#039;m doing VOD now but the application will have live events too, so if it&#039;s different I&#039;d love to know it :).

Thanks!]]></description>
		<content:encoded><![CDATA[<p>(I think you answered me on the Silverlight forum too, am I right?)</p>
<p>Actually, I&#8217;m doing VOD now but the application will have live events too, so if it&#8217;s different I&#8217;d love to know it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IIS Media Services 4.0 Released! by John Deutscher</title>
		<link>http://blog.johndeutscher.com/2010/11/01/iis-media-services-4-0-released/#comment-214</link>
		<dc:creator><![CDATA[John Deutscher]]></dc:creator>
		<pubDate>Mon, 04 Apr 2011 16:04:18 +0000</pubDate>
		<guid isPermaLink="false">https://johndeutscher.wordpress.com/2010/11/01/iis-media-services-4-0-released/#comment-214</guid>
		<description><![CDATA[Planning a Beta at the end of April. No comment on RTW dates - as we just never comment on RTW dates as a policy at MSFT.]]></description>
		<content:encoded><![CDATA[<p>Planning a Beta at the end of April. No comment on RTW dates &#8211; as we just never comment on RTW dates as a policy at MSFT.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IIS Media Services 4.0 Released! by John Deutscher</title>
		<link>http://blog.johndeutscher.com/2010/11/01/iis-media-services-4-0-released/#comment-213</link>
		<dc:creator><![CDATA[John Deutscher]]></dc:creator>
		<pubDate>Mon, 04 Apr 2011 16:03:37 +0000</pubDate>
		<guid isPermaLink="false">https://johndeutscher.wordpress.com/2010/11/01/iis-media-services-4-0-released/#comment-213</guid>
		<description><![CDATA[Use the /Metadata verb after the .ism file URI.  
http://foo.bar.com/VOD/myfile.ism/Metadata
That will return the RDF in the / of the SMIL. 

I assume that this is for VOD only?]]></description>
		<content:encoded><![CDATA[<p>Use the /Metadata verb after the .ism file URI.<br />
<a href="http://foo.bar.com/VOD/myfile.ism/Metadata" rel="nofollow">http://foo.bar.com/VOD/myfile.ism/Metadata</a><br />
That will return the RDF in the / of the SMIL. </p>
<p>I assume that this is for VOD only?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IIS Media Services 4.0 Released! by Sergi Díaz</title>
		<link>http://blog.johndeutscher.com/2010/11/01/iis-media-services-4-0-released/#comment-212</link>
		<dc:creator><![CDATA[Sergi Díaz]]></dc:creator>
		<pubDate>Mon, 04 Apr 2011 13:01:29 +0000</pubDate>
		<guid isPermaLink="false">https://johndeutscher.wordpress.com/2010/11/01/iis-media-services-4-0-released/#comment-212</guid>
		<description><![CDATA[On &quot;Deliver RDF metadata from encoder to the client &quot;... maybe you know how to get that metadata from the client? I don&#039;t get an answer even from the official Silverlight forum :(.]]></description>
		<content:encoded><![CDATA[<p>On &#8220;Deliver RDF metadata from encoder to the client &#8220;&#8230; maybe you know how to get that metadata from the client? I don&#8217;t get an answer even from the official Silverlight forum <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
</channel>
</rss>

