Hello !

HTML Code:
ffmpeg -i "video.mp4" -vf "blackdetect=d=3:pix_th=0" -an -f null - 2>&1 | findstr black_duration > output.txt
I'm using this command to find faster the timestpams from where to synchronize a subtitle with the video. The problem with this command is the output.txt it's showing the full result , and I want only the black_duration to be exported and the timestamps to be in minutes , not in seconds. For exemple : [blackdetect @ 0000006a59125100] black_start:276.125 black_end:279.125 black_duration:3 , to be [blackdetect @ 0000006a59125100] black_start:00:04:35.000 black_end:00:04:38.000 black_duration:3

Exemple of the output.txt

HTML Code:
frame=  184 fps=0.0 q=-0.0 size=N/A time=00:00:07.66 bitrate=N/A speed=15.3x    
frame=  388 fps=388 q=-0.0 size=N/A time=00:00:16.16 bitrate=N/A speed=16.1x    
frame=  581 fps=387 q=-0.0 size=N/A time=00:00:24.20 bitrate=N/A speed=16.1x    
frame=  788 fps=394 q=-0.0 size=N/A time=00:00:32.83 bitrate=N/A speed=16.4x    
frame=  988 fps=395 q=-0.0 size=N/A time=00:00:41.16 bitrate=N/A speed=16.4x    
frame= 1193 fps=397 q=-0.0 size=N/A time=00:00:49.70 bitrate=N/A speed=16.5x    
frame= 1382 fps=394 q=-0.0 size=N/A time=00:00:57.58 bitrate=N/A speed=16.4x    
frame= 1582 fps=395 q=-0.0 size=N/A time=00:01:05.91 bitrate=N/A speed=16.4x    
frame= 1776 fps=394 q=-0.0 size=N/A time=00:01:14.00 bitrate=N/A speed=16.4x    
frame= 1970 fps=393 q=-0.0 size=N/A time=00:01:22.08 bitrate=N/A speed=16.4x    
frame= 2174 fps=395 q=-0.0 size=N/A time=00:01:30.58 bitrate=N/A speed=16.4x    
frame= 2373 fps=395 q=-0.0 size=N/A time=00:01:38.87 bitrate=N/A speed=16.4x    
frame= 2562 fps=393 q=-0.0 size=N/A time=00:01:46.75 bitrate=N/A speed=16.4x    
frame= 2748 fps=392 q=-0.0 size=N/A time=00:01:54.50 bitrate=N/A speed=16.3x    
frame= 2943 fps=392 q=-0.0 size=N/A time=00:02:02.62 bitrate=N/A speed=16.3x    
frame= 3128 fps=390 q=-0.0 size=N/A time=00:02:10.33 bitrate=N/A speed=16.3x    
frame= 3310 fps=389 q=-0.0 size=N/A time=00:02:17.91 bitrate=N/A speed=16.2x    
frame= 3501 fps=388 q=-0.0 size=N/A time=00:02:25.87 bitrate=N/A speed=16.2x    
frame= 3681 fps=387 q=-0.0 size=N/A time=00:02:33.37 bitrate=N/A speed=16.1x    
frame= 3869 fps=386 q=-0.0 size=N/A time=00:02:41.20 bitrate=N/A speed=16.1x    
frame= 4074 fps=387 q=-0.0 size=N/A time=00:02:49.75 bitrate=N/A speed=16.1x    
frame= 4256 fps=386 q=-0.0 size=N/A time=00:02:57.33 bitrate=N/A speed=16.1x    
frame= 4443 fps=385 q=-0.0 size=N/A time=00:03:05.12 bitrate=N/A speed=16.1x    
frame= 4634 fps=385 q=-0.0 size=N/A time=00:03:13.08 bitrate=N/A speed=  16x    
frame= 4817 fps=384 q=-0.0 size=N/A time=00:03:20.70 bitrate=N/A speed=  16x    
frame= 5002 fps=384 q=-0.0 size=N/A time=00:03:28.41 bitrate=N/A speed=  16x    
frame= 5199 fps=384 q=-0.0 size=N/A time=00:03:36.62 bitrate=N/A speed=  16x    
frame= 5371 fps=383 q=-0.0 size=N/A time=00:03:43.79 bitrate=N/A speed=15.9x    
frame= 5555 fps=382 q=-0.0 size=N/A time=00:03:51.45 bitrate=N/A speed=15.9x    
frame= 5737 fps=381 q=-0.0 size=N/A time=00:03:59.04 bitrate=N/A speed=15.9x    
frame= 5924 fps=381 q=-0.0 size=N/A time=00:04:06.83 bitrate=N/A speed=15.9x    
frame= 6115 fps=381 q=-0.0 size=N/A time=00:04:14.79 bitrate=N/A speed=15.9x    
frame= 6322 fps=382 q=-0.0 size=N/A time=00:04:23.41 bitrate=N/A speed=15.9x    
frame= 6525 fps=383 q=-0.0 size=N/A time=00:04:31.87 bitrate=N/A speed=15.9x    
[blackdetect @ 0000006a59125100] black_start:276.125 black_end:279.125 black_duration:3
frame= 6727 fps=383 q=-0.0 size=N/A time=00:04:40.29 bitrate=N/A speed=  16x