From patchwork Mon May 4 16:24:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vectronic X-Patchwork-Id: 19494 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 D103244AA65 for ; Mon, 4 May 2020 19:30:22 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BA8DF68BCF9; Mon, 4 May 2020 19:30:22 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 45A3D68BC60 for ; Mon, 4 May 2020 19:30:16 +0300 (EEST) Received: by mail-wr1-f68.google.com with SMTP id i10so21702397wrv.10 for ; Mon, 04 May 2020 09:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JW1GfyrDHBDnbEqvg45y51LP8mrs21vy6VomFAQrDDQ=; b=X/p0pKZEg2Lx3osIABTKwCpfiGMvABlod1aHfXMVwH496exUTb9WR2kH9UiNC6SNjw iuGf+lmS4zue1MCwAMdZOLmpRfd3u1+dA+F0ikESg/eTi2mzvs3QXfVNffKcfjjHH10F hrUwVon4m3BQxrLWaaZ8TR9NllUODfFLlME7UsF1fgS/v9baNm0rVhCP5AS83zBB6/fF TKw83x4T25wUBmYCMVXREkAcr16dfy3fO2PZDgWry3E+Vq+pno0C+VgwgwRKbSRy0vqo ek3xnb5Pt45DJifKRr0m271lYz4DixT+dGxmgeXQsYDZ3NLPQ1NL0PJUotRjYePlw/KP BlCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JW1GfyrDHBDnbEqvg45y51LP8mrs21vy6VomFAQrDDQ=; b=ZAQrEnAKTizY4x3o3Q6UpO+r4LdPUWW8CXvAffjtpLcqpZ8LfUvfFFH9o+nYKK+51n Z5L4JMKHgcj5s4jfb4wQ+Z6dTdsrUBglLG3VHB+fA95mmIoOpSf5FTOlAEQcnEkxNyry XB7Uqr9jMTx5uArKr2sHNvF3HMjFw9RzM5AVoJutiFmaup+MZLaJi3c+2W+l5K8mUeBl rABdZOH9XkagAfNaFweKy71sfzx+q1zJmUyb2wxZnsmeNq93AGcvjN+X6OMJc7l1/RKs g50Ve2k/6KQK11NmLn4kC1/XplbmpQ8RH7QNPAnFVJVlbp7Rv/8B8NsGkOIUfPOCPx7J I8XA== X-Gm-Message-State: AGi0PubYa3/3L7L2T3C76p8zi8gbRVG8ziQVNA4cZxHDyAPcRY91gUGM tM0WS5+Bipa70izS6mzI9YYjh3m1WUk= X-Google-Smtp-Source: APiQypLbpJX5gBa0FQTyHHJ6Yq7ADfUK9qAy2tqmWKINFMhnkCbEjHHYuByAlKbJaFGFFbnyCSQJlw== X-Received: by 2002:adf:dd83:: with SMTP id x3mr101830wrl.298.1588609474562; Mon, 04 May 2020 09:24:34 -0700 (PDT) Received: from mechagodzilla.chapatronic.net (cpc76904-dals22-2-0-cust471.20-2.cable.virginm.net. [81.106.45.216]) by smtp.gmail.com with ESMTPSA id q184sm14733085wma.25.2020.05.04.09.24.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2020 09:24:33 -0700 (PDT) From: vectronic To: ffmpeg-devel@ffmpeg.org Date: Mon, 4 May 2020 17:24:26 +0100 Message-Id: <20200504162428.85535-1-hello.vectronic@gmail.com> X-Mailer: git-send-email 2.24.2 (Apple Git-127) MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/2] avformat movenc add flag to allow disabling limit on timescale 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 Cc: vectronic Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" I needed to encode to mov/mp4 with a timebase of 1/600 and the output was not as expected. I discovered the reason is a silent limiting of a track timebase added here: https://github.com/FFmpeg/FFmpeg/commit/b02493e47668e66757b72a7163476e590edfea3a The patch attached provides a new flag to disable the timebase limit, and in the case that the limit is applied, a debug message is logged to prevent future user confusion. vectronic (2): avformat movenc add flag to disable silent limit on timescale avformat movenc add flag to disable silent limit on timescale libavformat/movenc.c | 8 ++++++-- libavformat/movenc.h | 1 + 2 files changed, 7 insertions(+), 2 deletions(-)