[email protected] wrote:
> Hi,
>
> currentlu I am playing around with Blender animations.
>
> To sync certain movements of objects to other objects
> I need the exact frame number, at which "something
> happens" ;)
>
> The clips are of the avi-format but they are of non
> standard resultions. MPlayer does not play them
> ("no audio found" and that's it) but mpv has no
> problem with them.
> But mpv only prints the perceantage of how much
> is played already (I cant convice mpv otherwise...)
>
> Is there a way to instruct mpv to print the current
> frame count while playing?
I read the mpv man page and found a solution.
Create a file ~/.mpv/input.conf with the content
i show-text ${estimated-frame-number}
When playing a video you can now press the i-key to see the
current framenumber.
But manpage says about the estimated-frame-number property:
"This is only an estimate. (It's computed from two unreliable
quantities: fps and possibly rounded timestamps.)
I've tested it with some videos that I recorded with my
smartphone and it seemed that the printed frame number was
always correct.
Another thing that it maybe useful:
If you start mpv from command line with these two options
--osd-level=3 --osd-fractions=yes
then the OSD as well as the console output shows you the
current timestamp with milliseconds.
If you don't wanna start mpv from command line then you can
also add these two options to ~/.mpv/config
If you do this you need a line for every option and you may
not include the double hyphens.
Btw.: If you press the . key while playing a video, mpv will
switch to single frame mode. Every time you press this key
again, mpv shows the next frame.
You can use the space bar to continue/pause the video.
--
Regards
wabe