DRM decrypting tool for Samsung TVs PVR
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Bernhard Fröhlich 87a7a3ecfa
Version bump to 1.1
7 mēnešus atpakaļ
AES.c Add new AES and AES-NI implementation from pycrypto. Implement small 4 gadus atpakaļ
AESNI.c Set memalign implementation based on architecture 4 gadus atpakaļ
LICENSE Initial commit 5 gadus atpakaļ
Makefile Fix comments in Makefile 7 mēnešus atpakaļ
README.md Update build instructions 7 mēnešus atpakaļ
aes.h Add License header 4 gadus atpakaļ
buffer.c Implement internal buffer to allow reading and writing in bigger chunks 4 gadus atpakaļ
buffer.h Implement internal buffer to allow reading and writing in bigger chunks 4 gadus atpakaļ
drmdecrypt.c Version bump to 1.1 7 mēnešus atpakaļ
trace.h Add flags to increase and decrease verbosity level and set default 4 gadus atpakaļ




drmdecrypt is a tool to decrypt PVR recordings from Samsung TVs into standard transport stream format. There are multiple similar versions out there based on code from SamyGO and various people but they are all either slow, Windows specific, full of bugs or even all together.

This version is fast, POSIX compliant (Linux, FreeBSD, Windows (MinGW)) and is focused on a small number of useful features.


  • Reading title and channel from .inf file
  • Bulk decoding multiple files
  • AES-NI support (5x faster)


Usage: drmdecrypt [-dqvx][-k keyfile][-o outdir] infile.srf ...
   -d         Show debugging output
   -k keyfile Use custom key file instead of mdb
   -o outdir  Output directory
   -q         Be quiet. Only error output.
   -v         Version information
   -x         Disable AES-NI support



of for MinGW (Windows)

CC=gcc make

Support status

Samsung has changed the encryption of the PVR recordings a few times so here is a small overview of what the situation is right now. Situation might change over time.

Model year Status
C (2010) supported
D (2011) supported
E (2012) key file required (needs root)
F (2013) key file required (needs root)
H (2014) key file required (needs root)
J (2015) unknown
K (2016) unknown
M (2017) unknown

Notes for Models E and later

Samsung has moved the decryption keys into the internal storage of the TV. That makes the process more complicated:

1) get root and ssh on your TV 2) ssh to the box and run PVRdumpkeys.sh to generate .key files from the internal storage 3) unplug the USB disk and plug on a laptop 4) run drmdecrypt on it with -k to decrypt the recording

or you can also use SamyGO NoDRM. See: https://forum.samygo.tv/viewtopic.php?t=8105