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 677A4446B3 for ; Thu, 22 Dec 2022 15:53:50 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0FFF868B9D5; Thu, 22 Dec 2022 17:53:48 +0200 (EET) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BB704689B37 for ; Thu, 22 Dec 2022 17:53:41 +0200 (EET) Received: by mail-ed1-f42.google.com with SMTP id d20so3564410edn.0 for ; Thu, 22 Dec 2022 07:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=PWFRk9qz61fzu/RIULyzmvKUmjuthuI/QtRw/rYPwNs=; b=X4oa6hW1vw6ZBd82n4hMvN2vFqVhJbFsFRRXu3dsgiprQXmQXVZ3VsIWf//Yqk+/eA Kw6yxSbfyBY+/rvkYA0myOxh6CoSc11+n7AsvILksaJgx/bJeQ2DRCeWCGQG8wj6/bQu rBWUReSkR0DsBeaO0eCbKLEiofU7V08FqSvGigp0SrE8ArenKVOw52BvZmZX/MSzmPJH WDcsFQKBElQBasmnHq6yVtOWVkImDUMDgNeqHWdzAu09l+dAPfMQxg1Tphs3T19kLnDy uQnOH/Zy8nn257o/JPEOUg86531XQCZqKZF/FeH7a1Z0SEA1/OP6CT/rpFAD/Fo0zuEW MJgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PWFRk9qz61fzu/RIULyzmvKUmjuthuI/QtRw/rYPwNs=; b=HhQMbp557Qs1cQ51PRHqA29i7iA+5tvWuO4s0YwRlq1AT7caltY1ml8k5cjefVqXvE TXjtwi1jBj8fBtfUQmu+gIwrkjZCcSQ2W/gvN/L7GoSXjtm6MOynsdhynUK+NjK8ICGZ 6Q+2NA2Y3hqWb8gkDgljpkR6eDVyOF/vnaxzhAdAh5xbyXGnrHfPR4aVojOiXBOHrHy5 gVA0kt42Lv3CqMkJ6Sv7nG7gSR9QnljkDcgjhPlJ+xzgjuo2tqwT9dBH9L/NrbFIW3Kq FtMDV8UbS0TSbtOGFg7P1esvtrIzk+c6E4C9NrW+uf3kKMGPj4Q1/TCPcqnH2c9vgAEn USzg== X-Gm-Message-State: AFqh2kq8zQyjqbDhadXscxmVWWB/bGwtqSUArYFJDycW8hXmm/rW+A7m MKu66i3z7CIpeYYDNLAm7sC1ddxmEuoNxbm/G/cdmDRmUJ7j1g== X-Google-Smtp-Source: AMrXdXvlj3yAbSJogc8L5GeRBFDi9oOypEDx/e1RBOuT2hdkxPWG7ECMctjq+eJJekx/vDnY+wQQ//++oc62tijeA50= X-Received: by 2002:aa7:db4c:0:b0:462:845:ba98 with SMTP id n12-20020aa7db4c000000b004620845ba98mr594250edt.12.1671724420486; Thu, 22 Dec 2022 07:53:40 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mark Gaiser Date: Thu, 22 Dec 2022 16:53:26 +0100 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 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: On Thu, Dec 22, 2022 at 11:40 AM Nicolas George wrote: > Mark Gaiser (12022-12-21): > > While this works just fine, it's limited in use because the cryptography > > details have to be passed on the command line. Applications that might > well > > support much of ffmpeg functionality can't easily hook into the crypto > > functionality. Take KODI for example, it allows playback of many of the > > formats ffmpeg supports but anything with crypto just isn't possible. In > > fact, anything that requires custom command line arguments isn't > possible. > > [2] > > > > My idea is to make a new file format that would be implemented and > specced > > within [1]. My proposed format would be: > > > > --- > > CRYPTO-VERSION:1 > > CRYPTO-KEY:URI:..... > > CRYPTO-IV:URI:..... > > encrypted_file > > --- > > The concat demuxer can already contain options, and despite is name it > can be used with a single file. > Could you elaborate on how to use that:? The end result needs to be: ffplay that needs to translate to: ffplay crypto://encrypted_file -decryption_key $AES_KEY -decryption_iv $AES_IV I briefly looked at the concat demuxer but couldn't see how to get this desired result. If you know how, please let me know! > > Regards, > > -- > Nicolas George > _______________________________________________ > 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". > _______________________________________________ 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".