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

QUESTION: How can I clean disk space after watching video? #260

Open
a-a-k opened this issue Dec 26, 2020 · 2 comments
Open

QUESTION: How can I clean disk space after watching video? #260

a-a-k opened this issue Dec 26, 2020 · 2 comments

Comments

@a-a-k
Copy link

a-a-k commented Dec 26, 2020

I noticed that my disk lost about 20gb of it's space after every launching, but I can't found any temp files or something. And I'm not recording video, just watching on-the-fly. What cleaning up stuff should I do?

@a-a-k a-a-k changed the title QUESTION: How can I clean disc space after watching video? QUESTION: How can I clean disk space after watching video? Dec 27, 2020
@acaudwell
Copy link
Owner

That's odd. It does make a temp file gource-{random string} in your temporary files directory (/tmp/ or in %TEMP% on Windows) while running containing the generated history log file, but it should get deleted when Gource is closed. That file wouldn't normally be very big. 20 gigs sounds like you might be capturing the output (e.g. with -o or --output-ppm-stream)

What command line are you using?

@a-a-k
Copy link
Author

a-a-k commented Dec 28, 2020

gource --output-custom-log c:\repo1.txt C:\repo1
gource --output-custom-log c:\repo2.txt C:\repo2

Get-Content c:\repo1.txt, c:\repo2.txt | sort | Set-Content c:\combined.txt

gource --logo c:\logo.png -e 0.45 --seconds-per-day 2.5 -f -1280x720 --auto-skip-seconds 1 --multi-sampling --stop-at-end --highlight-users --hide mouse,progress --file-idle-time 25 --max-files 0 --background-colour 000000 --font-size 23 --output-ppm-stream d:\gource.ppm --output-framerate 30 --hide-filenames --start-date "2020-01-01" c:\combined.txt

C:\\ffmpeg\\bin\\ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i d:\gource.ppm -vcodec libx264 -preset medium -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 d:\gource.x264.mp4

That's script I'm using via PowerShell on Windows 10. Losing disk space is not related to ffmpeg and gource.ppm, it's happening independent.

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