nano <c.c...@gmx.de> added the comment: I have further analysed the problem of my VOB->TS conversion. The VOB file is a copy of an unprotected commercial Video-DVD I own. The video stream only contains PTS/DTS information (DTS<PTS) for PES-packets (startcode: 0x000001e0)that contain an I-Frame at the beginning of a GOP. av_read_packet() correctly returns such packets with the PTS and DTS information in the corresponding field (pkt.dts, pkt.pts). So the demuxer code seems to be okay so far (mpeg.c).
But this information gets lost somehow in the process of repacking the smaller packets to one packets which represents the complete frame. av_read_frame_internal() never produces a frame packet with valid PTS/DTS information. ____________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue807> ____________________________________________________