[MPlayer-users] per-frame seeking in AVI files

Lars Damerow lars at pixar.com
Wed Feb 6 00:37:01 CET 2002


On Wed, 6 Feb 2002, Arpi wrote:

| > I've read the docs and FAQ and know that single-frame seeking is something I
| > shouldn't ask about, but I'm going to ask about it anyway. :) I *won't* ask for
| > you guys to implement it for me, but the answer to the question said that it'd
| > been done before and then removed.
|
| it was LONG time ago, the core changed too lot...
| anyway it was a 5-minute hack, just escaped from pause loop if space was
| pressed, but keep pause flags set so after displaying a frame it got paused
| again. tricky, ehh?
| (and of course it was forward only)
| <snip>
| as mjpeg files have keyframes at every frame, it is possible to implement.

I see--clever!. So, a related question: would it be at all feasible for MPlayer
to enable forwards and backwards playback if keyframes are detected at every
frame, or just if playing back an MJPEG movie? Without synced sound, of course.

| > Also, it was mentioned that the A-V sync was thrown off; was this true for AVI
| > files as well as MPEGs?
| for everything.
| audio is buffered, and keep it sync with single frames played at
| unpredictable speed and direction is a very bit hard.

Okay; would it be possible to disable buffering in a case where we want to do
these seeks, and would that make it easier? I'm probably speaking nonsense
here, since at the moment I'm unfamiliar with MPlayer's internals; a change
like this is probably very fundamental.

| > Thanks for the help (and the great video player!)
|
| > pixar animation studios
|
| what about sponsoring development? :)

sadly I don't hold any purse-strings here, but I'll see what I can do. :)

___________________________________________________________
lars damerow
button pusher
lars at pixar.com

Codito, ergo sum.




More information about the MPlayer-users mailing list