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 E972B4352E for ; Sun, 17 Jul 2022 13:33:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6859368B7F3; Sun, 17 Jul 2022 16:33:07 +0300 (EEST) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7F3FA68B7F3 for ; Sun, 17 Jul 2022 16:33:00 +0300 (EEST) Received: by mail-wr1-f43.google.com with SMTP id d16so13354864wrv.10 for ; Sun, 17 Jul 2022 06:33:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=8S47BkrjopIqO7H06NkUurpvTIQwGDdWq7dMs8dQRGE=; b=GXUaBstaBN+IamyyHiNLsxPPiYPawc8uY5ADZxggy9YVvskO+bJhqBNImM+QWMyCtv FQMwdbyeKaOVMqoqXLdE60C719V5pGmE3ShO1IGS9LfBW80DDuyvYptlD0Sx7SDY5pGQ vqZiQI/BkFgjySSntFMvX/RLuDh92/uuLUzJ8J+CAPdTuB3bUv0yhZCFAXYorBU0uvrH bhPfvYeq6f1yE0rBkUV/8XsLQqKIodnY8OeyDHLlyvxQPpV07DkJ4sW+xHVVM7U6ocHi ImAR+2Uyq505gnDtnag0SSa9jkDAC1DAk3rdOuJM82VQm4hee47fE5O01j4gw5VHZZl+ Mhwg== X-Gm-Message-State: AJIora9CnKFlKTtwtkT+89YsYF1/pm7yZr5rGFmx98bGPCHeDsmcPZe5 HCAIIhg+JzqnVoh/MXavq5/Azs7zEl/z+Q== X-Google-Smtp-Source: AGRyM1tL03CHVoFoJA5pGjFWdMKEiLjnqOaaUH7cq7wRgA7K1fXpbLUJDJYKSERunge+Q2lSJhZgDA== X-Received: by 2002:adf:fe81:0:b0:21a:3574:ec8e with SMTP id l1-20020adffe81000000b0021a3574ec8emr19987795wrr.410.1658064779733; Sun, 17 Jul 2022 06:32:59 -0700 (PDT) Received: from localhost.localdomain ([84.71.185.98]) by smtp.gmail.com with ESMTPSA id p15-20020a5d68cf000000b0021d20461bbbsm8296001wrw.88.2022.07.17.06.32.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 06:32:59 -0700 (PDT) From: facefunk To: ffmpeg-devel@ffmpeg.org Date: Sun, 17 Jul 2022 14:32:54 +0100 Message-Id: <20220717133256.35929-1-facefunk@fcfnk.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] (no subject) 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 FFMDevs, I've managed to get forced mov_text subtitles working in VLC Player. -disposition:s:0 +forced is honored but I'm not 100% sure about my approach. The attached patch represents the best idea I came up with so far as the code is minimal and it doesn't require the user to set any extra parameters, however it does puncture an abstraction boundary ever so slightly by copying stream data to the codec, perhaps this isn't a problem. If there's anybody who could look over my patch and let me know if there's a better way of going about this, that would be greatly appreciated. Love your work! Kind regards, facefunk _______________________________________________ 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".