Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to make DRM-enabled videos through FFMpeg?

Tags:

ffmpeg

drm

I'm using FFmpeg to convert my videos to be shown on website. Download managers however, download them and it keeps visitors away from spending more time in my website. Is it a way to use FFMpeg to generate DRM-enabled videos and/or any other ways to prevent download managers to download my videos? FYI: I use jwplayer to play my videos.

like image 655
Davood Falahati Avatar asked Jun 15 '14 05:06

Davood Falahati


People also ask

What is DRM protected video?

Digital Rights Management (DRM) is a method of securing digital content to prevent unauthorized use and piracy, and it has become a requirement for many streaming video platforms as more premium content is delivered via the public Internet.

What can FFmpeg do?

ffmpeg is a command-line tool that converts audio or video formats. It can also capture and encode in real-time from various hardware and software sources such as a TV capture card. ffplay is a simple media player utilizing SDL and the FFmpeg libraries.


1 Answers

When people say DRM they usually are covering two things:

  • encrypting a video with a key
  • securely sharing this key between the server/content owner and authorised users

DRM is really about the second part and this is outside the scope of the video preparation - i.e. out side the scope of encoding and packaging etc - except that the encoder or packager also needs to know the key.

If your content is not vey high value (e.g. Hollywood movie etc) then clearkey protection is possible enough to discourage most casual or amateur downloading and copying.

With clearkey and DASH streaming format for example, you can configure the clear keys in your player itself. This is obviously not very secure (or at all secure!) but if you are just trying to discourage people it may be enough.

You can see an example of clearly config with the open source Shaka player to experiment with here:

  • https://shaka-player-demo.appspot.com/docs/api/tutorial-drm-config.html
like image 59
Mick Avatar answered Oct 31 '22 01:10

Mick