ASPCodeAs follows:
<%
STR = "D:/ffmpeg.exe"
'Video = "D:/a. mov"
Video = "D:/AAA. Avi"
Simg = "D:/bbbbbb.jpg"
FLV = "D:/3gp2. FLV"
'Response. Write video
Set wshshell = server. Createobject ("wscript. Shell ")
Dim rannum1
Randomize
Rannum1 = int (10 * RND) + 1
'Str = STR & "-I" & Video & "-y-F image2-SS" & rannum1 & "-T 0.005-S 120x90" & simg
STR = STR & "-I" & Video & "-y-AB 56-ar 22050-B 500-R 15-s 320*240" & FLV
'Str = STR & "-I" & Video & "-AB 56-ar 22050-B 500-R 15-s 320x240" & FLV
Isffmpeg = wshshell. Run (St *, 1, ** LSE)
####################### Video image processing ends
If isffmpeg = 0 then
Response. Write STR & "<br>"
End if
%>
FFmpeg parameter description
Ffmpeg.exe-I f:/ .mp3 .mp3-AB 56-ar 22050-B 500-R 15-s 320x240 F:/11.flv
FFmpeg-I f:/01.wmv-AB 56-ar 22050-B 500-R 15-s 320x240 F:/test. FLV
Use the-SS parameter (time_off set the Start Time Offset) to start the conversion task from a specified time point. For example:
Capture the thumbnail while converting the file format:
FFmpeg-I "test. Avi"-y-F image2-SS 8-T 0.001-s 350x240 'test.jpg'
Capture existing FLV images:
FFmpeg-I "test. FLV"-y-F image2-SS 8-T 0.001-s 350x240 'test.jpg'
-SS followed by time in seconds
FFmpeg conversion command
FFmpeg-y-I test. MPEG-bitexact-vcodec h263-B 128-R 15-s 176x144-acodec AAC-AC 2-ar 22500
-AB 24-F 3GP test.3gp
Or
FFmpeg-y-I test. MPEG-Ac 1-acodec amr_nb-ar 8000-s 176x144-B 128-R 15 test.3gp
Description of FFMPEG parameter settings
-Bitexact uses standard Bit Rate
-Use Xvid to compress vcodec Xvid
-S 320x240 specify resolution
-R 29.97 percentile rate (it can be changed to confirm that non-standard percentile rate will cause sound