Changes between Version 12 and Version 13 of Xfade


Ignore:
Timestamp:
Jun 21, 2022, 7:54:56 AM (4 years ago)
Author:
Michael Koch
Comment:

correct error in examples

Legend:

Unmodified
Added
Removed
Modified
  • Xfade

    v12 v13  
    1111== MP4 output ==
    1212
    13 Fade between two images. Each image has a duration of 5 seconds. The fade duration is set to 1 second with the `duration` option, and it occurs at 4.5 seconds using the `offset` option.
     13Fade between two images. Each image has a duration of 5 seconds. The fade duration is set to 1 second with the `duration` option, and it occurs at 4 seconds using the `offset` option.
    1414
    1515{{{
    16 ffmpeg -loop 1 -t 5 -i 1.png -loop 1 -t 5 -i 2.png -filter_complex "[0][1]xfade=transition=fade:duration=1:offset=4.5,format=yuv420p" output.mp4
     16ffmpeg -loop 1 -t 5 -i 1.png -loop 1 -t 5 -i 2.png -filter_complex "[0][1]xfade=transition=fade:duration=1:offset=4,format=yuv420p" output.mp4
    1717}}}
    1818
    … …  
    2222
    2323{{{
    24 ffmpeg -loop 1 -t 5 -i 1.png -loop 1 -t 5 -i 2.png -filter_complex "[0][1]xfade=transition=fade:duration=1:offset=4.5,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif
     24ffmpeg -loop 1 -t 5 -i 1.png -loop 1 -t 5 -i 2.png -filter_complex "[0][1]xfade=transition=fade:duration=1:offset=4,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif
    2525}}}
    2626