[FFmpeg-devel] Would a crypto file be acceptable?

Mark Gaiser markg85 at gmail.com
Fri Dec 23 03:26:25 EET 2022


On Thu, Dec 22, 2022 at 8:15 PM Gregor Riepl <onitake at gmail.com> wrote:

> > 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
>
>
I can't find a single thing about this in the ffmpeg documentation.
How is this called, where can I read more about it and - most importantly -
does it work out of the box?

An option that I'm looking for should work without providing custom
arguments in ffmpeg!

Regardless, this would be a rather big security hole as a potential key
would be plainly visible in url logging.
Therefore "hiding" it in a file is probably a better and more secure
approach.


> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list