From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTP id 0B3CE44D48
	for <ffmpegdev@gitmailbox.com>; Thu, 22 Dec 2022 19:15:08 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 06F7B68B0A7;
	Thu, 22 Dec 2022 21:15:05 +0200 (EET)
Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com
 [209.85.128.53])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 057CC68B0A7
 for <ffmpeg-devel@ffmpeg.org>; Thu, 22 Dec 2022 21:14:58 +0200 (EET)
Received: by mail-wm1-f53.google.com with SMTP id ay40so2149390wmb.2
 for <ffmpeg-devel@ffmpeg.org>; Thu, 22 Dec 2022 11:14:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:in-reply-to:subject:from:references:to
 :content-language:user-agent:mime-version:date:message-id:from:to:cc
 :subject:date:message-id:reply-to;
 bh=m+dRzBXJ8Gd/fJ1TplAWqnzi7vYnYWJUeAlkGgfFH08=;
 b=flgh3uhJw14wMGQsdH8noBVahgQs7Vk6Z6g+A8pJopf+fnfLryofONHGHMwVxJ5oGU
 qft2PIF2knTavscHNN88m8eSpgHW6zUfoJpgz6KI/SxaQXbNxTv6Ks3dZQNy7P8Fh05z
 4LvYoNcmt0hLGANbK1t6nvMBVfX4yEiuBkK+4739I1HlxkTL8LeZOGKhhs3oMpkw3oaX
 1N2VOyauITaebBihk6VySZ+N6uVOHIJrqtc08jk9EF4i6hoEUZEA9kqc3NZhhlnLSZXX
 3DuebGKr2qIdEj7HU7ONZT3eWdok4EDRLeOq79yvIyk7RmU4ipNoLo4JfOlCZ5u0eNB2
 AE8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:in-reply-to:subject:from:references:to
 :content-language:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=m+dRzBXJ8Gd/fJ1TplAWqnzi7vYnYWJUeAlkGgfFH08=;
 b=rQB6zfbeCqz0pNt20N9Ui5iGJywDhf3nG9XdB/NOgVKg9STA6w7XEc0QvSIPY6QEcr
 n7vcYEL4FqQMT4WHGOjAzRN6jyt+kUiZsh+6vzdvSARCAxG54RyxSpJGBX1V2h20Soc6
 5gQuFW5G0Qp6/G0I1ofdgyigumGTzZ86AQ0Bfygz92qjmot1E/wYWE8Y7oQgdTBzIIKy
 vno3fq/+XLgSoTujer8LfWToGz3JvsRdq7+pPBa6fc8SALj2LiAMdaOk5HU/8bMolEaw
 BsWN3YnOQmZsBvD5rQuzIeY57sQkFrQSzTIU1ZC9kfNGFJWeoOPT4iFltEaJ8NPzVizs
 gsdA==
X-Gm-Message-State: AFqh2kqTRZ6jxsjY+9gLHXvdhPJDd0Njx1tAMVjun2JYn9+nhhKZq1F5
 6eWhou4kUOdtvFaPrGji66MtNDMIcpq5EA==
X-Google-Smtp-Source: AMrXdXsQi7RgrIn6R1xbCju/Qolnyh0H8pv0XmEKNhsgOMjFZxmrTGnqxy/UbowFkCqlM/+INnrHIQ==
X-Received: by 2002:a05:600c:1c11:b0:3d0:a531:5413 with SMTP id
 j17-20020a05600c1c1100b003d0a5315413mr5177329wms.34.1671736497441; 
 Thu, 22 Dec 2022 11:14:57 -0800 (PST)
Received: from ?IPV6:2003:f9:8701:f59f:e87d:5ea2:2b8d:c1e?
 (p200300f98701f59fe87d5ea22b8d0c1e.dip0.t-ipconnect.de.
 [2003:f9:8701:f59f:e87d:5ea2:2b8d:c1e])
 by smtp.googlemail.com with ESMTPSA id
 g15-20020a05600c310f00b003b47e75b401sm7335075wmo.37.2022.12.22.11.14.56
 for <ffmpeg-devel@ffmpeg.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 22 Dec 2022 11:14:56 -0800 (PST)
Message-ID: <7932227f-4a3b-79fc-fa35-d5e61dde842e@gmail.com>
Date: Thu, 22 Dec 2022 20:14:55 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.5.1
Content-Language: en-US
To: ffmpeg-devel@ffmpeg.org
References: <CAPd6JnHEYqvDDy3b31ow4DCS8DiQ4U9ei7==3DL-9kEXum2sWw@mail.gmail.com>
 <CAPd6JnF0ZZDc3xBHMNGRucMkE=OPVSHXguJ=EwCKEkUrcCQ22Q@mail.gmail.com>
From: Gregor Riepl <onitake@gmail.com>
In-Reply-To: <CAPd6JnF0ZZDc3xBHMNGRucMkE=OPVSHXguJ=EwCKEkUrcCQ22Q@mail.gmail.com>
Subject: Re: [FFmpeg-devel] Would a crypto file be acceptable?
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/7932227f-4a3b-79fc-fa35-d5e61dde842e@gmail.com/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

> The result should be no need to provide "crypto://". The ffmpeg file format
> detection should detect that ".crypto" should be handled by the crypto
> plugin.

Instead of a custom descriptor file format that is only used for this 
particular special case, you could also define a custom URI, such as:

encrypted-media://key-format:aes128/key:12345667abcdef/iv:12345678/uri:file%3A%2F%2F%2Ftmp%2Ffile.mp4

_______________________________________________
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".