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

seeking advice on "VFR" and nvencc usage #37

Closed
hydra3333 opened this issue Mar 1, 2018 · 2 comments
Closed

seeking advice on "VFR" and nvencc usage #37

hydra3333 opened this issue Mar 1, 2018 · 2 comments

Comments

@hydra3333
Copy link

hydra3333 commented Mar 1, 2018

per https://forum.videohelp.com/threads/388221-Seeking-advice-on-videos-from-Samsung-S8-no-HDR I have bought a Samsung s8+ phone which seems to record h.264 "variable framerate" videos up to 4k. Attached are results of using mediainfo and ffprobe on various resolutions.
Samsung-Galaxy-S8plus-Video-Codec-Summaries.zip

So, a few newbie questions I hope you do not mind me asking :

  1. does nvencc handle "vfr" videos, and what comes out of the end of the process, vfr video or fixed framerate (or whatever it's called) ? Are there ay special commandline options I need to use ?

  2. can nvencc convert vfr video to a fixed framerate video (notionally 30 fps which the s8+ camera advertising says it is) ? If so, how would one do that ?

Thanks

@rigaya
Copy link
Owner

rigaya commented Mar 4, 2018

By default, NVEncC assumes input as cfr ("--avsync cfr"), and cannot handle vfr videos properly.

I have added option "--avsync vfr" to enable vfr output in NVEnc 3.31, it will pass timestamp from the source when using avhw/avsw reader.

Also you can test "--avsync forcecfr --fps 30" for cfr conversion, but since it does very simple cropping and duplicating to adjust framerate, it might lead to "lagging" motions.

@hydra3333
Copy link
Author

Brilliant !
Thank you very much.

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

No branches or pull requests

2 participants