You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: servers/movie_writer/movie_writer_ogv.h
-15Lines changed: 0 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -50,15 +50,9 @@ class MovieWriterOGV : public MovieWriter {
50
50
51
51
Ref<FileAccess> f;
52
52
53
-
// Bitrate target for Vorbis audio.
54
-
int audio_bitrate = 0;
55
-
56
53
// Vorbis quality -0.1 to 1 (-0.1 yields smallest files but lowest fidelity; 1 yields highest fidelity but large files. '0.2' is a reasonable default).
57
54
float audio_quality = 0.2;
58
55
59
-
// VP3 strict compatibility.
60
-
int vp3_compatible = 0;
61
-
62
56
// Bitrate target for Theora video.
63
57
int video_bitrate = 0;
64
58
@@ -68,21 +62,12 @@ class MovieWriterOGV : public MovieWriter {
68
62
// Video stream keyframe frequency (one every N frames).
69
63
ogg_uint32_t keyframe_frequency = 64;
70
64
71
-
// Buffer delay (in frames). Longer delays allow smoother rate adaptation and provide better overall quality, but require more
72
-
// client side buffering and add latency. The default value is the keyframe interval for one-pass encoding (or somewhat larger if
73
-
// soft-target is used).
74
-
int buffer_delay = -1;
75
-
76
65
// Sets the encoder speed level. Higher speed levels favor quicker encoding over better quality per bit. Depending on the encoding
77
66
// mode, and the internal algorithms used, quality may actually improve with higher speeds, but in this case bitrate will also
78
67
// likely increase. The maximum value, and the meaning of each value, are implementation-specific and may change depending on the
79
68
// current encoding mode.
80
69
int speed = 4;
81
70
82
-
// Use a large reservoir and treat the rate as a soft target; rate control is less strict but resulting quality is usually
83
-
// higher/smoother overall. Soft target also allows an optional setting to specify a minimum allowed quality.
84
-
bool soft_target = true;
85
-
86
71
// Take physical pages, weld into a logical stream of packets.
0 commit comments