Generate video thumbnails with FFmpeg 2.3.1

Source: Internet
Author: User

1. Download the FFmpeg file package and extract the files under the \bin\ in the package to the D:\ffmpeg\ directory. The Http://ffmpeg.zeranoe.com/builds/win32/static/d:\ffmpeg directory is appended to the system PATH environment variable; 2. Run Copy_to_ffmpeg.bat, Echoc.exe Led_f    Copy the Ont.ttf file to the D:\ffmpeg\ directory.    Echoc.exe output color characters in cmd console environment;    Led_font.ttf the font file used for the output timestamp; Amt.    CMD to all the video in the current directory, generate thumbnails, can take parameters; MT. CMD make_thumbnail.bat abbreviation; 3.make_thumbnail.bat can take two parameters (video file name,-ns), such as: Make_thumbnail "D:\video\sample.avi" [-ns]-n  s no pause function, skip pause during batch generation, 4. Add to System right-click menu registry Hkey_classes_root\*\shell\thumbnial\command The default value is set to D:\ffmpeg\Make_Thumbnail.bat    "%1"; Double-click Thumbnail.reg to automatically add to the registry; 5. Right-clicking on the browser's video file and selecting the Thumbnail menu will generate thumbnails. 6. Generate the video file name in the video folder.    The output configuration can be set in the Wxh.png thumbnail. 7.make_thumbnail.bat file.    SET split=30---The total number of images in the thumbnail image;    SET layout=5---The number of pictures displayed in a row of thumbnails;    SET size=214x120---The size of each picture; Set Fontfile=d\:ffmpeg\led_font.ttf---Font file set ffmpeg_path=d:\ffmpeg---FFMEPG directory 8. Parameter Description Make_thumbnail [-T Num] [-L NUM] [-S WxH] [-ns] [-nt] [[-i] infile] [-e Ext]-t  Number of total tiles (default)-L number of X tiles (default 5)-s size of one tile [width]x[height] (defaul T 214x120)-E extended name of the thumbnail image (default jpg) BMP gif jpg jpeg pcx PNG SGI TGA TIF TIFF- NT not Timestamp-ns is suspends processing of a batch program-i media file name, had best use double quotation m Arks example:make_thumbnail "D:\Video\sample.mp4"-ns make_thumbnail-t 30-l 5-s 214x120-ns-i "D:\Video\sample . mp4 "MT" D:\Video\sample.mp4 "-ns-nt mt-t 30-l 5-s 214x120-ns-nt-i" D:\Video\sample.mp4 "amt-t 10-l 2- S 320X230-NT notes 2.3. Version 1 added parameters, parameters are not case-sensitive, AMT.    CMD supports multiple language filenames; -T Total Pictures-L number of pictures in a row the size of a picture-e output Picture format-nt no timestamp-ns do not pause-i "Video file name" Do not set this parameter when using Amt.cmd Http://cnblogs.com/nlsoft


Download FFmpeg http://ffmpeg.zeranoe.com/builds/win32/static/
Download Source http://files.cnblogs.com/files/nlsoft/Make_Thumbnail.2.3.1.7z

Show progress during run


after the run is finished


batch generation of thumbnail AMT. CMD


generated thumbnails

Generate video thumbnails with FFmpeg 2.3.1

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.