Robert Müller
89f126cf8d
Remove obsolete ignore_convention comment
2022-02-16 20:54:11 +01:00
Dennis Felsing
d54a7993d5
Fix compiler warning with ffmpeg 5.0
2022-01-18 00:30:34 +01:00
Jupeyy
a663799188
uint64 -> uint64_t, int64 -> int64_t
2021-06-24 17:19:17 +02:00
ChillerDragon
8a4f4fc6c9
Use str_length
2021-06-05 16:46:01 +02:00
def
427c01294a
av_init_packet is deprecated, use av_packet_alloc instead
2021-05-06 12:25:12 +02:00
Jupeyy
8be6f1791c
Make video's pixel read GLES conform
2021-05-03 23:02:45 +02:00
Jupeyy
e05abbaa91
Remove GL includes from headers
2021-05-01 23:56:30 +02:00
def
e985632fae
OSX -> macOS
...
Changing the filenames of the releases will be a bit more annoying, so
not sure we want to do that
2021-02-12 13:41:41 +01:00
def
e592afc98c
Add Thread Safety Analysis
...
and annotate some code: https://clang.llvm.org/docs/ThreadSafetyAnalysis.html
2020-12-23 18:13:21 +01:00
Dennis Felsing
23c005144b
consistent formatting for dbg_msg
...
no capital letters, no spaces
2020-10-26 10:04:03 +01:00
def
5c1b8cd221
Fix clang-analyzer-deadcode.DeadStores
...
/media/ddnet/src/game/client/components/statboard.cpp:288:3: warning: Value stored to 'tw' is never read [clang-analyzer-deadcode.DeadStores]
2020-10-14 15:45:47 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
062c897edd
Don't exit(1) in video recorder on failure
2020-09-13 22:50:04 +02:00
def
45457b6185
Bundle FFmpeg for everything
...
so that we can enable videorecorder by default
Works as expected.
2020-09-07 07:04:29 +02:00
bors[bot]
c4d5c8dfa2
Merge #2478 #2480
...
2478: Use (u)int64 from system.h instead of (u)int64_t from cstdint r=heinrich5991 a=def-
src/game/client/prediction/gameworld.h:62:90: error: ‘int64_t’ has not been declared
62 | void CreateExplosion(vec2 Pos, int Owner, int Weapon, bool NoDamage, int ActivatedTeam, int64_t Mask);
| ^~~~~~~
2480: Send zoom status for dummy too r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-07-09 18:31:32 +00:00
def
f4344dc420
Use (u)int64 from system.h instead of (u)int64_t from cstdint
...
src/game/client/prediction/gameworld.h:62:90: error: ‘int64_t’ has not been declared
62 | void CreateExplosion(vec2 Pos, int Owner, int Weapon, bool NoDamage, int ActivatedTeam, int64_t Mask);
| ^~~~~~~
2020-07-09 13:55:28 +02:00
def
42f1aba2c3
Fix video recorder (follow-up to 83c820db
)
2020-07-07 15:45:36 +02:00
def
83c820db09
Fix some naming conventions in videorecorder
2020-06-23 08:00:03 +02:00
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