Skip to content

Commit 338dc11

Browse files
author
Stefan Seeland
authored
Update README.md
1 parent 27fffd7 commit 338dc11

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ Features:
2020

2121

2222
Sample:
23-
```language-csharp
23+
```C#
2424
MencoderSharp.MencoderAsync mencoderAsync = new MencoderSharp.MencoderAsync();
2525
private void buttonStart_Click(object sender, EventArgs e)
2626
{
27-
mencoderAsync.startEncodeAsync(@"c:\examplevideo.wmv", @"c:\encodedVideo.avi", textBoxVideoParameter.Text, textBoxAudioParamter.Text);
27+
mencoderAsync.startEncodeAsync(@"c:\inputVideo.wmv", @"c:\outputVideo.mp4");
2828
}
2929

3030
private void MencoderSharpDemo_Load(object sender, EventArgs e)
@@ -40,7 +40,6 @@ Sample:
4040
private void mencoder_Progress(object sender, EventArgs e)
4141
{
4242
progressBar1.Value = mencoderAsync.progress;
43-
}
44-
}
43+
}
4544
```
4645
See http://debianisttoll.blogspot.com/2013/03/create-mp4-with-c.html http://debianisttoll.blogspot.com/2013/03/create-mp4-with-c.html to learn how to create mp4s with mencodersharp.

0 commit comments

Comments
 (0)