LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2012, 09:47 PM   #1
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Rep: Reputation: 15
gource : one frame only "Reading Log..."


Hi,
after executing gource on a SVN repository (at revision 79) I only get a mp4 movie with one single frame with the words "Reading Log..."

The sequence of commands is:
Code:
# ls -lh
total 28K
drwxr-xr-x 2 www-data www-data 4.0K 2012-03-11 05:50 conf
drwxr-xr-x 3 www-data www-data 4.0K 2012-03-11 05:54 dav
drwxr-sr-x 7 www-data www-data 4.0K 2012-03-21 18:22 db
-r--r--r-- 1 www-data www-data    2 2012-03-11 05:50 format
drwxr-xr-x 2 www-data www-data 4.0K 2012-03-11 05:50 hooks
drwxr-xr-x 2 www-data www-data 4.0K 2012-03-11 05:50 locks
-rw-r--r-- 1 www-data www-data  229 2012-03-11 05:50 README.txt
Code:
# gource -o gource.ppm --disable-progress --stop-at-end
Gource v0.34
Usage: gource [OPTIONS] [PATH]

Options:
  -h, --help                       Help

  -WIDTHxHEIGHT, --viewport        Set viewport size
  -f, --fullscreen                 Fullscreen
      --multi-sampling             Enable multi-sampling
      --no-vsync                   Disable vsync

  -p, --start-position POSITION    Begin at some position (0.0-1.0 or 'random')
      --stop-position  POSITION    Stop at some position
  -t, --stop-at-time SECONDS       Stop after a specified number of seconds
      --stop-at-end                Stop at end of the log
      --dont-stop                  Keep running after the end of the log
      --loop                       Loop at the end of the log

  -a, --auto-skip-seconds SECONDS  Auto skip to next entry if nothing happens
                                   for a number of seconds (default: 3)
      --disable-auto-skip          Disable auto skip
  -s, --seconds-per-day SECONDS    Speed in seconds per day (default: 10)
      --realtime                   Realtime playback speed
  -c, --time-scale SCALE           Change simuation time scale (default: 1.0)
  -e, --elasticity FLOAT           Elasticity of nodes

  --key                            Show file extension key

  --user-image-dir DIRECTORY       Dir containing images to use as avatars
  --default-user-image IMAGE       Default user image file
  --colour-images                  Colourize user images

  -i, --file-idle-time SECONDS     Time files remain idle (default: 60)

  --max-files NUMBER       Max number of active files (default: 1000)
  --max-file-lag SECONDS   Max time files of a commit can take to appear

  --log-command VCS        Show the VCS log command (git,svn,hg,bzr,cvs2cl)
  --log-format  VCS        Specify the log format (git,svn,hg,bzr,cvs2cl,custom)

  --load-config CONF_FILE  Load a config file
  --save-config CONF_FILE  Save a config file with the current options

  -o, --output-ppm-stream FILE    Output PPM stream to a file ('-' for STDOUT)
  -r, --output-framerate  FPS     Framerate of output (25,30,60)

PATH may be a supported version control directory, a log file, a gource config
file, or '-' to read STDIN. If ommited, gource will attempt to generate a log
from the current directory.

To see the full command line options use '-H'
Code:
# ls -lh
total 2.3M
drwxr-xr-x 2 www-data www-data 4.0K 2012-03-11 05:50 conf
drwxr-xr-x 3 www-data www-data 4.0K 2012-03-11 05:54 dav
drwxr-sr-x 7 www-data www-data 4.0K 2012-03-21 18:22 db
-r--r--r-- 1 www-data www-data    2 2012-03-11 05:50 format
-rw-r--r-- 1 root     root     2.3M 2012-03-21 22:42 gource.ppm
drwxr-xr-x 2 www-data www-data 4.0K 2012-03-11 05:50 hooks
drwxr-xr-x 2 www-data www-data 4.0K 2012-03-11 05:50 locks
-rw-r--r-- 1 www-data www-data  229 2012-03-11 05:50 README.txt
Code:
# head -n 4 gource.ppm 
P6
# Generated by Gource
1024 768
255
Code:
# ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i gource.ppm -vcodec libx264 -vpre ultrafast -crf 1 -threads 0 -bf 0 gource.mp4
ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers
  built on Jan  4 2012 16:08:51 with gcc 4.6.1
  configuration: --extra-version='4:0.7.3-0ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  WARNING: library configuration mismatch
  avutil      configuration: --extra-version='4:0.7.3ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --enable-shared --disable-static
  avcodec     configuration: --extra-version='4:0.7.3ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --enable-shared --disable-static
  libavutil    51.  7. 0 / 51.  7. 0
  libavcodec   53.  6. 0 / 53.  6. 0
  libavformat  53.  3. 0 / 53.  3. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  4. 0 /  2.  4. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  52.  0. 0 / 52.  0. 0
[image2pipe @ 0x15e96c0] Estimating duration from bitrate, this may be inaccurate
Input #0, image2pipe, from 'gource.ppm':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: ppm, rgb24, 1024x768, 60 tbr, 60 tbn, 60 tbc
Incompatible pixel format 'rgb24' for codec 'libx264', auto-selecting format 'yuv420p'
[buffer @ 0x15e95c0] w:1024 h:768 pixfmt:rgb24
[ffsink @ 0x15f7380] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x15f8500] w:1024 h:768 fmt:rgb24 -> w:1024 h:768 fmt:yuv420p flags:0x4
[libx264 @ 0x15fa820] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
[libx264 @ 0x15fa820] profile Constrained Baseline, level 3.2
[libx264 @ 0x15fa820] 264 - core 116 r2042 178455c - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.41 aq=0
Output #0, mp4, to 'gource.mp4':
  Metadata:
    encoder         : Lavf53.3.0
    Stream #0.0: Video: libx264, yuv420p, 1024x768, q=0-69, 200 kb/s, 60 tbn, 60 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
frame=    1 fps=  0 q=0.0 Lsize=       5kB time=0.02 bitrate=2497.4kbits/s    
video:4kB audio:0kB global headers:0kB muxing overhead 16.112475%
frame I:1     Avg QP: 0.00  size:  3866
[libx264 @ 0x15fa820] mb I  I16..4: 99.7%  0.0%  0.3%
[libx264 @ 0x15fa820] coded y,uvDC,uvAC intra: 0.3% 0.0% 0.0%
[libx264 @ 0x15fa820] i16 v,h,dc,p: 98%  0%  2%  0%
[libx264 @ 0x15fa820] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 13% 45%  1%  7%  3%  1%  1%  5%
[libx264 @ 0x15fa820] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 0x15fa820] kb/s:1855.68
Does anyone know what can be wrong?

Thanks!
 
Old 03-21-2012, 10:04 PM   #2
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Original Poster
Rep: Reputation: 15
I was using gource on the wrong folder.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to fix "Please have a look at the log file for details: /var/log/jockey.log" harisuciha Linux - Hardware 3 04-29-2012 12:59 PM
Program to "assemble" still-frame pictures into "animated" show Pantherman Linux - General 3 12-24-2009 11:14 PM
The "Log out" and "Lock screen" actions cannot be executed through keyboard shortcuts Snood Linux - Desktop 0 04-22-2009 09:30 AM
"Frame check sequence"-error (802.11b Ad hoc) rickthemick Linux - Wireless Networking 2 08-21-2008 10:04 AM
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration