rigaya / NVEnc

NVENCによる高速エンコードの性能実験
https://rigaya34589.blog.fc2.com/blog-category-17.html
Other
1.03k stars 108 forks source link

avsw: Unknown input option: framerate=30000/1001, ignored #573

Open rainman74 opened 3 months ago

rainman74 commented 3 months ago

--fps 30000/1001 and --fps 29.970 leads to an error message, but is apparently converted correctly after all.

image

rigaya commented 3 months ago

As written in the manual, --fps is valid only for raw input, and otherwise it will be ignored or only treated as a hint.

There will be the message but is expected behavior.

Also, the fps shown on the log will change but is expected behavior.

I think you need not to set --fps for avsw reader, as framerate will be taken from the input file.

rainman74 commented 3 months ago

As written in the manual, --fps is valid only for raw input, and otherwise it will be ignored or only treated as a hint.

There will be the message but is expected behavior.

Also, the fps shown on the log will change but is expected behavior.

I think you need not to set --fps for avsw reader, as framerate will be taken from the input file.

Exactly not. The original file is 25.0 fps and the --fps specification is not ignored, but the file is correctly converted to 29.97 fps, even though it is not raw.

So I think the current behavior is good, I was just disturbed by the apparently wrong hint.