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 E6AB649879 for ; Sat, 20 Apr 2024 23:22:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7401A68D119; Sun, 21 Apr 2024 02:22:48 +0300 (EEST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9B04C68CD67 for ; Sun, 21 Apr 2024 02:22:41 +0300 (EEST) Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-516d2b9cd69so3897000e87.2 for ; Sat, 20 Apr 2024 16:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713655360; x=1714260160; darn=ffmpeg.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=XKWRtBZRlAJk+DJmZjEt08GJzlZnZCLTeijF9wfu0HE=; b=FQ65VtEo12UndiBMoa4LK/0MelT0zZW9+8AuOdPhDti0uY1ubAhtIj+VJVQvn2nyRc mJV5ozKEh3/ZdluA/P6oGiUFO2swiJbAeDPsEARfpDWb6TQQOnrQXcxObGiQkW00vL26 KcLi6f+oCQC9zxppDv4aHuOgDESOG5g38IRY51HJIa/VkXZhpJcTONOP/8X24Y34KVyi J7X66vIf75zOClkcFePsPTpC+CYVs9lcNACCqqNRukMwB5VIWLJ18JJ++3x1NpmW1Qvg zsWef3XG/G9LdpcGY8+m/kDZeIPXMNmVH7OVJjhtXEAXlQVoPapjUGA4TX60h9uQHneQ RV4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713655360; x=1714260160; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XKWRtBZRlAJk+DJmZjEt08GJzlZnZCLTeijF9wfu0HE=; b=sTB4yMtylryOYNn2+nnx8DKwTKwfKOyJkf04TrvtGObe9tFETPPK2jqhAmCTZn2wkr Dgha5gJgc585I20B1dTJAkwSzqx3ukJxXPj2kBtYQdkaxo8VpoS/uG3pEG2RxKjQtYXk ydaJi+NEu6Jpz2RPY12Cwuu8QYxvTGcq4egYVJZKZjuGhsF9HAdJgh9aNHaZpE310Fru qEEelkLP9nFO+CF3LfKdOCZWCxbchDbkZCBVK5mDUYwwpQxCW9A47kaw0mzXn9xPhIX7 dVCrAMZwdJa5iYxEX+Si9D3p0ZiXmX3Hh123nou4eIaHGvTpOO3dgTPaEUQs7E5Av7Lv ZAbg== X-Gm-Message-State: AOJu0YxfdiNTrU9nfmqvVVbXXAHdG4H2omXeIqXANG0nUC162bp0jHY4 wM+H4kkGghHglJaelC5x85CMoi7OcdqVRvkBpC6JApoNr8ED0YGfNYDRcXH97e39AqTWvjhLfu7 HUdOJxfN+c/VUYdvl/CHnCNOuyvgXDbyW3MA= X-Google-Smtp-Source: AGHT+IFMgYPc2alTvhQj/8qMpAG1mv/Q0FiAk4V2I2we2/+VCmGn3zM5jvXxrM8BDoV1C43hCB6vQqSjUozlJR4S5MQ= X-Received: by 2002:a2e:8903:0:b0:2da:6f70:56e6 with SMTP id d3-20020a2e8903000000b002da6f7056e6mr3534903lji.24.1713655359836; Sat, 20 Apr 2024 16:22:39 -0700 (PDT) MIME-Version: 1.0 From: Adolfo Rodrigues Date: Sun, 21 Apr 2024 00:22:28 +0100 Message-ID: To: ffmpeg-devel@ffmpeg.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [FFmpeg-devel] Fix for [ffmpeg] spdif: Unusual frame timing 40 samples/frame is not implemented. 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: Hello. I'm new at this so please bare with me. I have created a sample file that produces an audio drop at the same time it produces the following message: [ffmpeg] spdif: Unusual frame timing: 10248 => 12042, 40 samples/frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. sample file -> https://tregosacloud.duckdns.org/s/HRWxz7oX7HCSSpD The same message shows up when I seek but with the added side effect of audio rarely recovering, becoming silent. I found out that by editing the file spdifenc.c and commenting out: /* sanity check */ //if (padding_remaining < 0 || padding_remaining >= MAT_FRAME_SIZE / 2) { // avpriv_request_sample(s, "Unusual frame timing: %"PRIu16" => %"PRIu16", %d samples/frame", // ctx->truehd_prev_time, input_timing, ctx->truehd_samples_per_frame); // padding_remaining = 0; // } All my issues went away. I have opened a ffmpeg trac ticket: https://trac.ffmpeg.org/ticket/10948 I'm no developer, my knowledge is very limited but I since I have yet to find any negative symptom of my change I'm leaving here my findings. Thank you for your time. Adolfo _______________________________________________ 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".