Click here to Skip to main content
15,900,816 members
Home / Discussions / C#
   

C#

 
SuggestionRe: System.Security.Cryptography.Aes Class Pin
Richard Deeming17-Mar-24 23:46
mveRichard Deeming17-Mar-24 23:46 
QuestionI want to display both Old and New Values in Form2. Pin
Sonika B S10-Mar-24 4:14
Sonika B S10-Mar-24 4:14 
AnswerRe: I want to display both Old and New Values in Form2. Pin
Dave Kreskowiak10-Mar-24 4:33
mveDave Kreskowiak10-Mar-24 4:33 
AnswerRe: I want to display both Old and New Values in Form2. Pin
OriginalGriff10-Mar-24 5:04
mveOriginalGriff10-Mar-24 5:04 
QuestionVideo Merging with Xabe.FFmpeg. How to track the progress? Pin
Kasun Lee8-Mar-24 20:13
Kasun Lee8-Mar-24 20:13 
AnswerRe: Video Merging with Xabe.FFmpeg. How to track the progress? Pin
OriginalGriff8-Mar-24 20:40
mveOriginalGriff8-Mar-24 20:40 
AnswerRe: Video Merging with Xabe.FFmpeg. How to track the progress? Pin
Andre Oosthuizen9-Mar-24 0:27
mveAndre Oosthuizen9-Mar-24 0:27 
QuestionVideo Merging using Splicer Lib Pin
Kasun Lee5-Mar-24 17:36
Kasun Lee5-Mar-24 17:36 
Hi.

I tried to merge two videos into one using Splicer library. When I ran the code (below), the code got non-responsive, so after awhile I stopped the code from executing. The resulting file (which was created by the code while it has became non-responsive) was over 11GB. I'm not sure how to fix that. Could anyone guide me please? Thanks.

C#
--------
//Create a string array to store file paths
string[] filepaths = new string[10];
filepaths.SetValue(textBox_Source1.Text, 0);
filepaths.SetValue(textBox_Source2.Text, 1);
//Call the video merging function
MergeVideos(filepaths, filepaths[0] + "_merged");

------
using (ITimeline timeline = new DefaultTimeline())
{
    IGroup group = timeline.AddVideoGroup(32, 720, 576); // Set bitrate, width, height

    var firstClip = group.AddTrack().AddVideo(videoPaths[0]);
    var secondClip = group.AddTrack().AddVideo(videoPaths[1], firstClip.Duration /* offset */);

    using (AviFileRenderer renderer = new AviFileRenderer(timeline, outputFilePath))
    {
        renderer.Render();
    }
}


modified 6-Mar-24 0:33am.

AnswerRe: Video Merging using Splicer Lib Pin
Dave Kreskowiak5-Mar-24 18:41
mveDave Kreskowiak5-Mar-24 18:41 
AnswerRe: Video Merging using Splicer Lib Pin
OriginalGriff5-Mar-24 20:49
mveOriginalGriff5-Mar-24 20:49 
GeneralRe: Video Merging using Splicer Lib Pin
Kasun Lee6-Mar-24 3:36
Kasun Lee6-Mar-24 3:36 
GeneralRe: Video Merging using Splicer Lib Pin
OriginalGriff6-Mar-24 4:37
mveOriginalGriff6-Mar-24 4:37 
QuestionConnecting To SharePoint Very Slow Pin
Kevin Marois2-Mar-24 8:10
professionalKevin Marois2-Mar-24 8:10 
AnswerRe: Connecting To SharePoint Very Slow Pin
Pete O'Hanlon3-Mar-24 20:20
mvePete O'Hanlon3-Mar-24 20:20 
QuestionCrystal Reports is generating very poor HTML output Pin
PhilMcGahan28-Feb-24 9:49
PhilMcGahan28-Feb-24 9:49 
AnswerRe: Crystal Reports is generating very poor HTML output Pin
jschell28-Feb-24 12:30
jschell28-Feb-24 12:30 
GeneralRe: Crystal Reports is generating very poor HTML output Pin
PhilMcGahan29-Feb-24 2:32
PhilMcGahan29-Feb-24 2:32 
GeneralRe: Crystal Reports is generating very poor HTML output Pin
jschell29-Feb-24 12:21
jschell29-Feb-24 12:21 
AnswerRe: Crystal Reports is generating very poor HTML output Pin
PhilMcGahan1-Mar-24 2:24
PhilMcGahan1-Mar-24 2:24 
GeneralRe: Crystal Reports is generating very poor HTML output Pin
Richard Andrew x641-Mar-24 5:36
professionalRichard Andrew x641-Mar-24 5:36 
RantRe: Crystal Reports is generating very poor HTML output Pin
Richard Deeming3-Mar-24 21:48
mveRichard Deeming3-Mar-24 21:48 
QuestionSave an SSRS Report in html format. Pin
PhilMcGahan28-Feb-24 9:18
PhilMcGahan28-Feb-24 9:18 
AnswerRe: Save an SSRS Report in html format. Pin
jschell28-Feb-24 12:37
jschell28-Feb-24 12:37 
GeneralRe: Save an SSRS Report in html format. Pin
PhilMcGahan29-Feb-24 2:44
PhilMcGahan29-Feb-24 2:44 
AnswerRe: Save an SSRS Report in html format. Pin
Richard Deeming28-Feb-24 21:12
mveRichard Deeming28-Feb-24 21:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.