Using Nginx+nginx-rtmp-module+ffmpeg to build a streaming server note (ix)

Source: Internet
Author: User

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)

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.