@@ -856,6 +856,8 @@ properly into a mkv file. Specify mkvmerge as the concatenation method by settin
856
856
857
857
let output_ext = self . encoder . output_extension ( ) ;
858
858
859
+ let frame_rate = self . input . frame_rate ( ) . unwrap ( ) ;
860
+
859
861
let mut chunk = Chunk {
860
862
temp : self . temp . clone ( ) ,
861
863
index,
@@ -864,6 +866,7 @@ properly into a mkv file. Specify mkvmerge as the concatenation method by settin
864
866
output_ext : output_ext. to_owned ( ) ,
865
867
start_frame,
866
868
end_frame,
869
+ frame_rate,
867
870
video_params : overrides
868
871
. as_ref ( )
869
872
. map_or_else ( || self . video_params . clone ( ) , |ovr| ovr. video_params . clone ( ) ) ,
@@ -904,6 +907,8 @@ properly into a mkv file. Specify mkvmerge as the concatenation method by settin
904
907
905
908
let output_ext = self . encoder . output_extension ( ) ;
906
909
910
+ let frame_rate = self . input . frame_rate ( ) . unwrap ( ) ;
911
+
907
912
let mut chunk = Chunk {
908
913
temp : self . temp . clone ( ) ,
909
914
index,
@@ -912,6 +917,7 @@ properly into a mkv file. Specify mkvmerge as the concatenation method by settin
912
917
output_ext : output_ext. to_owned ( ) ,
913
918
start_frame : scene. start_frame ,
914
919
end_frame : scene. end_frame ,
920
+ frame_rate,
915
921
video_params : scene
916
922
. zone_overrides
917
923
. as_ref ( )
@@ -1077,6 +1083,8 @@ properly into a mkv file. Specify mkvmerge as the concatenation method by settin
1077
1083
1078
1084
let num_frames = num_frames ( Path :: new ( file) ) ?;
1079
1085
1086
+ let frame_rate = self . input . frame_rate ( ) . unwrap ( ) ;
1087
+
1080
1088
let mut chunk = Chunk {
1081
1089
temp : self . temp . clone ( ) ,
1082
1090
input : Input :: Video ( PathBuf :: from ( file) ) ,
@@ -1085,6 +1093,7 @@ properly into a mkv file. Specify mkvmerge as the concatenation method by settin
1085
1093
index,
1086
1094
start_frame : 0 ,
1087
1095
end_frame : num_frames,
1096
+ frame_rate,
1088
1097
video_params : overrides
1089
1098
. as_ref ( )
1090
1099
. map_or_else ( || self . video_params . clone ( ) , |ovr| ovr. video_params . clone ( ) ) ,
0 commit comments