@@ -75,6 +75,7 @@ def join_video(video_path: str, out_path: str, codec: M3U8_Codec = None):
7575
7676 # Output file and overwrite
7777 ffmpeg_cmd .extend ([out_path , '-y' ])
78+ logging .info (f"FFMPEG Command: { ' ' .join (ffmpeg_cmd )} \n " )
7879
7980 # Run join
8081 if DEBUG_MODE :
@@ -122,7 +123,7 @@ def join_audios(video_path: str, audio_tracks: List[Dict[str, str]], out_path: s
122123 if use_shortest :
123124 for track in duration_diffs :
124125 color = "red" if track ['has_error' ] else "green"
125- console .print (f"[{ color } ]Audio { track ['language' ]} : Video duration: { track ['video_duration' ]:.2f} s, Audio duration: { track ['audio_duration' ]:.2f} s, Difference: { track ['difference' ]:.2f} s[/{ color } ]" )
126+ console .print (f"[{ color } ]Audio { track ['language' ]} : Video duration: { track ['video_duration' ]:.2f} s, Audio duration: { track ['audio_duration' ]:.2f} s, Difference: { track ['difference' ]:.2f} s[/{ color } ] \n " )
126127
127128 # Start command with locate ffmpeg
128129 ffmpeg_cmd = [get_ffmpeg_path ()]
@@ -153,6 +154,7 @@ def join_audios(video_path: str, audio_tracks: List[Dict[str, str]], out_path: s
153154
154155 # Output file and overwrite
155156 ffmpeg_cmd .extend ([out_path , '-y' ])
157+ logging .info (f"FFMPEG Command: { ' ' .join (ffmpeg_cmd )} \n " )
156158
157159 # Run join
158160 if DEBUG_MODE :
@@ -197,7 +199,7 @@ def join_subtitle(video_path: str, subtitles_list: List[Dict[str, str]], out_pat
197199
198200 # Overwrite
199201 ffmpeg_cmd += [out_path , "-y" ]
200- logging .info (f"FFmpeg command : { ffmpeg_cmd } " )
202+ logging .info (f"FFMPEG Command : { ' ' . join ( ffmpeg_cmd ) } \n " )
201203
202204 # Run join
203205 if DEBUG_MODE :
0 commit comments