From patchwork Sat Oct 22 10:49:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Zhao X-Patchwork-Id: 38906 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4a86:b0:9d:28a3:170e with SMTP id fn6csp1227929pzb; Sat, 22 Oct 2022 03:50:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5BsdDL+lV2WJLIXsNuU60OgpNrST5HPS0wd870awxzvzUfdo1rPtpiDuBwz57oTLVgkbmw X-Received: by 2002:a17:906:9bca:b0:78d:bc5a:9137 with SMTP id de10-20020a1709069bca00b0078dbc5a9137mr20527093ejc.25.1666435819246; Sat, 22 Oct 2022 03:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666435819; cv=none; d=google.com; s=arc-20160816; b=xgI4sM49HcPWiXToQQnPvpBdK5uqA7n6EX78ebkkBhBuF0t+ZkTnr6KC1FrQYI2HZP UFPOViGywR04NlDwsgVIxQ346es2jPpcuh5R5/AsAIDHXmLRvBeUldy9r4J52mVQ7dal Ux6l+xgcshA7Q09DvZxPpUp4kTc+AlOZ5rtsXjzxW+GYdNAK5vo5uBD0VmjJFAno1C2F S+z+FLglLMkuBxbEDGZoPkHkdOr5BkgUpAP8XMVwNXsF4Ptkma5agKekrhzYJZ81q+V9 vpIB0QP9LylmnSsf9lNYegbihXh1HgiITIf4w7gwTtzHmw43jwFEbWwyEOIX9aOKtU+1 Wjmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=3s/BIySqkWgQRmdg37FFvVxeQlk6Jn4nIIzX2tgmGKQ=; b=wFV8XEJu6BDMQrGyOR2a4F8ECikwXmi2RyDCGzQ6oY90sEOUeF+v80YfACmc9Suohm 4rMcsaQoqmBOb152CA7Di88Hhtv6geJwyQr8nHLw7j3lmNZWhxYHneH5rmoyKfk5CcmJ cRhtK4BEcTrhRAkR8mChtD5zcyFsNuWb9T1lC4fZIh+fRFPzCTSZEH+5T0T5zKeAd2oh okbPGCejPt0dSV2hELXEW/9tOafqA3Ow1MsklZ8iyvog9FB3xgz4S/sKDwV+iDeLA2Om o5e3u6lSOHSayMbmrpu+DtmkYRDPY6X+HTghnuI0Yt55Uca3Jrdp0cpvyycJcUNK7dK6 jzEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=IujyGCvd; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id qb26-20020a1709077e9a00b0078dcddc1b8csi23215422ejc.788.2022.10.22.03.50.18; Sat, 22 Oct 2022 03:50:19 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=IujyGCvd; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 955A668BEC2; Sat, 22 Oct 2022 13:50:08 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1198268BE35 for ; Sat, 22 Oct 2022 13:50:01 +0300 (EEST) Received: by mail-wm1-f53.google.com with SMTP id t4so3763361wmj.5 for ; Sat, 22 Oct 2022 03:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FW6RcGFz6m2AltPYgVG9l4FD7HeELeJvLNFa9DFyKQI=; b=IujyGCvdR8/zEPOLyqS2vH8pw/q9YW9zfGlwOiBIgmu+sSba5BtIZl8gcNyeniN4K/ tD0UQyHdfFnaPVlkdPwV2ax1QoHp9R8leHGnRrLqGtOudCtu2nSDLvob0IN+33jGCuoI syo2Aqp/l26FoEDkyqsF3p4ks/p0Oo4EgMsy2fVz4yfDKxxJhdasxUX8dT9Rom9SHi57 pMCmZ7dpPayvdYmpQQYaWpKxunF1qC3te2cyF+rZcsjSv9PH1/XImlf4gQ02TD5Vlqh6 gd7B2xHbctmmYw5caATmZ1F/FKJH65CTPIhjK4Onmp6kGUWG3K/9f2cS2/GrGaiDJpxt BX5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FW6RcGFz6m2AltPYgVG9l4FD7HeELeJvLNFa9DFyKQI=; b=bzvFe2rAh6yJHGKZs22Lp90FXaa1/nym74Slff6ZdUkHzwfLfbsIEk3k6ISotXWXfZ vevPWZeIJaaFgMD/GCoXKeIctmXvpusqWxGbfHP317e52KAueMoX5S6Z7twaa2jc6piD l+/0gbodRbPhs7mq5vFpgiJbUMNdqCtrto0FrnP6tA+iNq+9c91Htob7SGzFGxo/4nwA Si842PmqNNUJxYMAbw+uEwTjYLH2KuPoteNc51Nzs18Kg6kNNvbr48azGLFGDA4KGhLo 0zM89qhNfxeXSfDBxQz3KHx0QStGD9O+qYHM33JscRY4DsF4qAmz3H/x/jPywFgZrxdJ fWlQ== X-Gm-Message-State: ACrzQf1FP/ey/vki8YcGg79K+8EZtcwJVhoaHWgWcgtCE9MKJO2ic3+F GwF1XLbyRokAL8d/npro6AMYjmXwWSrtRlMx X-Received: by 2002:a1c:2743:0:b0:3b3:4066:fa61 with SMTP id n64-20020a1c2743000000b003b34066fa61mr38035475wmn.79.1666435800155; Sat, 22 Oct 2022 03:50:00 -0700 (PDT) Received: from localhost.localdomain ([49.51.162.193]) by smtp.gmail.com with ESMTPSA id m29-20020a05600c091d00b003c21ba7d7d6sm4887920wmp.44.2022.10.22.03.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Oct 2022 03:49:59 -0700 (PDT) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Sat, 22 Oct 2022 18:49:20 +0800 Message-Id: <20221022104920.149184-2-mypopydev@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221022104920.149184-1-mypopydev@gmail.com> References: <20221022104920.149184-1-mypopydev@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] doc/protocols: update rtsp options X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Jun Zhao Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: ivvfXag55ogQ From: Jun Zhao Split the rtsp options to muxer/demuxer, and update the options. Signed-off-by: Jun Zhao --- doc/protocols.texi | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 0df38d790c..5e9198e67c 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -1178,6 +1178,59 @@ Options can be set on the @command{ffmpeg}/@command{ffplay} command line, or set in code via @code{AVOption}s or in @code{avformat_open_input}. +@subsection Muxer +The following options are supported. + +@table @option +@item rtsp_transport +Set RTSP transport protocols. + +It accepts the following values: +@table @samp +@item udp +Use UDP as lower transport protocol. + +@item tcp +Use TCP (interleaving within the RTSP control channel) as lower +transport protocol. +@end table + +Default value is @samp{0}. + +@item rtsp_flags +Set RTSP flags. + +The following values are accepted: +@table @samp +@item latm +Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC. +@item rfc2190 +Use RFC 2190 packetization instead of RFC 4629 for H.263. +@item skip_rtcp +Don't send RTCP sender reports. +@item h264_mode0 +Use mode 0 for H.264 in RTP. +@item send_bye +Send RTCP BYE packets when finishing. +@end table + +Default value is @samp{0}. + + +@item min_port +Set minimum local UDP port. Default value is 5000. + +@item max_port +Set maximum local UDP port. Default value is 65000. + +@item buffer_size +Set the maximum socket buffer size in bytes. + +@item pkt_size +Set max send packet size (in bytes). Default value is 1472. +@end table + +@subsection Demuxer The following options are supported. @table @option @@ -1203,6 +1256,10 @@ Use UDP multicast as lower transport protocol. @item http Use HTTP tunneling as lower transport protocol, which is useful for passing proxies. + +@item https +Use HTTPs tunneling as lower transport protocol, which is useful for +passing proxies and widely used for security consideration. @end table Multiple lower transport protocols may be specified, in that case they are @@ -1220,6 +1277,9 @@ Accept packets only from negotiated peer address and port. Act as a server, listening for an incoming connection. @item prefer_tcp Try TCP for RTP transport first, if TCP is available as RTSP RTP transport. +@item satip_raw +Export raw MPEG-TS stream instead of demuxing. The flag will simply write out +the raw stream, with the original PAT/PMT/PIDs intact. @end table Default value is @samp{none}. @@ -1232,6 +1292,7 @@ The following flags are accepted: @item video @item audio @item data +@item subtitle @end table By default it accepts all media types. @@ -1256,6 +1317,9 @@ Set socket TCP I/O timeout in microseconds. @item user_agent Override User-Agent header. If not specified, it defaults to the libavformat identifier string. + +@item buffer_size +Set the maximum socket buffer size in bytes. @end table When receiving data over UDP, the demuxer tries to reorder received packets