zonderz
7th December 2006, 02:58
Hi guys
Did anyone solve this known problem when trying to get bmp from AVI and if file is XviD coded AVIStreamGetFrameOpen fails?
Ive searched many sources but didnt find right desision.
Only one dude decided that strange bug, but code is in VB, and i need in delphi
http://www.shrinkwrapvb.com/avihelp/avihlp_3.htm
his demo program (http://www.shrinkwrapvb.com/avihelp/avitutr3.zip) extracts frames form any AVI, i tried DivX, Xvid, HDTVRips, avis with 2,3,4 audio tracks, uncompeled avi's - all work fine
I read his sources but didnt solve the problem
That's why Im here.
If this task is too hard and undecided, if you know how to easily extract a custom frame from any coded type of AVI without showing video it would be very helpful. Ive tried DirectShow (vidgrab.dll, dspack) but there's many bugs with AVI opening, especially with multiple audio tracks
Only one component works fine but has no sources and costs too much (mmtools, MMAVI component)
PS. For whom who dont understand my bad english. I need to find right and final desision how extract frames from any type of AVI or multiple AVIs in Delphi.
Thanx for trying help anyway...
Did anyone solve this known problem when trying to get bmp from AVI and if file is XviD coded AVIStreamGetFrameOpen fails?
Ive searched many sources but didnt find right desision.
Only one dude decided that strange bug, but code is in VB, and i need in delphi
http://www.shrinkwrapvb.com/avihelp/avihlp_3.htm
his demo program (http://www.shrinkwrapvb.com/avihelp/avitutr3.zip) extracts frames form any AVI, i tried DivX, Xvid, HDTVRips, avis with 2,3,4 audio tracks, uncompeled avi's - all work fine
I read his sources but didnt solve the problem
That's why Im here.
If this task is too hard and undecided, if you know how to easily extract a custom frame from any coded type of AVI without showing video it would be very helpful. Ive tried DirectShow (vidgrab.dll, dspack) but there's many bugs with AVI opening, especially with multiple audio tracks
Only one component works fine but has no sources and costs too much (mmtools, MMAVI component)
PS. For whom who dont understand my bad english. I need to find right and final desision how extract frames from any type of AVI or multiple AVIs in Delphi.
Thanx for trying help anyway...