sirius
3c085b53ed
fix bug that demo can't play when demo pause and use start_video
2020-03-26 18:25:50 +08:00
sirius
b5c931279f
add option to pause video rendering when demo playing pause
2020-02-27 18:50:18 +08:00
sirius
97064a1b09
Keep trying to solve fluency issues
2020-01-25 19:14:45 +08:00
sirius
d6dc811674
seems fluent problem solved, and fix a error when compile by msvs
2020-01-12 16:57:40 +08:00
sirius
483885b6b1
try to solve the problem that video not fluent caused by previous commits
2020-01-08 14:25:06 +08:00
sirius
d45b66938d
make latter to wait when write_frame collision between audio and video
2020-01-07 11:32:56 +08:00
sirius
3baba93ed2
fix the problem of audio when video fps is low
2020-01-06 11:57:24 +08:00
sirius
779afcb771
crf and preset can be set by variables
2020-01-05 11:18:51 +08:00
sirius
5350a12185
fix wired sound
2020-01-04 10:17:16 +08:00
def
511c9d248e
Fix alignment of pixels for reading to video recorder
2020-01-03 21:43:15 +01:00
def
1e36b4df15
Move some code out as a small optimization
2020-01-03 21:42:53 +01:00
def
8d716452ba
Fix sizes so that we don't write too far
2020-01-03 21:42:19 +01:00
def
a0362019f0
Initialize m_NextaFrame
2020-01-03 20:37:27 +01:00
def
df807a7486
-DVIDEORECORDER=ON instead of -DFFMPEG=ON, fix README
...
remove unused files
2020-01-01 16:56:54 +01:00
sirius
76a80fe01b
deal with warnings
2019-11-12 21:41:30 +08:00
sirius
8c48e7d633
some small changes
2019-11-03 11:20:24 +08:00
sirius
e910fe404f
Direct mix when recording audio now, and seems solve the stuck problem when
...
DDNet is not the focusing window
2019-11-02 18:21:47 +08:00
sirius
ae1ff28579
not abort sample when sync now
2019-10-31 22:01:12 +08:00
sirius
5ad8028aa4
sync audio frame with video frame number
2019-10-31 20:02:41 +08:00
sirius
99df692e00
interleaving problem solved, but a little misplacement of video and audio stream
2019-10-31 17:00:05 +08:00
sirius
0a6edd02ca
solve the problem when video finished
2019-10-30 22:26:45 +08:00
sirius
9f009e0e04
interleaving problem seems solved, but still have some problem when playing by mplayer
2019-10-30 22:10:44 +08:00
sirius
f0e7ca200f
remove two first audio frames to avoid noise in the begining
2019-10-30 10:56:20 +08:00
sirius
a7c2a65ebc
audio seems correct, but need more elegant way, and still bad interleaving
2019-10-30 00:01:25 +08:00
sirius
9866a73b1c
sync audio and video
2019-10-26 19:54:25 +08:00
sirius
b175a6fd42
add button to use sound when rendering video
2019-10-17 13:38:00 +08:00
sirius
ca583ba2a9
solve the problem about disorder of frames, reason is that no glReadBuffer() before glReadPixel()
2019-10-02 09:52:47 +08:00
sirius
e4fdeefdd4
remove first two frames to forbid from interface before playback being rendered to video
2019-09-30 20:55:23 +08:00
sirius
562dffe800
segment fault repaired (don't nest others' function thoughtless)
2019-09-30 20:52:25 +08:00
sirius
a71339366b
add function to appoint video name, but will segment fault
2019-09-30 20:52:25 +08:00
H-M-H
78e851c52c
hopefully made msvc happy now
2019-09-30 20:48:50 +08:00
H-M-H
4b86630b42
fps for videos configurable and videos are stored at a proper location
2019-09-30 20:48:47 +08:00
H-M-H
98568eba43
no audio for now
2019-09-30 20:48:47 +08:00
H-M-H
ab9e716444
fixed compiling on linux
2019-09-30 20:48:47 +08:00
H-M-H
7ae4b39574
made recording demos work
...
- videorecorder only works for recording demos now
- demoplayer was modified to allow controll over the time that passed
in order to get perfect fps, IVideo controlls how much time passed,
basically every rendercall sets the time to record the next frame
2019-09-30 20:48:47 +08:00
H-M-H
94860c935f
raw H.264 --> mp4 \o/
2019-09-30 20:46:45 +08:00
H-M-H
c5c171a3cb
initial work on a video recorder
2019-09-30 20:46:45 +08:00