Looks like the 4n25 has only 1 diode at the input. You'd get only 1 pulse per cycle. If thats acceptable, I dont see why the 4n25 shouldnt work.

Regards,

Anand