Hi, > I tried adding "-fflags +ignpts" before input but that didn't help, there are > still DTS warnings, however, this time the values are not equal for some > reason (except the first pair)
I think igndts is more likely to affect the result but not sure in what way. Since you have bad timestamps in your original file, you’ll probably have to settle for workarounds. Like the first two frame drops seem unavoidable, they both have dts 0 and one has pts 0. The warnings do tell you how it handles the problem when it adjusts the timestamps so they’re not the same, with the caveat that it might not be accurate. You could also generate new timestamps based on frame rate but that might not be accurate, and cause audio sync issues. As I recall you said you downloaded the files directly, so the timestamp related frame drops probably happens to everyone who plays that stream? Are they actually disruptive, or could you just keep the original stream as is, knowing 1 out of 120 frames or something will be dropped when playing back? I’m pretty sure this is your best bet for keeping audio and video synchronized. Regards, Ted Park _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
