On 8/26/11 9:06 AM, Camera Man wrote:
 > (a) is there a general way to bookmark frames while writing a file in
such a way that I can seek to them directly when playing, without
searching? pts is NOT the answer, as explained below.

you can use a container format that supports chapters. (mkv and nut suggested)

(b) is there a general way to encode *wall-clock* time into a file I
write? e.g. I want the "pts" (or equivalent) of the first frame of the
file to be 2011-08-26 02:13:57.917 (millisec resolution sufficient - 48
bits more than enough precision).

metadata streams and per-frame metadata might fit. again you need a container supporting this kind of stuff.

(d) is there a way, other than subtitles, to add a visual timestamp to
the file while writing it, without decoding+overlaying+reencoding?

What's wrong with subtitles?

(e) is there a way to tell, without decoding the video stream, that a
received packet starts a new non-key frame?

You can just parse it.

for (b) (wall clock), assume an mp4 or avi file; if I don't start

mp4 and avi are quite different beasts...

given your application why do you want to use such containers?

lu
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to