forked from tangger/lerobot
remove extra time base set. (#2133)
Co-authored-by: CarolinePascal <caroline8.pascal@gmail.com>
This commit is contained in:
@@ -451,11 +451,6 @@ def concatenate_video_files(
|
|||||||
stream_map[input_stream.index] = output_container.add_stream_from_template(
|
stream_map[input_stream.index] = output_container.add_stream_from_template(
|
||||||
template=input_stream, opaque=True
|
template=input_stream, opaque=True
|
||||||
)
|
)
|
||||||
stream_map[
|
|
||||||
input_stream.index
|
|
||||||
].time_base = (
|
|
||||||
input_stream.time_base
|
|
||||||
) # set the time base to the input stream time base (missing in the codec context)
|
|
||||||
|
|
||||||
# Demux + remux packets (no re-encode)
|
# Demux + remux packets (no re-encode)
|
||||||
for packet in input_container.demux():
|
for packet in input_container.demux():
|
||||||
|
|||||||
Reference in New Issue
Block a user