From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id A060A43B72 for ; Tue, 19 Jul 2022 16:40:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7684F68B603; Tue, 19 Jul 2022 19:40:23 +0300 (EEST) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D1F4668B45D for ; Tue, 19 Jul 2022 19:40:15 +0300 (EEST) Received: by mail-ej1-f42.google.com with SMTP id tk8so16892918ejc.7 for ; Tue, 19 Jul 2022 09:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ltnglobal-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=ITERguqft11oohhmu1zPq0+ltrYL3B0WphpA1dyhcrE=; b=Iubymj5/dOHqxk3s9m+PQscZfxLllDV0jjq0WZnTlk4yILoBbWWgR+wbq9mszKMt6I K2tjw1glCVeGHes4yG1oHNKmbjmqv9tNblIo+OWfObgNJCanu+8hvn8WCslcRBngOtYP jsFizq/7oTG4sMTjEi9ryewQCMmjgg5rPBdp3mHB7lO7vT55BC5OXnmejLkxN2kbWA4y rMMWsSM8Q+gb2Y/K/BFXLs+vcTsz6OmBDMMvCYa4z4F0S3OKkS0wezGE44e59XVP7wIL JcD9U/OczuptUlK9jJoyjrdnySwHhq078hC6YIuUmBcatMXNbJVoaQjH98S/8D3N851x 2CLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=ITERguqft11oohhmu1zPq0+ltrYL3B0WphpA1dyhcrE=; b=ScEZGx8PvNPkw1HIs9AA6qM2TImM2/xOjyUPGTlg88HTjnvoiYr7rFJWEptuuoVpOa 3arFkn+acKXbTrs8/+4aa23oq3PvB/GGXfrC3PuhFtumIMD0iLti6JU27RQKYR5PFCNw lSlGN/iy6q8YlMCx50BKFnUvNHHKokSJvi8ncWLJg6bn792BpbCrHGXU5HdnE0C7BTp4 2CDxIdBfjaPXaYtVkXIgvAKWFbfGlQ2yTSA1Sk3cBWSyRGaZpkoptPOu8zfSNw6SV2ON EMaxgFtYaTwnFqcnrIDVKOykPwJtkOiTCCPYKpDQId2oqd0McUdmrv/+uhL1QBDQOXJn pI5w== X-Gm-Message-State: AJIora8DwLrYP9nZtFIDtwuK5PYeFPK8D79nNLeaU7597RcivrN3oZLp 6DBMWllwsHdGEQDzk40rpm80oRBk4PZP99NYycHsiEpJjP0u8w== X-Google-Smtp-Source: AGRyM1vG5K+PBXDvvWhgDtgrIb6lYjN6cgN8BF9Jbgy1S2IlswpD0pKi8AU6uPl5mCAwwaZ5RjJXKX4akbb92n9EF6Q= X-Received: by 2002:a17:906:7c0c:b0:6f9:1fc:ebf3 with SMTP id t12-20020a1709067c0c00b006f901fcebf3mr30750687ejo.403.1658248815055; Tue, 19 Jul 2022 09:40:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Devin Heitmueller Date: Tue, 19 Jul 2022 12:40:04 -0400 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] Live Transcoding: SCTE35 passthrough 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Tue, Jul 19, 2022 at 9:44 AM Shane Warren wrote: > > I have been working on getting scte35 pass through working in FFmpeg. I have the SIT pid being passed through fine, but I need to adjust the pts_adjustment field since I'm doing a live transcode and using vsync 1. > > I'm struggling with finding how to match up an incoming frame of video to a transcoded frame of video so I can figure out the pts adjustment. Am I missing something, or is there some way to match up an incoming frame to a encoded frame and figure out their pts difference? I've got this working in a branch that isn't upstream. This includes a BSF which deals with the pts_adjust field. It should do what you need (although the branch point is a bit stale): https://github.com/LTNGlobal-opensource/FFmpeg-ltn/commits/n4.3.1-scte35 If you're comfortable recompiling from source, you can incorporate a variant of these patches into your local tree. Devin -- Devin Heitmueller, Senior Software Engineer LTN Global Communications o: +1 (301) 363-1001 w: https://ltnglobal.com e: devin.heitmueller@ltnglobal.com _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".