Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to see frame numbers on OSD #3428

Closed
sant527 opened this issue Aug 17, 2016 · 6 comments
Closed

How to see frame numbers on OSD #3428

sant527 opened this issue Aug 17, 2016 · 6 comments

Comments

@sant527
Copy link

sant527 commented Aug 17, 2016

mpv version and platform

% mpv --version :(
mpv git-b1893d2 (C) 2000-2015 mpv/MPlayer/mplayer2 projects
built on Sun Nov 8 16:37:08 UTC 2015
ffmpeg library versions:
libavutil 54.31.100
libavcodec 56.60.100
libavformat 56.40.101
libswscale 3.1.101
libavfilter 5.40.101
libswresample 1.2.101
ffmpeg version: 2.8.7

When i do Shift + O , it shows the current time and total time of the video.
in the same manner how to se current frame number and total frame numbers

@wiiaboo
Copy link
Member

wiiaboo commented Aug 17, 2016

Put this in your mpv.conf:

osd-status-msg=${playback-time/full} / ${duration} (${percent-pos}%)\nframe: ${estimated-frame-number} / ${estimated-frame-count}

@ghost ghost added the meta:question label Aug 17, 2016
@ghost
Copy link

ghost commented Aug 17, 2016

Reminder that the frame numbers will be inaccurate.

@ghost ghost closed this as completed Aug 17, 2016
@michael-ts
Copy link

Reminder that the frame numbers will be inaccurate.

Inaccurate? Why would this even be useful to me?

@ghost
Copy link

ghost commented Feb 8, 2020

Well who cares?
Frame numbers don't exist.

@porg
Copy link

porg commented Jul 5, 2023

Thanks, this helps a lot for analyzing videos with a variable framerate (VFR), which one can create with the ffmpeg options -vf bpdecimate -vsync vfr to lower filesize without quality loss significantly in videos with a lot of still images (slideshows, screen recordings, etc).

@NA0341
Copy link

NA0341 commented May 18, 2024

Well who cares? Frame numbers don't exist.

Does that mean that using the frame range to specify an exact portion of a video is inacurate?
I came here because I wanted mpv to show me the exact current frame number to specify the frame range in HandBrake. (I thought this is more precise than the timestamp since I'm referring to an exact frame in the video.)

I mean if you have a fixed frame rate of say 30 frames per second ~ then each frame should have an exact duration of 30/1 seconds ~ isn't it?
And even with VFR ~ after decoding you should still have a fixed number of frames per second.

I mean after all VFR is to reduce storage usage without compromising quality. But it doesn't concern with the bitrate (framerate) after encoding ~ or does it?

Otherwise using frames to specify exact points within a video stream shouldn't be a practicable thing in the first place if it's that inaccurate.

Can someone help?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants
@wiiaboo @porg @michael-ts @sant527 @NA0341 and others