The ninth part---Project ffmpeg command parsing
You have seen the ffmpeg on the arm Development Board to give the following information:
usage:ffmpeg [Options] [[infile Options]-I infile] ... {[outfile options] outfile} ...
Refer to the previous command to perform the same task on the PC Linux operating system
Ffmpeg-i rtsp://admin:[email protected]-vcodec copy-acodec copy-s 640x480-f flv rtmp://192.168.1.102:1935/hls/te St2
Do a detailed explanation here
InFile Rtsp://admin:[email protected]
OutFile Rtmp://192.168.1.102:1935/hls/test2
- i specifies the input file name
-VCODEC codec mandatory use of codec codec (' copy ' to copy stream)
-ACODEC codec specify audio encoding (' copy ' to copy stream)
-S size Specify resolution
-F FMT specified format (audio or video format)
The summary of the above commands is done by:
RTSP video stream converted to rtmp video streaming, the original RTSP video stream audio and video encoding format does not change, the specified audio and video packaging format for FLV.
Using Nginx+nginx-rtmp-module+ffmpeg to build a streaming server note (ix)