[FFmpeg-user] Use blackdetect info to cut video

cclinus cclinus at hotmail.com
Mon Jun 25 21:18:00 CEST 2012


Hi all

I use the command to detect black screen interval. 

"ffmpeg -i black.mp4 -vf blackdetect=d=1:pic_th=0.70:pix_th=0.10 -an -f null
-

and it gives me output containing this line:
"[blackdetect @ 0x219a580] black_start:0 black_end:1.44 black_duration:1.44"

Now I want to cut off black screens in the video from 0-1.44s. Is there
anyway to do the processes all in one ffmpeg call?

Thanks!

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Use-blackdetect-info-to-cut-video-tp4651219.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list