Use FFmpeg Palettegen paletteuse to create GIF animations that are close to panchromatic

Source: Internet
Author: User

Download ffmpeg-videotogif-v1.0.bat.7z

FFmpeg version 2.6 and above valid
When palette is not used After using palette
@echo Offset    infile=2015.06.12.aviset starttime=00:00:30.497 set   endtime=00:00:37.037set       fps=10set     width=240call lib_calculatetotaltime.bat%starttime%%endtime%set totaltime=%total_time%set "startTime=% StartTime: =% "Set" Endtime=%endtime: =% "Set" starttimestr=%starttime::=.% "Set" endtimestr=%endtime::=.% "Set outfile= "Out-%width%-%starttimestr%-%endtimestr%.gif" Set Palette=palette.pngset filters=fps=%fps%,scale=%width%:-1:flags =fast_bilinearprompt. @echo%time%rem Generate One palette-v warning  @echo onffmpeg-v fatal-ss%starttime%-T%tota  Ltime%-i "%infile%"-VF%filters%,palettegen-y%palette% @echo%time% @echo offrem Generate one Gif@echo onffmpeg-v fatal -ss%starttime%-T%totaltime%-i "%infile%"-I%palette%-lavfi "%filters% [x]; [x] [1:v] paletteuse "-y%outfile% @echo%time% @echo off@echo. @echo----Generate finished----del%palette% @echo Pause>nul

Use FFmpeg Palettegen paletteuse to create GIF animations that are close to panchromatic

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.