Videos: ffmpeg framerate (-r) option incorrect when using h264_nvenc #2442
Labels
bug
Something isn't working
help wanted
Well suited for external contributors!
video
Video Formats, Transcoding, FFmpeg, Streaming & Co
When NVENC is used, the call to ffmpeg sets the framerate to 30 before
-i
. This causes ffmpeg to interpret the input video as 30fps, even when it isn't.photoprism/internal/ffmpeg/convert.go
Lines 81 to 86 in 4909f86
To fix this,
"-r", "30",
should be placed after"-i", fileName,
in line with the other non-NVENC cases.The text was updated successfully, but these errors were encountered: