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 88E9E4949B for ; Tue, 12 Mar 2024 21:32:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B02FE68CE33; Tue, 12 Mar 2024 23:31:57 +0200 (EET) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DF0B168CD43 for ; Tue, 12 Mar 2024 23:31:51 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 5486FE99DC for ; Tue, 12 Mar 2024 22:31:51 +0100 (CET) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mmHjuu_zUQUT for ; Tue, 12 Mar 2024 22:31:49 +0100 (CET) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id E372AE5FDA for ; Tue, 12 Mar 2024 22:31:48 +0100 (CET) Date: Tue, 12 Mar 2024 22:31:48 +0100 (CET) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <20240308005333.12416-7-cus@passwd.hu> Message-ID: References: <20240308005333.12416-1-cus@passwd.hu> <20240308005333.12416-7-cus@passwd.hu> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH v2 7/9] avformat/pcm: factorize and improve determining the default packet size 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Fri, 8 Mar 2024, Marton Balint wrote: > - Remove the 1024 cap on the number of samples, for high sample rate audio it > was suboptimal, calculate the low neighbour power of two for the number of > samples (audio blocks) instead. > - Make the function work correctly for non-pcm codecs by using > av_get_audio_frame_duration2() to esimate the packet duration for a given > size > - Fall back to 4096/block_align if av_get_audio_frame_duration2() is not > supported Will apply this series soon. Regards, Marton _______________________________________________ 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".