Boonda-P / gource

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

Video creation via ffmpeg #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The wiki indicates that the following command-line will result in a video file, 
however it results 
in an error when using Gource v0.17

From http://code.google.com/p/gource/wiki/Videos:

gource --output-ppm-stream - | ffmpeg -y -b 3000K -r 60 -f image2pipe -vcodec 
ppm -i - 
gource.h264

What steps will reproduce the problem?
1. Run the command-line as described above 

What is the expected output? What do you see instead?

Expected output is a video file.  Instead I'm getting this error message:

FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/opt/local --disable-vhook --enable-gpl --enable-postproc --
enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-libmp3lame 
--enable-
libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger 
--enable-libfaac --
enable-libfaad --enable-libxvid --enable-libx264 --mandir=/opt/local/share/man 
--enable-
shared --enable-pthreads --cc=/usr/bin/gcc-4.0 --arch=i386
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    1. 4. 0 /  1. 4. 0
  libswscale     1. 7. 1 /  1. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Nov 25 2009 13:44:12, gcc: 4.0.1 (Apple Inc. build 5493)
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: ppm, rgb24, 1024x768, 60 tbr, 60 tbn, 60 tbc
Output #0, h264, to 'gource.h264':
    Stream #0.0: Video: libx264, yuv420p, 1024x768, q=2-31, 3000 kb/s, 90k tbn, 60 tbc
Stream mapping:
  Stream #0.0 -> #0.0
[libx264 @ 0x1807200]broken ffmpeg default settings detected
[libx264 @ 0x1807200]use an encoding preset (vpre)
Error while opening codec for output stream #0.0 - maybe incorrect parameters 
such as bit_rate, 
rate, width or height

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

Mac OS X Leopard

Running gource on the project works fine when not attempting to create video 
output.

Original issue reported on code.google.com by dgree...@gmail.com on 25 Nov 2009 at 10:08

GoogleCodeExporter commented 8 years ago
Looks like an error coming from ffmpeg not Gource?

Since the error seems to be from the x264 codec you could try encoding it in
something else that works on your system, eg change gource.h264 to gource.mpeg 
and
it'll try and encode it as mpeg.

Original comment by acaudw...@gmail.com on 26 Nov 2009 at 3:31