priaonehaha / aforge

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

FFMpeg skipping frames for Xvid Avi #278

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Download this example video (I have many the same, they are encoded using 
mencoder and xvid)

1. http://www.box.com/s/4leju8b1s3gqx66nhgpx

2. Use Aforge.Net FFMpeg VideoFileReader.ReadVideoFrame() to read every frame 
of the video. You'll see there are only 531 frames decoded. But the file info 
says there are 1314 frames.

3. Use VfW and Xvid installed to compare, this will decode all the frames 
correctly.

Thread on this:

http://www.aforgenet.com/forum/viewtopic.php?f=2&t=2506

I have tried decoding the video (and others) using FFMpeg standalone, and this 
works perfectly. 

Original issue reported on code.google.com by m...@kinesensevca.com on 11 Jan 2012 at 11:58