> > Add `-copyts` for that. If you want the index of the first decode > failure, you don't need this patch. Run with `-xerror -v verbose`. > ist->frames_decoded will be printed for each input stream. Add 1 to > that. The `time=` value at the end should be the timestamp + duration of > the last successfully decoded frame, but if you have other streams or > vsync cfr set, this may not hold. >
This did the trick thanks. For the -v verbose this indeed print the last decoded frame on normal run but not when using -xerror. Eg. [AVIOContext @ 0x7f7f77000080] Statistics: 52700397 bytes read, 4 seeks _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".