• basic DOS commands
1. The key command
to open the specified file folder path cd {} command
to switch to a folder cd ..
switch the current directory to the file folder named CD xxx xxx
changing the current command letter c:
2. other command
to view the contents of a directory dir command
to create a directory command md
file copy command copy
delete the file del command
to clear the screen command cls
additional command • Windows system provides
such as ping, ipconfig, etc.
ffmpeg.exe Syntax
Function: video transcoding.
1. The simplest command
ffmpeg -i input.avi -b: v 640k output.ts
the command input.avi the current file folder into a output.ts file, set the bit rate of the video file and output.ts to 640kbps.
2. Format
ffmpeg -i {input file path} -b: v {} {output bit rate of the output video file path}
All parameters are specified in the form of key-value pairs. For example input file parameters "-i", and the parameter value is a file path; output video rate parameter is "-b: v", and the parameter value is the value of the video bit rate. However, note rearmost front output file path does not include a parameter name.
Common command parameters
ffplay.exe Command Format
function: ffplay.exe for playing video.
1. The simplest command
ffplay input.avi
This command will play input.avi files in the current folder.
2. Syntax
ffplay {input file path}
ffplay.exe ffmpeg.exe format and parameters are similar. All parameters are specified in the form of key-value pairs (because they do not contain the output file, so you can specify input parameters). Note that the rearmost located in front of the input file path name does not include a parameter.
Reference herein Lei Xiao Hua PDF