Broadcast video format different from that in archive: Expression encoder SDK 4

Unanswered 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 advance

    monExpEncoder = 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

All Replies