~/Projects/FFCreator
git clone https://code.lsong.org/FFCreator
Commit
- Commit
- 9f6a2423bdf6424d34f52b3ef1da552799006da4
- Author
- drawcall <[email protected]>
- Date
- 2021-05-09 15:21:45 +0800 +0800
- Diffstat
docs/en/qa/qa.md | 16 ++++++++++++++++ docs/qa/qa.md | 15 +++++++++++++++
doc: update QA md
diff --git a/docs/en/qa/qa.md b/docs/en/qa/qa.md index 19be6243210f4bb5a85e2c819261e1ccba212d91..0fde252d1e71041abf78e6b0e490734bdab177b3 100755 --- a/docs/en/qa/qa.md +++ b/docs/en/qa/qa.md @@ -37,4 +37,20 @@ #### Solve # Common problem +#### Solve + + +5. #### Why is a 2G cache generated when synthesizing a video of more than one minute? + +#### Solve + +FFCreator uses raw format cache by default, raw can make the processing speed is fast and the video quality is also very good. +If your server does not have a large storage space, and you do not have a high demand for processing speed. Then you can set the cache format to save disk space. + +- Use `jpg`(or `png`) format cache, Set the `cacheQuality` option to modify the quality. +> Note: The use of jpg format compared to raw will greatly save the cache space, most of the time it is about one-tenth. the processing speed will be a little bit slower. + +```javascript +cacheType: 'jpg', // (or png) +cacheQuality: 70, // default 80 ``` diff --git a/docs/qa/qa.md b/docs/qa/qa.md index 238cd99ec4dc8baf0b92944b5494615325d79f02..8523e7bee4090d9e180b5089fc26a9f5a9406925 100755 --- a/docs/qa/qa.md +++ b/docs/qa/qa.md @@ -37,4 +37,19 @@ #### 解决 # 常见问题 +#### 解决 + +5. #### 为什么合成一分钟以上的视频的时候会生成几个G的缓存 + +#### 解决 + +FFCreator默认使用的是raw格式缓存,使用raw可以确保处理速度极快并且视频质量也非常好。 +如果你的服务器并没有大的存储空间, 那么您可以通过设置缓存格式来节省磁盘空间。 + +- 使用`jpg`(or `png`) 格式的缓存,设置`cacheQuality`选项以修改质量。 +> 注:使用jpg格式对比原始将会极大的节省缓存空间,大多时候是十分之一甚至几十分之一。png质量会更好一些但是占用空间也会变大。 + +```javascript +cacheType: 'jpg', // (or png) +cacheQuality: 70, // default 80 ```