ffmpeg -i video.flv -an -ss 00:00:03 -an -r 1 -vframes 1 -y thumbnail.jpg
the options are as follow:
-i input file
-an Disable audio recording
-ss seek to (in this case second 3 to avoid black frame at start)
-vframes number of frame to get
-y overwrite output file
When Flash Player movie files that stream external FLV files (Flash videos) are placed on a Microsoft Windows 2003 server and then viewed in a browser, the SWF file plays correctly, but the FLV video does not stream. These files work correctly if tested on other operating systems. The issue affects all FLV files played via Windows 2003 server, including files made with the Flash Video Kit for Dreamweaver MX 2004.
This TechNote describes the steps necessary to allow Windows 2003 to stream Flash Video files.
Note: These instructions are provided as a courtesy for customers and address the issue in Microsoft Internet Information Services (IIS) 6.0 rather than Flash.
With IIS 6.0, Microsoft changed the way streaming media is handled. Previous versions of IIS did not require any modification to stream Flash Video. Microsoft IIS 6.0, the default web server that ships with Windows 2003, requires a MIME type to recognize that FLV files are streamed media.
Please be aware that these steps do not resolve any issue with Flash, but are a configuration step for Microsoft Windows 2003 and Microsoft IIS Server 6.0. Any difficulties in executing these instructions or any errors that may arise from modifying your system settings should be addressed to Microsoft. For more details, please refer to your IIS documentation.
- On the Windows 2003 server, open the Internet Information Services Manager.
- Expand the Local Computer Server.
- Right-click the local computer server and select Properties.
- Select the MIME Types tab.
- Click New and enter the following information:
- Associated Extension box: .FLV
- MIME Type box: application/octet-stream (some friend told me to use flv-application/octet-stream)
- Click OK.
- Restart the World Wide Web Publishing service.