Click here to Skip to main content
14,271,663 members
Rate this:
Please Sign up or sign in to vote.
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 :

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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100