Windows上的Gource

问题描述 投票:27回答:3

我们在使用gource(gource)创建视频文件的Windows上遇到问题。我们可以运行gource并观看视频直播,但似乎无法获得任何有用的物理输出。

windows video gource
3个回答
65
投票
gource -1024x768 --stop-position 1.0 --highlight-all-users --hide-filenames --seconds-per-day 5 --output-framerate 60 --output-ppm-stream output.ppm

ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i output.ppm  -vcodec wmv1 -r 60 -qscale 0 out.wmv

关键是image2pipe格式,它似乎是从ppm中提取所有帧,而不是将其视为单个图像。


0
投票

我使用此程序SmartPixel在Windows上制作了gource视频。像这样使gource进入全屏模式:

gource --fullscreen

在设置中,您只需要关闭水印。任何游戏/视频捕获软件都具有相同的目的。

使用完整选项:

gource --fullscreen --save-config config.txt

将当前选项保存在文本文件中,您可以看到其外观上面的egzample文件内容:[显示]fullscreen = true

gource --load-config config.txt

从配置加载


0
投票

现在不建议使用预设。

这是我用的。

gource -f -3840x2160 --camera-mode  track  --file-idle-time 150  --max-file-lag 4 --seconds-per-day 2 --highlight-all-users --output-framerate 30 --output-ppm-stream output.ppm

ffmpeg -i output.ppm -c:v libx264 -crf 24 -preset veryslow output.mp4

此处有更多信息:

https://superuser.com/questions/490683/cheat-sheets-and-presets-settings-that-actually-work-with-ffmpeg-1-0

FFmpeg不再包含基于文本文件的预设和配置文件对于libx264,即与-vpre选项一起使用的内容。这些有已被贬值并删除,以便访问实际的x264-preset,-profile:v和-tune的预设,配置文件(和曲调)选项。旧的文本文件仅模拟官方的x264预设和个人资料,由于一些限制而无法提供完整的信息新系统提供的功能。这也容易得多维护。

© www.soinside.com 2019 - 2024. All rights reserved.