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 3CCF345FCD for ; Tue, 27 Jun 2023 17:23:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 707B168BE25; Tue, 27 Jun 2023 20:23:51 +0300 (EEST) Received: from arashi.greysector.net (arashi.greysector.net [51.68.141.79]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E7F6468BFE8 for ; Tue, 27 Jun 2023 20:23:44 +0300 (EEST) Received: from sakura.greysector.net (unknown [212.180.189.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by arashi.greysector.net (Postfix) with ESMTPSA id 05B0E5AFD for ; Tue, 27 Jun 2023 19:23:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 arashi.greysector.net 05B0E5AFD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greysector.net; s=default; t=1687886624; bh=Mow/R5w31vlNrY5f3nIx7G4oKakgfBdsakg+5H01ndo=; h=Date:From:To:Subject:From; b=A8iF9BHFLvG7jCpt9gp5CIIr/1x/q2D4n5zrKRXQD4ve7naPeDBao++IUmnXI98HS 4U6R/Zj+TmbgticSPAph2NkwaWA3YNN/v8GwdbzY9hwd5uzyVNs1BnD4qEitKGiE80 g5QVpA+WtRuqw8UlHyevlTNtuA7hbE1Fsz1Ze4Ao= Date: Tue, 27 Jun 2023 19:23:42 +0200 From: Dominik 'Rathann' Mierzejewski To: ffmpeg-devel@ffmpeg.org Message-ID: MIME-Version: 1.0 Content-Disposition: inline Subject: [FFmpeg-devel] [PATCH] enable 'dvh1' FourCC in MP4 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! I'm forwarding this patch from HandBrake. Original author is Damiano Galassi (galad87@github). Apparently, this is required to pass through Dolby Vision metadata to x265. Author's comment says: 'Profile 5 seems to require the "dvh1" fourcc.' See https://github.com/HandBrake/HandBrake/pull/4838 for more details. diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 5608afd..f46df18 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -7689,6 +7689,7 @@ static const AVCodecTag codec_mp4_tags[] = { { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '3') }, { AV_CODEC_ID_HEVC, MKTAG('h', 'e', 'v', '1') }, { AV_CODEC_ID_HEVC, MKTAG('h', 'v', 'c', '1') }, + { AV_CODEC_ID_HEVC, MKTAG('d', 'v', 'h', '1') }, { AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', 'p', '4', 'v') }, { AV_CODEC_ID_MPEG1VIDEO, MKTAG('m', 'p', '4', 'v') }, { AV_CODEC_ID_MJPEG, MKTAG('m', 'p', '4', 'v') }, Regards, Dominik -- Fedora https://fedoraproject.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan _______________________________________________ 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".