Revision aadfc9ee doc/filters.texi

View differences:

doc/filters.texi
353 353
drawbox=10:20:200:60:red@@0.5"
354 354
@end example
355 355

  
356
@section fade
357

  
358
Apply fade-in/out effect to input video.
359

  
360
It accepts the parameters:
361
@var{type}:@var{start_frame}:@var{nb_frames}
362

  
363
@var{type} specifies if the effect type, can be either "in" for
364
fade-in, or "out" for a fade-out effect.
365

  
366
@var{start_frame} specifies the number of the start frame for starting
367
to apply the fade effect.
368

  
369
@var{nb_frames} specifies the number of frames for which the fade
370
effect has to last. At the end of the fade-in effect the output video
371
will have the same intensity as the input video, at the end of the
372
fade-out transition the output video will be completely black.
373

  
374
A few usage examples follow, usable too as test scenarios.
375
@example
376
# fade in first 30 frames of video
377
fade=in:0:30
378

  
379
# fade out last 45 frames of a 200-frame video
380
fade=out:155:45
381

  
382
# fade in first 25 frames and fade out last 25 frames of a 1000-frame video
383
fade=in:0:25, fade=out:975:25
384

  
385
# make first 5 frames black, then fade in from frame 5-24
386
fade=in:5:20
387
@end example
388

  
356 389
@section fifo
357 390

  
358 391
Buffer input images and send them when they are requested.

Also available in: Unified diff