We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f659cfc commit d527571Copy full SHA for d527571
examples/basics/remux.py
@@ -9,7 +9,7 @@
9
# Make an output stream using the input as a template. This copies the stream
10
# setup from one to the other.
11
in_stream = input_.streams.video[0]
12
-out_stream = output.add_stream(template=in_stream)
+out_stream = output.add_stream_from_template(in_stream)
13
14
for packet in input_.demux(in_stream):
15
print(packet)
examples/subtitles/remux.py
@@ -6,7 +6,7 @@
6
output = av.open("remuxed.vtt", "w")
7
8
in_stream = input_.streams.subtitles[0]
if packet.dts is None:
0 commit comments