Log in

View Full Version : Troubles with the x264 VFW


zombi55
9th July 2005, 01:45
Hi.. I have already posted this message before but I think that I wasn't in the good thread http://forum.doom9.org/showthread.php?p=681312#post681312 . While hoping this time I could be answered. Thanks

I have some troubles with the x264 VFW codec or the H264 ffdshow. I made a "small" encoder using the windows API functions ICopen, ICDeCompress and ICCompress. All is well but every time I want to use a x/h264 codec, the ICClose function crashes. I code using VC++ and even in debug mode I can't find a solution, I have a message [ User breakpoint at 0x..... ] in NTDLL.

Can anyone help me? (All others VFW codecs work perfectly, even VP62 and VP70)

zombi55
24th July 2005, 22:10
Nobody have a idea. It is for a new vdm.

leon_id
25th July 2005, 00:26
Hi,
probably there is an error in x264 vfw sources with freed memory. Can you tell if this problem persist in xvid also?
Under certain conditions (when ICM_COMPRESS_END send to DriverProc after DRV_CLOSE or DRV_CLOSE called more then one time) compress_end() function tries to access previously freed memory. You can try to remove compress_end() from DRV_CLOSE processing code in ./vfw/driverproc.c.

zombi55
25th July 2005, 06:42
ty leon_id

I will answer you as soon as possible !

see you soon !