Open GoogleCodeExporter opened 8 years ago
Forgot to mention: AWESOME app! Thanks for creating it. I actually thought
codeswarm was cool...
Original comment by amar...@gmail.com
on 1 Dec 2010 at 6:37
Hi.
Gource actually works pretty much how you propose when you use the
--output-ppm-stream option. For -r 30 it runs at 60fps internally (ie each
frame is calculated as if a 60th of a second had passed since the previous
frame), and outputs every other frame to STDOUT (ie 30fps).
(it doesn't run at 30fps internally, as the directory layout physics starts to
fall apart at under 60fps).
So the video you produce should in theory look flawless in the sections you saw
it bog down when rendering. If it isn't, eg like if there are repeated frames,
then there is indeed a problem in how it is screen capturing the frames.
Cheers
Andrew
Original comment by acaudw...@gmail.com
on 1 Dec 2010 at 7:38
Hi Andrew, thanks for the response. I've tried it with another, much
larger/busier log file (essentially the entire perforce repository of a company
with 200 developers), and I set -s to .05 to get 20 days in a second, which
should mean that the video plays out in under 2 minutes (there's 6 years worth
of effort in the logs).
With -r 30 and -s .05 a day should be 1.5 frames (or rather 3 days would be 2
frames). However, this is never the case: early on in the log I'm getting ~20
frames per day, and later (with much more activity) it's above 70. The frames
have the right stuff in them, each and every one is different, but the
animation itself is just a lot slower than the -s switch would dictate. In
other words, I don't think it's a problem with the capture mechanism, it's
probably an issue with -s being more of a "guideline" to gource, and not a hard
rule.
Original comment by amar...@gmail.com
on 1 Dec 2010 at 6:52
What are you using to determine it staying on one day for 70+ frames? Is it the
clock?
Where it gets behind, do the number of commits per second exceed the fps?
Original comment by acaudw...@gmail.com
on 2 Dec 2010 at 1:16
Andrew,
I'm going through the video file frame by frame and looking at the date/time
indicator at the top of the image. Yes, the number of commits per second do
exceed the fps to a very large degree.
-Marton
Original comment by amar...@gmail.com
on 2 Dec 2010 at 1:58
I am trying to do the same thing as Amar, I am trying to boil 5 years down to 5
minutes. This is the command I am using:
gource gource.log --seconds-per-day 0.16439 --time-scale 1.0
--disable-auto-skip --max-file-lag 20.00 --file-idle-time 0 --max-files 10000 \
--title "Request Tracker" --date-format '%Y-%m-%d %T' -1600x1080
--highlight-users --user-friction 1.0 --max-user-speed 50 --highlight-dirs
--bloom-multiplier 0.5 --bloom-intensity 0.75 --user-scale
1.6 --user-image-dir images/ --highlight-users --hide mouse,progress --key
--stop-at-end --output-framerate 30 --output-ppm-stream - | ffmpeg -y -r 30
-f image2pipe -vcodec ppm -i - -threads 0 -r 24000/1001 -b 6144k -bt 8192k
-vcodec libx264 -pass 1 -flags +loop -me_method dia -g 250 -qcomp 0.6 -qmin 10
-qmax 51 -qdiff 4 -bf 16 -b_strategy 1 -i_qfactor 0.71 -cmp +chroma -subq 1
-me_range 16 -coder 1 -sc_threshold 40 -flags2
-bpyramid-wpred-mixed_refs-dct8x8+fastpskip -keyint_min 25 -refs 1 -trellis 0
-directpred 1 -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -an
GourceMovie_RT.mp4
The period I am trying to convert is from the "2010-07-02" to "2012-03-27".
This is 634 days, and hence the video should be approx 1:40, however it is 3:40
- and does not seem to have a smooth progression of the date at the top.
I am quite sure that I have some periods with more commits than the fps so I
will try to "cheat" and push these in the log-file to ensure that I do not have
more than 1 commit pr. second and see if I get better results.
Original comment by e...@altapay.com
on 30 Nov 2013 at 1:45
Work-around found: The opposite of my first suggestion, I group all changes by
hour such that there is at max 24 "events" pr. day, this makes the time run
clean and smooth.
Original comment by e...@altapay.com
on 30 Nov 2013 at 3:27
Original issue reported on code.google.com by
amar...@gmail.com
on 1 Dec 2010 at 6:36