Add pts generation

Add pts generation for files with bad or non existent pts values.