rtmp AVOptions:

  -rtmp_app          <string>     ED........ Name of application to connect to on the RTMP server

  -rtmp_buffer       <int>        ED........ Set buffer time in milliseconds. The default is 3000. (from 0 to INT_MAX) (default 3000)

  -rtmp_conn         <string>     ED........ Append arbitrary AMF data to the Connect message

  -rtmp_flashver     <string>     ED........ Version of the Flash plugin used to run the SWF player.

  -rtmp_flush_interval <int>        E......... Number of packets flushed in the same request (RTMPT only). (from 0 to INT_MAX) (default 10)

  -rtmp_live         <int>        .D........ Specify that the media is a live stream. (from INT_MIN to INT_MAX) (default any)

     any             -2           .D........ both

     live            -1           .D........ live stream

     recorded        0            .D........ recorded stream

  -rtmp_pageurl      <string>     .D........ URL of the web page in which the media was embedded. By default no value will be sent.

  -rtmp_playpath     <string>     ED........ Stream identifier to play or to publish

  -rtmp_subscribe    <string>     .D........ Name of live stream to subscribe to. Defaults to rtmp_playpath.

  -rtmp_swfhash      <binary>     .D........ SHA256 hash of the decompressed SWF file (32 bytes).

  -rtmp_swfsize      <int>        .D........ Size of the decompressed SWF file, required for SWFVerification. (from 0 to INT_MAX) (default 0)

  -rtmp_swfurl       <string>     ED........ URL of the SWF player. By default no value will be sent

  -rtmp_swfverify    <string>     .D........ URL to player swf file, compute hash/size automatically.

  -rtmp_tcurl        <string>     ED........ URL of the target stream. Defaults to proto://host[:port]/app.

  -rtmp_listen       <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -listen            <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -timeout           <int>        .D........ Maximum timeout (in seconds) to wait for incoming connections. -1 is infinite. Implies -rtmp_listen 1 (from INT_MIN to INT_MAX) (default -1)


rtmpe AVOptions:

  -rtmp_app          <string>     ED........ Name of application to connect to on the RTMP server

  -rtmp_buffer       <int>        ED........ Set buffer time in milliseconds. The default is 3000. (from 0 to INT_MAX) (default 3000)

  -rtmp_conn         <string>     ED........ Append arbitrary AMF data to the Connect message

  -rtmp_flashver     <string>     ED........ Version of the Flash plugin used to run the SWF player.

  -rtmp_flush_interval <int>        E......... Number of packets flushed in the same request (RTMPT only). (from 0 to INT_MAX) (default 10)

  -rtmp_live         <int>        .D........ Specify that the media is a live stream. (from INT_MIN to INT_MAX) (default any)

     any             -2           .D........ both

     live            -1           .D........ live stream

     recorded        0            .D........ recorded stream

  -rtmp_pageurl      <string>     .D........ URL of the web page in which the media was embedded. By default no value will be sent.

  -rtmp_playpath     <string>     ED........ Stream identifier to play or to publish

  -rtmp_subscribe    <string>     .D........ Name of live stream to subscribe to. Defaults to rtmp_playpath.

  -rtmp_swfhash      <binary>     .D........ SHA256 hash of the decompressed SWF file (32 bytes).

  -rtmp_swfsize      <int>        .D........ Size of the decompressed SWF file, required for SWFVerification. (from 0 to INT_MAX) (default 0)

  -rtmp_swfurl       <string>     ED........ URL of the SWF player. By default no value will be sent

  -rtmp_swfverify    <string>     .D........ URL to player swf file, compute hash/size automatically.

  -rtmp_tcurl        <string>     ED........ URL of the target stream. Defaults to proto://host[:port]/app.

  -rtmp_listen       <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -listen            <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -timeout           <int>        .D........ Maximum timeout (in seconds) to wait for incoming connections. -1 is infinite. Implies -rtmp_listen 1 (from INT_MIN to INT_MAX) (default -1)


