March 2007 - Posts
See your there http://blogs.msdn.com/alikl
.. Hope so ;)
Please visit landing page for these series How I Create Videos Using Free Tools where I explain the overall process for Video creation I use.
In this post I will describe how to mix video WMV file with audio WMA files. For demonstration purposes I will use files I created and described here:
How I Create Videos Using Free Tools - Using Media Encoder To Concatenate WMV files
How I Create Videos Using Free Tools - Using Media Encoder To Create Audio
For mixing purposes I use Media Stream Editor which is installed when you install Media Encoder (free download is here).
Start Media Stream Encoder.
1. Add Video and Audio source files (1, 2, 3)
2. Press "Add" to mix it (4)
3. Press "Create File" to specify destination for resulting WMV file (5)
4. After the destination file specified (1) press "Start" to actually create the file.

5. That is it
The resulting video of mixing these:
How I Create Videos Using Free Tools - Using Media Encoder To Concatenate WMV files
How I Create Videos Using Free Tools - Using Media Encoder To Create Audio
looks like this:
Enjoy
Would love to thank all of you who bothered to actually go and provide feedback on the content I publish.
Seems like people who read my stuff are mostly developers - which pretty surprising, developers MUST hate security :)
Most of people just like reading the content but 30% also applied the techniques described here.
There is also consensus that the content is well structured. More feedback that was captured:
"This blog is something I would like imitate"
"good content, very self centered "
"not intresting, not original"
THANKS AGAIN!!
alikl
Please visit landing page for these series How I Create Videos Using Free Tools where I explain the overall process for Video creation I use.
In this post I will show you how I create audio files - WMA files. I will use it to mix it with the video file I created previously - How I Create Videos Using Free Tools - Using Media Encoder To Concatenate WMV files.
First I'll show you how to convert one audio file format to WMA, then I'll show you how to capture your own voice.
One way is taking any audio file, MP3 for example, and convert it using Media Encoder (NOTE - copyright might apply!).
Start Media Encoder.
1. Chose "Convert a file" template:
2. Specify source MP3 file and destination WMA file and press "Next":
3. Choose distribution method, I usually use progressive download:
4. Chose your quality and press "Finish":
5. Configuration is done, press "Start Encoding" button:
6. Wait until Encoder finishes the conversion. After that you are done.
Other way is capture your own voice. Start Media Encoder.
1. Chose "Capture audio or video":
2. Chose microphone device (accept default):
3. Specify destination WMA file:
4. Specify distribution option (I use progressive download):
5. Specify quality (CD should be fine) and press "Finish":
6. Configuration is done - press "Start Encoding" green button to start recording your voice. You can play the video recorded earlier so the voice will match the video flow.
Enjoy
It is my post number 101.
I'd REALY appreciate if you could take VERY short survey regarding the content on my blog (3 questions, no typing, radio buttons only)
http://www.zoomerang.com/recipient/survey.zgi?p=WEB22686GRMP6X
THANK YOU!!!
alikl
Please visit landing page for these series How I Create Videos Using Free Tools where I explain the overall process for Video creation I use.
In this post I'll show you how to concatenate several WMV files into one resulting WMV file. I will concatenate files I've created and described here:
How I Create Videos Using Free Tools - Using Movie Maker
How I Create Videos Using Free Tools - Using Media Encoder To Capture Screen
1. Chose custom session template:
2. By default there is only one source file in the project so go ahead and add another one, then uncheck audio, and for both sources specify actual source WMV files. Make sure that source 1 configured to roll over to next source (depicted 4):
3. Specify the resulting resolution (click the image to see it entirely):

4. Specify destination folder and resulting WMV file name and press Apply button:
5. Start concatenating by pressing "Start Encoding" button:
6. That is it. Here is the result
In my post How I Create Videos Using Free Tools I explained the steps I take to create my demos and the other post How I Create Videos Using Free Tools - Using Movie Maker I detailed the process of creating Video WMV file out of static slides using Movie Maker.
In this post I'll show how I create videos capturing the screen using Media Encoder (free download is here).
1. Start Media Encoder and choose Capture Screen template:

