Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi guy's
i use Aforge lib in my project for capture image and record live video from webCam ...
but when use ffmpeg.dll to save AVI file from webCam send this Error :

C#
private VideoFileWriter FileWriter = new VideoFileWriter();
        FileWriter.Open("test.avi", 460, 500, 25, VideoCodec.Default, 5000000);
            img = (Bitmap)videoSourcePlayer.GetCurrentVideoFrame().Clone();
        FileWriter.WriteVideoFrame(img);


Error img :

[^]

how to handle this error ?
thanks

What I have tried:

how to handle this error ?
i don't know work
Posted
Updated 10-Sep-16 5:47am

1 solution

See VideoFileReader Class[^] for instructions on installation and usage.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900