rtmps AVOptions:

  -rtmp_app          <string>     ED........ Name of application to connect to on the RTMP server

  -rtmp_buffer       <int>        ED........ Set buffer time in milliseconds. The default is 3000. (from 0 to INT_MAX) (default 3000)

  -rtmp_conn         <string>     ED........ Append arbitrary AMF data to the Connect message

  -rtmp_flashver     <string>     ED........ Version of the Flash plugin used to run the SWF player.

  -rtmp_flush_interval <int>        E......... Number of packets flushed in the same request (RTMPT only). (from 0 to INT_MAX) (default 10)

  -rtmp_live         <int>        .D........ Specify that the media is a live stream. (from INT_MIN to INT_MAX) (default any)

     any             -2           .D........ both

     live            -1           .D........ live stream

     recorded        0            .D........ recorded stream

  -rtmp_pageurl      <string>     .D........ URL of the web page in which the media was embedded. By default no value will be sent.

  -rtmp_playpath     <string>     ED........ Stream identifier to play or to publish

  -rtmp_subscribe    <string>     .D........ Name of live stream to subscribe to. Defaults to rtmp_playpath.

  -rtmp_swfhash      <binary>     .D........ SHA256 hash of the decompressed SWF file (32 bytes).

  -rtmp_swfsize      <int>        .D........ Size of the decompressed SWF file, required for SWFVerification. (from 0 to INT_MAX) (default 0)

  -rtmp_swfurl       <string>     ED........ URL of the SWF player. By default no value will be sent

  -rtmp_swfverify    <string>     .D........ URL to player swf file, compute hash/size automatically.

  -rtmp_tcurl        <string>     ED........ URL of the target stream. Defaults to proto://host[:port]/app.

  -rtmp_listen       <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -listen            <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -timeout           <int>        .D........ Maximum timeout (in seconds) to wait for incoming connections. -1 is infinite. Implies -rtmp_listen 1 (from INT_MIN to INT_MAX) (default -1)


rtmpt AVOptions:

  -rtmp_app          <string>     ED........ Name of application to connect to on the RTMP server

  -rtmp_buffer       <int>        ED........ Set buffer time in milliseconds. The default is 3000. (from 0 to INT_MAX) (default 3000)

  -rtmp_conn         <string>     ED........ Append arbitrary AMF data to the Connect message

  -rtmp_flashver     <string>     ED........ Version of the Flash plugin used to run the SWF player.

  -rtmp_flush_interval <int>        E......... Number of packets flushed in the same request (RTMPT only). (from 0 to INT_MAX) (default 10)

  -rtmp_live         <int>        .D........ Specify that the media is a live stream. (from INT_MIN to INT_MAX) (default any)

     any             -2           .D........ both

     live            -1           .D........ live stream

     recorded        0            .D........ recorded stream

  -rtmp_pageurl      <string>     .D........ URL of the web page in which the media was embedded. By default no value will be sent.

  -rtmp_playpath     <string>     ED........ Stream identifier to play or to publish

  -rtmp_subscribe    <string>     .D........ Name of live stream to subscribe to. Defaults to rtmp_playpath.

  -rtmp_swfhash      <binary>     .D........ SHA256 hash of the decompressed SWF file (32 bytes).

  -rtmp_swfsize      <int>        .D........ Size of the decompressed SWF file, required for SWFVerification. (from 0 to INT_MAX) (default 0)

  -rtmp_swfurl       <string>     ED........ URL of the SWF player. By default no value will be sent

  -rtmp_swfverify    <string>     .D........ URL to player swf file, compute hash/size automatically.

  -rtmp_tcurl        <string>     ED........ URL of the target stream. Defaults to proto://host[:port]/app.

  -rtmp_listen       <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -listen            <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -timeout           <int>        .D........ Maximum timeout (in seconds) to wait for incoming connections. -1 is infinite. Implies -rtmp_listen 1 (from INT_MIN to INT_MAX) (default -1)


rtmpte AVOptions:

  -rtmp_app          <string>     ED........ Name of application to connect to on the RTMP server

  -rtmp_buffer       <int>        ED........ Set buffer time in milliseconds. The default is 3000. (from 0 to INT_MAX) (default 3000)

  -rtmp_conn         <string>     ED........ Append arbitrary AMF data to the Connect message

  -rtmp_flashver     <string>     ED........ Version of the Flash plugin used to run the SWF player.

  -rtmp_flush_interval <int>        E......... Number of packets flushed in the same request (RTMPT only). (from 0 to INT_MAX) (default 10)

  -rtmp_live         <int>        .D........ Specify that the media is a live stream. (from INT_MIN to INT_MAX) (default any)

     any             -2           .D........ both

     live            -1           .D........ live stream

     recorded        0            .D........ recorded stream

  -rtmp_pageurl      <string>     .D........ URL of the web page in which the media was embedded. By default no value will be sent.

  -rtmp_playpath     <string>     ED........ Stream identifier to play or to publish

  -rtmp_subscribe    <string>     .D........ Name of live stream to subscribe to. Defaults to rtmp_playpath.

  -rtmp_swfhash      <binary>     .D........ SHA256 hash of the decompressed SWF file (32 bytes).

  -rtmp_swfsize      <int>        .D........ Size of the decompressed SWF file, required for SWFVerification. (from 0 to INT_MAX) (default 0)

  -rtmp_swfurl       <string>     ED........ URL of the SWF player. By default no value will be sent

  -rtmp_swfverify    <string>     .D........ URL to player swf file, compute hash/size automatically.

  -rtmp_tcurl        <string>     ED........ URL of the target stream. Defaults to proto://host[:port]/app.

  -rtmp_listen       <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -listen            <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -timeout           <int>        .D........ Maximum timeout (in seconds) to wait for incoming connections. -1 is infinite. Implies -rtmp_listen 1 (from INT_MIN to INT_MAX) (default -1)


