We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Multiple frames are currently generated for title screen; only 1 is needed.
The following website seems to suggest that -r 1/(number of seconds) would do the trick:
http://ffmpeg.org/trac/ffmpeg/wiki/Create%20a%20video%20slideshow%20from%20images
I don't know python, but I think on ffmpeg side, replace
# generate silent title video silentAudio = generateSilence(options.titleDuration) titleFramePath = tmpPath('title', 'frame%d.png') titlePath = tmpPath('title.mpg') cmd = [ ffmpeg, "-f", "image2", "-r", fps, "-i", titleFramePath, "-i", silentAudio, "-q:v", str(options.quality), titlePath ] safeRun(cmd, exitcode=14)
with
# generate silent title video silentAudio = generateSilence(options.titleDuration) titleFramePath = tmpPath('title', 'title.png') titlePath = tmpPath('title.mpg') cmd = [ ffmpeg, "-f", "title", "-r", 1/(variable from --title-duration), "-i", titleFramePath, "-i", silentAudio, "-q:v", str(options.quality), titlePath ] safeRun(cmd, exitcode=14)
The text was updated successfully, but these errors were encountered:
Changing line 373 to
TotalFrames = 1
works but I don't know why. I'm assuming that the 1 frame covers all 3 seconds of generated silence. Sloppy, but it works.
Sorry, something went wrong.
No branches or pull requests
Multiple frames are currently generated for title screen; only 1 is needed.
The following website seems to suggest that -r 1/(number of seconds) would do the trick:
http://ffmpeg.org/trac/ffmpeg/wiki/Create%20a%20video%20slideshow%20from%20images
I don't know python, but I think on ffmpeg side, replace
with
The text was updated successfully, but these errors were encountered: