Gource

Aus SchnallIchNet
Version vom 13. September 2012, 13:31 Uhr von Cbs (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== get gource == here: http://code.google.com/p/gource/ == create log-file == svn log --verbose --xml https://bar.org/svn/foo/ > ~/myFoo.log modify log for …“)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

get gource

here: http://code.google.com/p/gource/


create log-file

svn log --verbose --xml https://bar.org/svn/foo/ > ~/myFoo.log

modify log for gource

svn-gource.py --filter-dirs ~/myFoo.log > ~/myFoo.gource.log


run gource

gource -800x600 --path ~/myFoo.gource.log -s 2 -b 000000 --highlight-all-users \
-title "myFoo-Project Development" --hide progress,filenames --user-scale 2.0 \
--stop-at-end --output-ppm-stream - | ffmpeg -y -b 3000K -r 60 -f image2pipe \
-vcodec ppm -i - -vcodec libx264 -vpre hq -crf 28 -threads 0 ~/myFoo.gource.mp4

e.g. convert to flv for streaming...

ffmpeg -i ~/myFoo.gource.mp4 -b_qfactor 4.0 -b 4000000 -r 25 -s 800x600 ~/myFoo.gource.flv

if really want streaning add meta-data:

flvtool2 -P myFoo.gource.flv

this modifies the file itself!!
if you want to keep an .flv file without metadata create a backup first!!!


have fun!