From patchwork Tue Apr 20 17:20:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: minlei sun X-Patchwork-Id: 27197 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:5014:0:0:0:0:0 with SMTP id e20csp1666516iob; Tue, 20 Apr 2021 10:20:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDurP9w1U5BEPd0phhToeBFc6jw4G8/eiXGm4s8j4+cHIEjE4aKJQxenz8CcChJ+TbSFRN X-Received: by 2002:a17:906:dbcd:: with SMTP id yc13mr27325052ejb.99.1618939238368; Tue, 20 Apr 2021 10:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618939238; cv=none; d=google.com; s=arc-20160816; b=UJ9ShBchK9/YsFKQtULwL+0/YYq90VT3G4ajS/g2atYkibVI+8r0vBHXhYBSfsIj7X Li9aF+dDEB6Pwdj1bPGy4fnA/XUeCcDpARbIZg9Z8nU0tjvkJDOl77rG4JYkjTaLjq96 6yRCea8aqmUlWKc0zqT0jN+YCSrf0DY8b/e235/60yv2jgi1ALDPz5DO2+vQEXLvRZ87 C2tNwJIWDlMMeynoigBk6/BqXs1zvT0A42A3YHnrWlFMzCvO9qO52K4tAo47rmIQSFsT +tb8UtggysieSjdQQqVgHfX2TNSBj2pBL+Q5Epyexu74b7b0DHyHsT9+0A8j0CUfE17L O9RA== 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:delivered-to; bh=6HiZ3sV8UD1GikKNO76ZJFMMfWkmzsHQBeUqX6sHSS0=; b=l/d+8zHM256L8roD76tMR7CsUmT01bKYgsQ82WJ8sIZAn7c4Y+afrmvzV/AScHkhQe ODHJ0stf909EndOBUeBbdWmouhAGzC2blh47jaNFfvpLnSSUcuziijywUNDdBeRYU7MM P1cftLHXbZwhOrzDQmAN68+WrkEYIWaGIggrW+uayJiMm8+kmdEkaHPMM52dDNmDYh/h w0hPmqaXGqmM21i98wT/dtzDM18Ag2IlvciaLlR4wzY+VlnPKFuB71cmwlXG+Y30Md67 BuZWLDaInIJTXjqAkZgl45LjNrQjxGSndnRgoMB0ficmJTpYBJZ5ZaUSBi7+7MmHsiLp Ck7Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id w13si4815474edd.475.2021.04.20.10.20.36; Tue, 20 Apr 2021 10:20:38 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D9CAF6899B5; Tue, 20 Apr 2021 20:20:32 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from epoint.com.cn (unknown [61.155.218.132]) by ffbox0-bg.mplayerhq.hu (Postfix) with SMTP id C1FB5680586 for ; Tue, 20 Apr 2021 20:20:24 +0300 (EEST) Received: from localhost.localdomain ([180.106.92.8]) (envelope-sender ) by 192.168.0.30 with ESMTP for ; Wed, 21 Apr 2021 01:20:16 +0800 X-WM-AuthFlag: YES X-WM-AuthUser: sunml@epoint.com.cn From: sunml@epoint.com.cn To: ffmpeg-devel@ffmpeg.org Date: Wed, 21 Apr 2021 01:20:20 +0800 Message-Id: <20210420172020.92330-1-sunml@epoint.com.cn> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: <20210417165528.79321-1-sunml@epoint.com.cn> References: <20210417165528.79321-1-sunml@epoint.com.cn> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2] doc/protocols.texi : Add ignore_rtcp option in rtsp section 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: Minlei Sun Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: Zn7RiSrMyPPT From: Minlei Sun Regarding ignore_rtcp flag, it is turned off by default. When some devices (such as hikvision iSecure Center Platform v1.3.xxx) rtsp stream contains rtcp data packets (may be non-standard), there will be a freeze when the output is rtmp stream. So when igore_rtcp is enabled, this situation can be solved. Signed-off-by: Minlei Sun --- doc/protocols.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index a6e46b99ad..604d42b693 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -1188,6 +1188,9 @@ libavformat identifier string. @item user_agent Override User-Agent header. If not specified, it defaults to the libavformat identifier string. + +@item ignore_rtcp +Ignore rtcp packets in rtsp stream to avoid transcoding stuck. Default valule is 0. @end table When receiving data over UDP, the demuxer tries to reorder received packets