Broadcast video format different from that in archive: Expression encoder SDK 4
-
Tuesday, May 01, 2012 2:44 PM
Is it possible to create a video file not having the same resolution and bitrate than is available on the web.
I create a liveJob and associates the audio and video devices and gives a size in the OutputFormat and I wonder if it is possible to make a video archive with a different resolution than that available on the web.
Thank you in advancemonExpEncoder = new LiveJob();
LiveDeviceSource liveSource = monExpEncoder.AddDeviceSource(VideoDevice,AudioDevice);
liveSource.PickBestVideoFormat(new Size(1024,768);
monExpEncoder.OutputFormat.VideoProfile.Size = new Size(1024,768);
monExpEncoder.OutputFormat.VideoProfile.Bitrate = new Microsoft.Expression.Encoder.Profiles.ConstantBitrate(450);System.Uri lPublishingPoint;
lPublishingPoint = new System.Uri("http://addres");FileArchivePublishFormat fileOut = new FileArchivePublishFormat();
fileOut.OutputFileName = "C:\\Tests.wmv";
monExpEncoder.PublishFormats.Add(fileOut);monExpEncoder.PreConnectPublishingPoint();
monExpEncoder.ActivateSource(liveSource);
monExpEncoder.StartEncoding();
Frederic fv Villeneuve
- Moved by Bob ShenMicrosoft Contingent Staff Thursday, May 03, 2012 8:30 AM (From:Visual C# General)
All Replies
-
Thursday, May 03, 2012 8:30 AM
Hi Frederic,
You can consider posting it at the following more appropriate forum for more efficient responses. Thanks!
Expression Encoder
http://social.expression.microsoft.com/forums/en-us/encoder/threads/
Bob Shen [MSFT]
MSDN Community Support | Feedback to us

