<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hi,<br><br>I've been trying to get the decoded subtitle data from the MPEG <br>Transport Stream file with a subtitle data stream that has no pts.<br><br>I tried to call av_parser_parse2 with pts field set to <br>AV_NOPTS_VALUE, but it couldn't locate the subtitle frames.<br><br>Even if I tried to generate sequential pts when calling <br>av_parser_parse2 and located the subtitle frames, the following <br>avcodec_decode_subtitle2 call never returned with a non-zero <br>got_sub_ptr.<br><br>Is there another way to get the decoded subtitle data without PTS?<br><br>Thank you</div></body></html>