adamklump12 / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Large sections of 1970 timestamps in between real timestamps using a custom log #179

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create custom log file and sort the lines by date.
2. Use the flags below.

What is the expected output? 

Linear time flow.

What do you see instead?

Huge sections of 1970 timestamps .. I can't see this pattern in the POSIX 
timestamps flowing in.

What version of the product are you using? On what operating system?

0.39, Ubuntu Linux (precise)

Please provide any additional information below.

EXAMPLE LOG LINE

1322194608|user|M|path/to/source/file.c|

FLAGS 

gource
-s 0.2 
--camera-mode track
--stop-at-end
--hide filenames,bloom,progress,mouse
--highlight-users
-1920x1080
--output-ppm-stream -
--log-format custom - | avconv -y -b 3000K -r 60 -f image2pipe -vcodec ppm -i - 
-vcodec libx264 -vpre hq history.mp4

Original issue reported on code.google.com by jeff.pit...@gmail.com on 2 Mar 2013 at 12:55

GoogleCodeExporter commented 8 years ago
Hi,

Could you provide a small set of records to illustrate the problem? Perhaps by 
looking up the entry corresponding to the point that you see it flip to showing 
1970 timestamps.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 2 Mar 2013 at 8:27

GoogleCodeExporter commented 8 years ago
The problem here was that the log-format was getting generated from a slower 
process. Gource seemed to be skipping ahead or backfilling frames for data that 
hadn't arrived via the pipe.

To fix this problem, I pre-generated the custom log first and instead of using 
the stdin pipe, I set it to a file. Once I did this, the 1970 frames went away.

Original comment by j...@google.com on 15 May 2013 at 3:09