rtmpts AVOptions:

  -rtmp_app          <string>     ED........ Name of application to connect to on the RTMP server

  -rtmp_buffer       <int>        ED........ Set buffer time in milliseconds. The default is 3000. (from 0 to INT_MAX) (default 3000)

  -rtmp_conn         <string>     ED........ Append arbitrary AMF data to the Connect message

  -rtmp_flashver     <string>     ED........ Version of the Flash plugin used to run the SWF player.

  -rtmp_flush_interval <int>        E......... Number of packets flushed in the same request (RTMPT only). (from 0 to INT_MAX) (default 10)

  -rtmp_live         <int>        .D........ Specify that the media is a live stream. (from INT_MIN to INT_MAX) (default any)

     any             -2           .D........ both

     live            -1           .D........ live stream

     recorded        0            .D........ recorded stream

  -rtmp_pageurl      <string>     .D........ URL of the web page in which the media was embedded. By default no value will be sent.

  -rtmp_playpath     <string>     ED........ Stream identifier to play or to publish

  -rtmp_subscribe    <string>     .D........ Name of live stream to subscribe to. Defaults to rtmp_playpath.

  -rtmp_swfhash      <binary>     .D........ SHA256 hash of the decompressed SWF file (32 bytes).

  -rtmp_swfsize      <int>        .D........ Size of the decompressed SWF file, required for SWFVerification. (from 0 to INT_MAX) (default 0)

  -rtmp_swfurl       <string>     ED........ URL of the SWF player. By default no value will be sent

  -rtmp_swfverify    <string>     .D........ URL to player swf file, compute hash/size automatically.

  -rtmp_tcurl        <string>     ED........ URL of the target stream. Defaults to proto://host[:port]/app.

  -rtmp_listen       <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -listen            <int>        .D........ Listen for incoming rtmp connections (from INT_MIN to INT_MAX) (default 0)

  -timeout           <int>        .D........ Maximum timeout (in seconds) to wait for incoming connections. -1 is infinite. Implies -rtmp_listen 1 (from INT_MIN to INT_MAX) (default -1)


rtp AVOptions:

  -ttl               <int>        ED........ Time to live (in milliseconds, multicast only) (from -1 to INT_MAX) (default -1)

  -buffer_size       <int>        ED........ Send/Receive buffer size (in bytes) (from -1 to INT_MAX) (default -1)

  -rtcp_port         <int>        ED........ Custom rtcp port (from -1 to INT_MAX) (default -1)

  -local_rtpport     <int>        ED........ Local rtp port (from -1 to INT_MAX) (default -1)

  -local_rtcpport    <int>        ED........ Local rtcp port (from -1 to INT_MAX) (default -1)

  -connect           <boolean>    ED........ Connect socket (default false)

  -write_to_source   <boolean>    ED........ Send packets to the source address of the latest received packet (default false)

  -pkt_size          <int>        ED........ Maximum packet size (from -1 to INT_MAX) (default -1)

  -dscp              <int>        ED........ DSCP class (from -1 to INT_MAX) (default -1)

  -sources           <string>     ED........ Source list

  -block             <string>     ED........ Block list

  -fec               <string>     E......... FEC


srtp AVOptions:

  -srtp_out_suite    <string>     E......... 

  -srtp_out_params   <string>     E......... 

  -srtp_in_suite     <string>     .D........ 

  -srtp_in_params    <string>     .D........ 


subfile AVOptions:

  -start             <int64>      .D........ start offset (from 0 to I64_MAX) (default 0)

  -end               <int64>      .D........ end offset (from 0 to I64_MAX) (default 0)


tee AVOptions:


