img2dec: ts_from_file option