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
"""When muxing, try to avoid writing any random/volatile data to the output.
152
-
153
-
This includes any random IDs, real-time timestamps/dates, muxer version, etc.
154
-
This flag is mainly intended for testing."""),
155
-
("SORT_DTS", lib.AVFMT_FLAG_SORT_DTS,
156
-
"Try to interleave outputted packets by dts (using this flag can slow demuxing down)."),
157
-
("FAST_SEEK", lib.AVFMT_FLAG_FAST_SEEK,
158
-
"Enable fast, but inaccurate seeks for some formats."),
159
-
("SHORTEST", lib.AVFMT_FLAG_SHORTEST,
160
-
"Stop muxing when the shortest stream stops."),
161
-
("AUTO_BSF", lib.AVFMT_FLAG_AUTO_BSF,
162
-
"Add bitstream filters as requested by the muxer."),
163
-
), is_flags=True)
164
125
126
+
classFlags(Flag):
127
+
gen_pts: "Generate missing pts even if it requires parsing future frames."= lib.AVFMT_FLAG_GENPTS
128
+
ign_idx: "Ignore index."= lib.AVFMT_FLAG_IGNIDX
129
+
non_block: "Do not block when reading packets from input."= lib.AVFMT_FLAG_NONBLOCK
130
+
ign_dts: "Ignore DTS on frames that contain both DTS & PTS."= lib.AVFMT_FLAG_IGNDTS
131
+
no_fillin: "Do not infer any values from other values, just return what is stored in the container."= lib.AVFMT_FLAG_NOFILLIN
132
+
no_parse: "Do not use AVParsers, you also must set AVFMT_FLAG_NOFILLIN as the fillin code works on frames and no parsing -> no frames. Also seeking to frames can not work if parsing to find frame boundaries has been disabled."= lib.AVFMT_FLAG_NOPARSE
133
+
no_buffer: "Do not buffer frames when possible."= lib.AVFMT_FLAG_NOBUFFER
134
+
custom_io: "The caller has supplied a custom AVIOContext, don't avio_close() it."= lib.AVFMT_FLAG_CUSTOM_IO
flush_packets: "Flush the AVIOContext every packet."= lib.AVFMT_FLAG_FLUSH_PACKETS
137
+
bitexact: "When muxing, try to avoid writing any random/volatile data to the output. This includes any random IDs, real-time timestamps/dates, muxer version, etc. This flag is mainly intended for testing."= lib.AVFMT_FLAG_BITEXACT
138
+
sort_dts: "Try to interleave outputted packets by dts (using this flag can slow demuxing down)."= lib.AVFMT_FLAG_SORT_DTS
139
+
fast_seek: "Enable fast, but inaccurate seeks for some formats."= lib.AVFMT_FLAG_FAST_SEEK
140
+
shortest: "Stop muxing when the shortest stream stops."= lib.AVFMT_FLAG_SHORTEST
141
+
auto_bsf: "Add bitstream filters as requested by the muxer."= lib.AVFMT_FLAG_AUTO_BSF
0 commit comments