-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedHelp with this would be much appreciated!Help with this would be much appreciated!videoVideo Formats, Transcoding, FFmpeg, Streaming & CoVideo Formats, Transcoding, FFmpeg, Streaming & Co
Description
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
| case NvidiaEncoder: | |
| // ffmpeg -hide_banner -h encoder=h264_nvenc | |
| result = exec.Command( | |
| ffmpegBin, | |
| "-r", "30", | |
| "-i", fileName, |
To fix this, "-r", "30", should be placed after "-i", fileName, in line with the other non-NVENC cases.
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't workinghelp wantedHelp with this would be much appreciated!Help with this would be much appreciated!videoVideo Formats, Transcoding, FFmpeg, Streaming & CoVideo Formats, Transcoding, FFmpeg, Streaming & Co
Type
Projects
Status
Release 🌈