2. Define what to capture - usually I use "Entire Screen" and sometimes specific windows (when using VPC not in Full screen mode for example):
3. Specify the destination folder and file name for your MWV file:
4. Use high quality:
5. Optionally specify resulting file's properties and press Finish:
6. Specify the resulting resolution (click the image to see it entirely):

7. Click OK and then Apply (downside) - you are ready to capture screen.
8. Hit "Start Encoding" button - you are capturing while the Media Encoder is minimized 
9. To stop capturing click Media Encoder in task bar and then "Stop" button
10. You are done
Here is what I captured while writing this blog post (double click to see it in full screen mode):
Enjoy
Landing page for this series of how-to is here How I Create Videos Using Free Tools
Here is the simplest way I found to concatenate couple of static slides:
1. Create image files, for example using Paint

2. Drag and drop it on Movie Maker surface:
3. While in Movie Maker drag and drop it on Video lane:
4. Optionally add transitions - I usually skip this one since it inflates the size of the resulting WMV file
5. Create the video by clicking this:
6. Specify destination folder and file name and click next:
7. Accept default settings and then click "Publish" button:
8. Done:
Enjoy
I've recently been hooked on doing some video stuff for demo purposes.
For example in this post I captured screen to show how to intercept web services http traffic with Fiddler - App Architecture with Security in mind - Video, Part I
There are plenty commercial tools available but I like free approach.
I am using Windows Movie Maker to create videos out of slides/pictures (that can be created for example with Paint) and for screen capture I use Windows Encoder (free download).
So here are the basic steps for the above sample:
1. Create video clip (WMV) out of static pictures using Movie Maker.
2. Capture screen using Media Encoder to produce WMV file..
3. Concatenate 1 and 2 using Media Encoder == WMV file
4. Get sound (WMA file) - either record your voice using Media Encoder or get some music (remember - copyright might apply).
5. Combine sound to the result of 3 using Media Stream Editor (installed with Media Encoder)
Media Encoder allows to do it all in one shot - screen and sound capture - but I like to separate.
Got better free techniques? Please share.
Enjoy
First of I'd like to thank Guy for his excellent screencast - very convenient, so thanks.
Specifically I liked introductory screencast for WCF which can be found here: http://blogs.microsoft.co.il/blogs/bursteg/pages/WCF-Introduction-Demo-_2800_ScreenCast_2900_.aspx
It is dubbed in Hebrew, but the screens are flipping in so logical way so that one who does not understand Hebrew will be fine - go for it - recommended a lot for WCF newbies like me.
My interest was to understand the pipeline that the WCF Message goes through before it is put on the transport. The idea was to inject some custom modules (Inspectors) in the pipeline. Why? Is not it clear? To mess around with the message - tamper it in it raw format before it goes down to the transport signed and protected. Why? To show that it DOES NOT matter what communication technology you use - HTTP, Remoting, MSMQ, WCF, RMI, CORBA, DCOM, MQ, <<fill in your own here>> - the basic principle of VALIDATING INPUT ON THE SERVER SIDE is immutable.
Here I showed it for Web Services App Architecture with Security in mind - Video, Part I (that was easy - Fiddler is of much help here)
Then remoting came along - same result, here App Architecture with Security in mind - Video, Part II
Now it is mighty WCF.
I used excellent demo from Madhu here http://blogs.msdn.com/madhuponduru/archive/2006/07/19/671922.aspx that explained how to build IClientMessageInspector (NOTE - demo that works!)
So here is the service contract:
and the implementation:
and the client side validation:
here is the client rejects the input:
and here is the result of server processing for good input:
after adding the custom message inspector, I am offered to tamper the massage before it is sent to the service and the resulting reply from the service is in red at the bottom:
Conclusion
Does that mean that the communication technologies are bad? - NO, it is the way WE use it.
Here is basic example for input validation in Web Services Web Service Input Validation - it has link to regex usage that you can use on the server side for input validation.
Enjoy