tcp AVOptions:

  -listen            <int>        ED........ Listen for incoming connections (from 0 to 2) (default 0)

  -timeout           <int>        ED........ set timeout (in microseconds) of socket I/O operations (from -1 to INT_MAX) (default -1)

  -listen_timeout    <int>        ED........ Connection awaiting timeout (in milliseconds) (from -1 to INT_MAX) (default -1)

  -send_buffer_size  <int>        ED........ Socket send buffer size (in bytes) (from -1 to INT_MAX) (default -1)

  -recv_buffer_size  <int>        ED........ Socket receive buffer size (in bytes) (from -1 to INT_MAX) (default -1)

  -tcp_nodelay       <boolean>    ED........ Use TCP_NODELAY to disable nagle's algorithm (default false)


tls AVOptions:

  -ca_file           <string>     ED........ Certificate Authority database file

  -cafile            <string>     ED........ Certificate Authority database file

  -tls_verify        <int>        ED........ Verify the peer certificate (from 0 to 1) (default 0)

  -cert_file         <string>     ED........ Certificate file

  -key_file          <string>     ED........ Private key file

  -listen            <int>        ED........ Listen for incoming connections (from 0 to 1) (default 0)

  -verifyhost        <string>     ED........ Verify against a specific hostname


udp AVOptions:

  -buffer_size       <int>        ED........ System data size (in bytes) (from -1 to INT_MAX) (default -1)

  -bitrate           <int64>      E......... Bits to send per second (from 0 to I64_MAX) (default 0)

  -burst_bits        <int64>      E......... Max length of bursts in bits (when using bitrate) (from 0 to I64_MAX) (default 0)

  -localport         <int>        ED........ Local port (from -1 to INT_MAX) (default -1)

  -local_port        <int>        ED........ Local port (from -1 to INT_MAX) (default -1)

  -localaddr         <string>     ED........ Local address

  -udplite_coverage  <int>        ED........ choose UDPLite head size which should be validated by checksum (from 0 to INT_MAX) (default 0)

  -pkt_size          <int>        ED........ Maximum UDP packet size (from -1 to INT_MAX) (default 1472)

  -reuse             <boolean>    ED........ explicitly allow reusing UDP sockets (default auto)

  -reuse_socket      <boolean>    ED........ explicitly allow reusing UDP sockets (default auto)

  -broadcast         <boolean>    E......... explicitly allow or disallow broadcast destination (default false)

  -ttl               <int>        E......... Time to live (multicast only) (from 0 to INT_MAX) (default 16)

  -connect           <boolean>    ED........ set if connect() should be called on socket (default false)

  -fifo_size         <int>        .D........ set the UDP receiving circular buffer size, expressed as a number of packets with size of 188 bytes (from 0 to INT_MAX) (default 28672)

  -overrun_nonfatal  <boolean>    .D........ survive in case of UDP receiving circular buffer overrun (default false)

  -timeout           <int>        .D........ set raise error timeout (only in read mode) (from 0 to INT_MAX) (default 0)

  -sources           <string>     ED........ Source list

  -block             <string>     ED........ Block list


udplite AVOptions:

  -buffer_size       <int>        ED........ System data size (in bytes) (from -1 to INT_MAX) (default -1)

  -bitrate           <int64>      E......... Bits to send per second (from 0 to I64_MAX) (default 0)

  -burst_bits        <int64>      E......... Max length of bursts in bits (when using bitrate) (from 0 to I64_MAX) (default 0)

  -localport         <int>        ED........ Local port (from -1 to INT_MAX) (default -1)

  -local_port        <int>        ED........ Local port (from -1 to INT_MAX) (default -1)

  -localaddr         <string>     ED........ Local address

  -udplite_coverage  <int>        ED........ choose UDPLite head size which should be validated by checksum (from 0 to INT_MAX) (default 0)

  -pkt_size          <int>        ED........ Maximum UDP packet size (from -1 to INT_MAX) (default 1472)

  -reuse             <boolean>    ED........ explicitly allow reusing UDP sockets (default auto)

  -reuse_socket      <boolean>    ED........ explicitly allow reusing UDP sockets (default auto)

  -broadcast         <boolean>    E......... explicitly allow or disallow broadcast destination (default false)

  -ttl               <int>        E......... Time to live (multicast only) (from 0 to INT_MAX) (default 16)

  -connect           <boolean>    ED........ set if connect() should be called on socket (default false)

  -fifo_size         <int>        .D........ set the UDP receiving circular buffer size, expressed as a number of packets with size of 188 bytes (from 0 to INT_MAX) (default 28672)

  -overrun_nonfatal  <boolean>    .D........ survive in case of UDP receiving circular buffer overrun (default false)

  -timeout           <int>        .D........ set raise error timeout (only in read mode) (from 0 to INT_MAX) (default 0)

  -sources           <string>     ED........ Source list

  -block             <string>     ED........ Block list


