<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Entries tagged with avs2asf</title>
    <atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Tags/avs2asf/RSS"/>
    <itunes:summary></itunes:summary>
    <itunes:author>Microsoft</itunes:author>
    <itunes:subtitle></itunes:subtitle>
    <image>
      <url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
      <title>Channel 9 - Entries tagged with avs2asf</title>
      <link>http://channel9.msdn.com/Tags/avs2asf</link>
    </image>
    <itunes:image href=""/>
    <itunes:category text="Technology"/>
    <description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
    <link>http://channel9.msdn.com/Tags/avs2asf</link>
    <language>en</language>
    <pubDate>Sun, 12 Feb 2012 10:36:13 GMT</pubDate>
    <lastBuildDate>Sun, 12 Feb 2012 10:36:13 GMT</lastBuildDate>
    <generator>Rev9</generator>
    <c9:totalResults>1</c9:totalResults>
    <c9:pageCount>1</c9:pageCount>
    <c9:pageSize>25</c9:pageSize>
  <item>
      <title>AVS2ASF &amp;ndash; Open Source VC-1 Encoder SDK application</title>
      <description><![CDATA[ <p>As you may recall, we released the <a shape="rect" href="http://on10.net/blogs/benwagg/20613/" target="_blank" shape="rect">VC-1 Encoder SDK Professional as as free download</a>. That included a very basic command-line encoder along the lines of Alex Zambelli’s <a shape="rect" href="http://citizeninsomniac.com/WMV/#WMCmdhttp://citizeninsomniac.com/WMV/#WMCmd" target="_blank" shape="rect">WMCmd.vbs</a>, but with much more limited input support and no preprocessing.</p><p>A fellow called <a shape="rect" href="http://forum.doom9.org/member.php?u=19312" target="_blank" shape="rect">Kurtnoise13</a> jumped on it on the Doom9 Forums discussion about the SDK. He quickly created a <a shape="rect" href="http://kurtnoise.free.fr/index.php?dir=&amp;search=avs2asf&amp;search_mode=f" target="_blank" shape="rect">new version</a> that supports <a shape="rect" href="http://avisynth.org/mediawiki/Main_Page" target="_blank" shape="rect">AVISynth</a> files as source as well. The syntax for a simple PAL 1.2 Mbps encode (from the ReadMe) looks like:</p><div><div><pre>AVS2ASF -i VideoWithAudio.avs -o file.asf -framerate 25 -rate 1200 -profiletype 2 -bframes 2 -maxkeydist 6 -vbv 300000 -peakrate 2000 -pr AudioEncode.prx</pre></div></div><p>Be warned that while the syntax looks a lot like WMCmd.vbs the details can be deceptively different. In particular, units can be different (Kbps instead of bps makes a big difference!). Also, since the VC-1 Encoder SDK is video only, a PRX file defining the audio setting also has to be used; the Format SDK is called to encode audio and mux to WMV.</p><p>AS2ASF also supports elementary stream output, so it’s able to generate a .vc1 file for Blu-ray authoring.</p><p>For those not familiar with it, AVISynth is an open source frameserver that dynamically processes video and lets it look like any DirectShow source to other tools. This means that intermediate files aren’t needed – an AVISynth “.avs” script can define the source and all the processing to apply to it. And there’s a huge community of AVS plugins to handle new format times and processing modes; almost any kind of file out there can be handled by AVISynth, and almost any kind of processing you’d like to apply is available. For a simple example, the below script</p><ul><li>Opens a PNG sequence at 24 fps </li><li>Associates a WAV file with it </li><li>Crops it from 640x360 to 640x352 </li><li>Outputs it in YV12 (8-bit 4:2:0) </li></ul><div><pre>a=imageSource(<span>&quot;D:\Elephant's Dream\PNG 360\%05d.png&quot;</span>,1,15691,24)b=wavsource(<span>&quot;D:\Elephant's Dream\ED-CM-St-16bit.wav&quot;</span>)audiodub(a,b)crop (0,4,0,-4) # crop height 352ConvertToYV12()</pre></div><p>Anyway, I wanted to highlight this technology. The source code is available as a Visual Studio project, and I’d love to see other members of the community continue to enhance it.</p><p>A few things that’d be cool:</p><ul><li>A simple batch automation GUI </li><li>A simple automatic AVS generator, so a .avi or .mov file could be specified as source and the right AVS to wrap it could be build on the fly. </li></ul> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/avs2asf/RSS&WT.dl=0&WT.entryid=Entry:RSSView:80c8420b7c764493b5f39e1000b18181">]]></description>
      <comments>http://channel9.msdn.com/Blogs/benwagg/AVS2ASF-ndash-Open-Source-VC-1-Encoder-SDK-application</comments>
      <itunes:summary> As you may recall, we released the VC-1 Encoder SDK Professional as as free download. That included a very basic command-line encoder along the lines of Alex Zambelli’s WMCmd.vbs, but with much more limited input support and no preprocessing.A fellow called Kurtnoise13 jumped on it on the Doom9 Forums discussion about the SDK. He quickly created a new version that supports AVISynth files as source as well. The syntax for a simple PAL 1.2 Mbps encode (from the ReadMe) looks like:AVS2ASF -i VideoWithAudio.avs -o file.asf -framerate 25 -rate 1200 -profiletype 2 -bframes 2 -maxkeydist 6 -vbv 300000 -peakrate 2000 -pr AudioEncode.prxBe warned that while the syntax looks a lot like WMCmd.vbs the details can be deceptively different. In particular, units can be different (Kbps instead of bps makes a big difference!). Also, since the VC-1 Encoder SDK is video only, a PRX file defining the audio setting also has to be used; the Format SDK is called to encode audio and mux to WMV.AS2ASF also supports elementary stream output, so it’s able to generate a .vc1 file for Blu-ray authoring.For those not familiar with it, AVISynth is an open source frameserver that dynamically processes video and lets it look like any DirectShow source to other tools. This means that intermediate files aren’t needed – an AVISynth “.avs” script can define the source and all the processing to apply to it. And there’s a huge community of AVS plugins to handle new format times and processing modes; almost any kind of file out there can be handled by AVISynth, and almost any kind of processing you’d like to apply is available. For a simple example, the below scriptOpens a PNG sequence at 24 fps Associates a WAV file with it Crops it from 640x360 to 640x352 Outputs it in YV12 (8-bit 4:2:0) a=imageSource(&amp;quot;D:\Elephant&#39;s Dream\PNG 360\%05d.png&amp;quot;,1,15691,24)b=wavsource(&amp;quot;D:\Elephant&#39;s Dream\ED-CM-St-16bit.wav&amp;quot;)audiodub(a,b)crop (0,4,0,-4) # crop height 352ConvertToYV12()Anyway, I wanted</itunes:summary>
      <link>http://channel9.msdn.com/Blogs/benwagg/AVS2ASF-ndash-Open-Source-VC-1-Encoder-SDK-application</link>
      <pubDate>Wed, 07 Jan 2009 06:31:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/benwagg/AVS2ASF-ndash-Open-Source-VC-1-Encoder-SDK-application</guid>      
      <dc:creator>Ben Waggoner</dc:creator>
      <itunes:author>Ben Waggoner</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/benwagg/AVS2ASF-ndash-Open-Source-VC-1-Encoder-SDK-application/RSS</wfw:commentRss>
      <category>vc-1</category>
      <category>Compression</category>
      <category>VC-1 Encoder SDK</category>
      <category>AVISynth</category>
      <category>avs2asf</category>
    </item>    
</channel>
</rss>
