script for testing subtitle extraction