From: Derek C. <der...@mi...> - 2014-03-05 09:39:26
|
(sorry I've switch email client and forgot to send as plain text - original message below): Example with XDCAM file: (IBBP... bitstream with 'ctts' 2, -1, -1, 2 ...). After seeking (or decoding) to frame 2, use quicktime_set_video_position() to then seek backwards to frame 1. get_bitstream_sync_frame() returns 0. decoded_frames_to_discard becomes < 0 despite "// Should not be < 0 unless the stream is broken." Please see possible fix attached. On 4 March 2014 10:10, Derek Chow <der...@mi...> wrote: > Example with XDCAM file: > > (IBBP... bitstream with 'ctts' 2, -1, -1, 2 ...). > After seeking (or decoding) to frame 2, use quicktime_set_video_position() > to then seek backwards to frame 1. > get_bitstream_sync_frame() returns 0. > decoded_frames_to_discard becomes < 0 despite "// Should not be < 0 unless > the stream is broken." > > Please see possible fix attached. > > > Derek Chow / C++ Developer > > der...@mi... / +44(0)7825373230 > > Office +44 (0)207 884 2530 > 21 Broadwall, London, SE1 9PL, United Kingdom > http://www.mirriad.com -- Derek Chow / C++ Developer der...@mi... / +44(0)7825373230 Office +44 (0)207 884 2530 21 Broadwall, London, SE1 9PL, United Kingdom http://www.mirriad.com |