Hi, Probably due to a urge to experiement, I implemented several ways of locating an existing packet in a saved index. Probably most straightforward is pts-based, but I tried also using file position.
Unfortunately I noticed at least two occasions when this didn't work: - for mpg/ts files this position usually change after seek, so the same packet may contain a different file position when visited second time after seek - For mkv files two different packets may represent the same file position. So should I forget about this field whatsoever? But If the field exists, but might be so unreliable, does it exist only for the demuxer own needs? Thanks Max
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
