<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Editing files with Encoder V3</title><link>http://blogs.msdn.com/b/deanro/archive/2010/04/13/editing-files-with-encoder-v3.aspx</link><description>I’d written a previous post about editing files with Encoder v2 in the SDK however in V3 we changed things a little bit to support adding multiple files to a single timeline. In the case where you want to edit bits out of a single file you now need to</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Editing files with Encoder V3</title><link>http://blogs.msdn.com/b/deanro/archive/2010/04/13/editing-files-with-encoder-v3.aspx#10014127</link><pubDate>Mon, 24 May 2010 22:14:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10014127</guid><dc:creator>Dean Rowe</dc:creator><description>&lt;p&gt;Apologies for the delay in getting back to you but you just need to set the audio properties to something that’s valid on the system. &lt;/p&gt;
&lt;p&gt;E.g. You should be able to do something like the following. This is in C# but the VB should be similar.&lt;/p&gt;
&lt;p&gt;mediaItem.OutputFormat.AudioProfile = new WmaAudioProfile()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Codec = AudioCodec.WmaVoice,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Channels = 1,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;BitsPerSample = 16,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;SamplesPerSecond = 22050,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Bitrate = new ConstantBitrate(20),&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Looking on my Windows 7 box I see the following settings as valid for Wma Voice.&lt;/p&gt;
&lt;p&gt;Codec	Bitrate Type	Bitrate	SamplesPerSecond	BitsPerSample	Channels&lt;/p&gt;
&lt;p&gt;Wma Voice	CBR	4	8000	16	1&lt;/p&gt;
&lt;p&gt;Wma Voice	CBR	5	8000	16	1&lt;/p&gt;
&lt;p&gt;Wma Voice	CBR	8	8000	16	1&lt;/p&gt;
&lt;p&gt;Wma Voice	CBR	10	11025	16	1&lt;/p&gt;
&lt;p&gt;Wma Voice	CBR	12	16000	16	1&lt;/p&gt;
&lt;p&gt;Wma Voice	CBR	16	16000	16	1&lt;/p&gt;
&lt;p&gt;Wma Voice	CBR	20	22050	16	1&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Dean.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10014127" width="1" height="1"&gt;</description></item><item><title>re: Editing files with Encoder V3</title><link>http://blogs.msdn.com/b/deanro/archive/2010/04/13/editing-files-with-encoder-v3.aspx#10006573</link><pubDate>Mon, 03 May 2010 19:44:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10006573</guid><dc:creator>Michael Collazo</dc:creator><description>&lt;p&gt;I've seen how the video profile can be changed, but how can you change the audio profile? We have numerous WAV files that we would like to be encoded to WMA Voice. The need for this is ongoing so I need to write something to take care of this.&lt;/p&gt;
&lt;p&gt;If you can point me in the right direction I'd truly appreciate it. A VB snippet would be ideal.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Michael Colazo&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10006573" width="1" height="1"&gt;</description></item></channel></rss>