From patchwork Thu May 7 06:15:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: leozhang X-Patchwork-Id: 19521 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 1BA1644955F for ; Thu, 7 May 2020 09:15:39 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EA225689CDF; Thu, 7 May 2020 09:15:38 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smg-sh-01.qiyi.com (unknown [101.227.12.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 37615689CDF for ; Thu, 7 May 2020 09:15:32 +0300 (EEST) X-AuditID: 65e30cac-a39ff70000002643-ae-5eb3a77b6309 Received: from mail.iqiyi.com (Unknown_Domain [10.16.130.3]) by smg-sh-01.qiyi.com (Qiyi mail Gateway) with SMTP id 79.B8.09795.B77A3BE5; Thu, 7 May 2020 14:15:23 +0800 (HKT) From: leozhang To: Date: Thu, 7 May 2020 14:15:17 +0800 Message-ID: <1588832117-52156-1-git-send-email-leozhang@qiyi.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1588166662-74153-1-git-send-email-leozhang@qiyi.com> References: <1588166662-74153-1-git-send-email-leozhang@qiyi.com> MIME-Version: 1.0 X-Originating-IP: [10.13.40.147] X-ClientProxiedBy: BJ-CAS25.iqiyi.pps (10.11.50.117) To EXCH28B.iqiyi.pps (10.16.148.55) Subject: [FFmpeg-devel] [PATCH v2 0/3] Patch set to delay output live stream X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" This v2 version still hacks the whole thing into fifo.c, Please give your comments. Thanks. leozhang (3): avformat/fifo: add options to slow down writing packets to match real time approximately avformat/fifo: add a seperate function which sleeps any specified duration avformat/fifo: add option to delay output doc/muxers.texi | 35 ++++++++++++++++++++++++++++++++ libavformat/fifo.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+)