Balti2016 / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

FFMPEG VideoFileWriter in VideoCode.Raw too fast #323

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a webcam with 5fps or 20fps (mine is 1600x1200)
2. create a VideoFileWriter with 1600x1200, 20fps or 25fps, VideoCodec.Raw
2. Put each new frame with its timestamp into a queue
3. In a seperate thread; write the frames from the queue into the file using 
the write-method with the timespan.

What is the expected output? What do you see instead?

Let's say I record a video with 30 seconds. The timespans used when writing the 
frames into the file are correct. But the resulting video file is too fast. If 
you use VideoCodec.MPEG4 instead, everything is fine. Only RAW has that problem.

What version of the product are you using?

2.2.4. (on Windows7 64-bit, application runs in x86)

Please provide any additional information below.

---

Original issue reported on code.google.com by heise.ge...@gmail.com on 1 Dec 2012 at 12:28