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 488194548A for ; Mon, 30 Jan 2023 15:14:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7D7D468BD4C; Mon, 30 Jan 2023 17:14:08 +0200 (EET) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3BC7B68B1C7 for ; Mon, 30 Jan 2023 17:14:02 +0200 (EET) Received: by mail-pj1-f46.google.com with SMTP id mi9so2208660pjb.4 for ; Mon, 30 Jan 2023 07:14:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SrXsLWSWv9XQEcCy+KDan5tc7ybkOqzxPu5wn98xf3o=; b=jSwwr/t2QtyeE0jHNPzWDFiJ47CBWVeOCEj2JdeYJjM8rawW7RV6JvQ40FlcQpd/6C zT45ELG3enzjwm9JQ0BmrZ7mYmRlp6E/UYVWHei+bZ7LN+pFCcmIVXqw+RU6QuO+IYRb RW97nip9GOcxAmQGuwnEMftvX72pJHxDMqzqnw4fvCvrVzvw/3MwCUHDlb/6agEV0UJh GIxF0UbADTj8TT7H+bCRTy0df62OcA5teQTOyP3wXjJyOi9uVV95Rk5OygyLNKQ1Olnm Gdxu9MDnsd/XDo6zB4Dz0HjoESVepDEZH4bT/nYL4Vqua8zGSfIJ/4dBPBo8cUwc6gy+ 7F4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SrXsLWSWv9XQEcCy+KDan5tc7ybkOqzxPu5wn98xf3o=; b=tlr4NpSstbuAEh6ye7ChWokSugR08XO3Ov9zCxXgYamKrq+1gWdhjygWEfNqiuMskx 93ptCsmRz1J5gCuXItfYZuR6n/xW6vGBCEsDL/9Y/Xt6fkLFWtRv6AMLMTQUXWqEQ4um 2YyHyNJKIFKo8G9vzJXI043GsUsYVSoTzXGzn19wc6mej8ivDprdWFeWMdbnQ9HeW75W NIIw8i07Mnt+jeMHFjSC63pkO9KQdeYLhhz2/c/XJZkga5be84YFioXXVNjrHyG9fwJ7 NFjZv2LpDqVj1a9gHqMwIPusHCFXV7XxiH+SSS49cmoHyrp3pU93LStehsO25icMOT/s 1P9w== X-Gm-Message-State: AO0yUKV0E8Ku4tIIWqJNcVt0obOXqxYysPvTYgaXkF9b+MYmGpSI4w2k HznWYynFuUPiL6mXceQHi9ata+Z046JHD/tZUGChQbWV6ZM= X-Google-Smtp-Source: AK7set+WaBUoXl6LkCT5Wq5sE6UpoZBmKGnmtt2kXBm1KafqsgaAa66ETXLxjZEbUZbYPjz1Hn5O2kRpuE4WUIGJIEo= X-Received: by 2002:a17:902:b205:b0:196:6319:a029 with SMTP id t5-20020a170902b20500b001966319a029mr1262125plr.12.1675091639632; Mon, 30 Jan 2023 07:13:59 -0800 (PST) MIME-Version: 1.0 From: John Coiner Date: Mon, 30 Jan 2023 10:13:48 -0500 Message-ID: To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] libavformat/mpegtsenc.c -- correctly re-emit extradata ahead of IDR pictures 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 Cc: "cus@passwd.hu" 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 Marton, Thanks for pointing out https://patchwork.ffmpeg.org/project/ffmpeg/patch/tencent_EE0E40DE9A569FE5AB454E6E700A2DA79A08@qq.com/ Adding prints to h264_mp4toannexb_bsf.c shows that it's not reached in the sequence that reproduces bug 10148 so it seems to be unrelated. I found a simpler process to reproduce bug 10148 with probably any input file: ffmpeg -i -vf scale=320:-1 -c:v libx264 -x264-params aud=1 -c:a aac -f hls -method PUT 'https://upload.youtube.com/http_upload_hls?cid=©=0&nightly=1&file=out.m3u8' ... where 'youtube.com' can be any HTTP server that accepts PUT, there's nothing specific to youtube here. Without the fix, that produces an unjoinable and noncompliant upload where all HLS media segments after the first are not independently decodable. With the fix, all are independently decodable. thanks! John _______________________________________________ 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".