From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 5FB834B3B3 for ; Sun, 20 Jul 2025 22:04:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id C7F4168D435; Mon, 21 Jul 2025 01:04:23 +0300 (EEST) Received: from sc-ord-mta120.mtasv.net (sc-ord-mta120.mtasv.net [50.31.156.120]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 7A76068D3FF for ; Mon, 21 Jul 2025 01:04:17 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=pm20250324; d=pm.mtasv.net; h=From:Date:Subject:Message-Id:To:MIME-Version:Content-Type: Content-Transfer-Encoding:Date:From:Message-ID:Reply-To:Sender:Subject:To:CC; t=1753049062; x=1753135462; bh=tp66TboFIsGLQW+VPZ3Qx82zXWgQoKystGKsZVNcwR4=; b=g/pU4reCum/naV9Khx9+MeCq5iufUiZW96HR1vpsgZxobqQ9f6V4zMUxW+A7mtzUGZLzA5A58R8p XbemW60fuok+4Plz+FIVxplI542hDF3tK0DH1oZWu1GHe1D8V3zqgj9MyhNFgwocHIs/LCIrgBgx UTohOdlc0HN9oRDb3SU3G0JO9HTE86ahrynOcuDHiVjpTmwOyW5+fm/tojjddR0qUoHxgzzOFphL yuoH107WV7LsYz6BD4exFHZWtv75bR8U1U/IFHYrQN+CIwOLL44D5EjUPlapVDf6nqvUKnjOqBT1 fqujUG0N3k+5stSNRBWnMOzKFvvDp/Kg0J9KCg== Received: by sc-ord-mta120.mtasv.net id hflju03atj89 for ; Sun, 20 Jul 2025 17:54:09 -0400 (envelope-from ) X-PM-IP: 50.31.156.120 X-IADB-IP: 50.31.156.120 X-IADB-IP-REVERSE: 120.156.31.50 DKIM-Signature: v=1; a=rsa-sha256; d=gget.it; s=20200311092113pm; c=relaxed/relaxed; i=basj@gget.it; t=1753048449; x=1753221249; h=date:date:from:from:message-id:reply-to:sender:subject:subject:to:to:cc: feedback-id:mime-version:content-type:content-transfer-encoding; bh=tp66TboFIsGLQW+VPZ3Qx82zXWgQoKystGKsZVNcwR4=; b=MeUHsCTUxA0xILP1SbfiJMJDj5gFAJDYkfsGBrrTPtFVTcbYGXlmRwNZPld2RasiEDgIjZKTU2U tXnFIvXRtk3EJf/Z+bvrADWimy+gdMV3eZKsN2J41B0t6Xl82Q2ZxTCxIo8VtwwvjSc1BiHrRCCCP 8I0RelIiFNPJkNQOkTg= From: basj@gget.it Date: Sun, 20 Jul 2025 21:54:09 +0000 Message-Id: <15da76f4-4209-4996-9db1-bc3f96a55a0e@mtasv.net> To: ffmpeg-devel@ffmpeg.org Feedback-ID: s5244416-_:s5244416:a182037:postmark X-Complaints-To: abuse@postmarkapp.com X-PM-Message-Id: 15da76f4-4209-4996-9db1-bc3f96a55a0e X-PM-RCPT: |bTB8MTgyMDM3fDUyNDQ0MTZ8ZmZtcGVnLWRldmVsQGZmbXBlZy5vcmc=| X-PM-Message-Options: v1; 1.bJEOcTJmtPiHUA0xcwy47g.8IgZl0e3-TU6cwVHcNYs5fO6-1nD20OHdoUapW2249H3Q70IKbHTUGRwKmLRczsHvqp7xKbndRYE4joYoRqxGwTFLiN9tp12zYd3eqxQNVcaIzDwp2xXk-RL1SR2S6MruMCjvwQGxN1l0m3cyP5AFJAxinn9Nt9d-zrFunVmrZToZwRCER1LTPxwvlzmjNdI MIME-Version: 1.0 X-PM-MTA-Pool: transactional-1 Subject: [FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding 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: Hi, Out of curiosity, has there been any progress since 1 year about this topic? Really, millions of CPU-hours are probably wasted to reencode already-perfectly-encoded content, just for cutting purposes. For example, is there a way to cut a AVI or MKV H264 video with a specific starting point and specific length, with minimal re-encoding? When using: "ffmpeg -ss 120 -t 60 -i input.mp4 -c copy output.mp4", the result is often choppy or non-smooth in the first seconds, because the cut point doesn't necessarily coincide with a keyframe, at least on some players. We could reencode just the beginning until the next keyframe, and then use copy codec for the rest of the video, and then concatenate, but nobody does this, it's unnecessarily complex (and I'm not even sure it works). 20 Aug 2024, 22:34, michael@niedermayer.cc wrote: > Such signalling can be added to existing containers with little effort. > Iam also happy to help to add it to nut Can you explain with a little bit more details how it would work? Thanks in advance! All the best. _______________________________________________ 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".