[FFmpeg-user] Use blackdetect info to cut video
ubitux at gmail.com
Tue Jun 26 08:57:43 CEST 2012
On Mon, Jun 25, 2012 at 12:18:00PM -0700, cclinus wrote:
> 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?
ATM I don't think it's possible. But one could write some code in the
select filter to achieve that (just like it was recently done for the
scene cut feature).
You might want to open a trac issue for this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-user