libsrt AVOptions:

  -timeout           <int64>      ED........ Timeout of socket I/O operations (in microseconds) (from -1 to I64_MAX) (default -1)

  -listen_timeout    <int64>      ED........ Connection awaiting timeout (in microseconds) (from -1 to I64_MAX) (default -1)

  -send_buffer_size  <int>        ED........ Socket send buffer size (in bytes) (from -1 to INT_MAX) (default -1)

  -recv_buffer_size  <int>        ED........ Socket receive buffer size (in bytes) (from -1 to INT_MAX) (default -1)

  -pkt_size          <int>        ED........ Maximum SRT packet size (from -1 to 1456) (default -1)

     ts_size         1316         ED........

     max_size        1456         ED........

  -payload_size      <int>        ED........ Maximum SRT packet size (from -1 to 1456) (default -1)

     ts_size         1316         ED........

     max_size        1456         ED........

  -maxbw             <int64>      ED........ Maximum bandwidth (bytes per second) that the connection can use (from -1 to I64_MAX) (default -1)

  -pbkeylen          <int>        ED........ Crypto key len in bytes {16,24,32} Default: 16 (128-bit) (from -1 to 32) (default -1)

  -passphrase        <string>     ED........ Crypto PBKDF2 Passphrase size[0,10..64] 0:disable crypto

  -enforced_encryption <boolean>    ED........ Enforces that both connection parties have the same passphrase set (default auto)

  -kmrefreshrate     <int>        ED........ The number of packets to be transmitted after which the encryption key is switched to a new key (from -1 to INT_MAX) (default -1)

  -kmpreannounce     <int>        ED........ The interval between when a new encryption key is sent and when switchover occurs (from -1 to INT_MAX) (default -1)

  -mss               <int>        ED........ The Maximum Segment Size (from -1 to 1500) (default -1)

  -ffs               <int>        ED........ Flight flag size (window size) (in bytes) (from -1 to INT_MAX) (default -1)

  -ipttl             <int>        ED........ IP Time To Live (from -1 to 255) (default -1)

  -iptos             <int>        ED........ IP Type of Service (from -1 to 255) (default -1)

  -inputbw           <int64>      ED........ Estimated input stream rate (from -1 to I64_MAX) (default -1)

  -oheadbw           <int>        ED........ MaxBW ceiling based on % over input stream rate (from -1 to 100) (default -1)

  -latency           <int64>      ED........ receiver delay (in microseconds) to absorb bursts of missed packet retransmissions (from -1 to I64_MAX) (default -1)

  -tsbpddelay        <int64>      ED........ deprecated, same effect as latency option (from -1 to I64_MAX) (default -1)

  -rcvlatency        <int64>      ED........ receive latency (in microseconds) (from -1 to I64_MAX) (default -1)

  -peerlatency       <int64>      ED........ peer latency (in microseconds) (from -1 to I64_MAX) (default -1)

  -tlpktdrop         <boolean>    ED........ Enable receiver pkt drop (default auto)

  -nakreport         <boolean>    ED........ Enable receiver to send periodic NAK reports (default auto)

  -connect_timeout   <int64>      ED........ Connect timeout(in milliseconds). Caller default: 3000, rendezvous (x 10) (from -1 to I64_MAX) (default -1)

  -mode              <int>        ED........ Connection mode (caller, listener, rendezvous) (from 0 to 2) (default caller)

     caller          0            ED........

     listener        1            ED........

     rendezvous      2            ED........

  -sndbuf            <int>        ED........ Send buffer size (in bytes) (from -1 to INT_MAX) (default -1)

  -rcvbuf            <int>        ED........ Receive buffer size (in bytes) (from -1 to INT_MAX) (default -1)

  -lossmaxttl        <int>        ED........ Maximum possible packet reorder tolerance (from -1 to INT_MAX) (default -1)

  -minversion        <int>        ED........ The minimum SRT version that is required from the peer (from -1 to INT_MAX) (default -1)

  -streamid          <string>     ED........ A string of up to 512 characters that an Initiator can pass to a Responder

  -smoother          <string>     ED........ The type of Smoother used for the transmission for that socket

  -messageapi        <boolean>    ED........ Enable message API (default auto)

  -transtype         <int>        ED........ The transmission type for the socket (from 0 to 2) (default 2)

     live            0            ED........

     file            1            ED........

  -linger            <int>        ED........ Number of seconds that the socket waits for unsent data when closing (from -1 to INT_MAX) (default -1)


网友评论

回顶部
写评论