Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Media file management > Removing copy-protection (like DRM, AACS)
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-18-2007, 06:54 AM
sectroyer sectroyer is offline
Member
 
Join Date: Sep 2007
Posts: 42
sectroyer will become famous soon enoughsectroyer will become famous soon enough
Default

freeme2 - free software to remove DRM protection from Windows Media WMA,WMV,ASF files


freeme2 - freeware open source software to remove DRM protection from Windows Media .WMA audio files and .WMV video files.

Precaution
We do not host or provide any downloads of freeme2. When downloading software from unknown sources make sure to check your downloads with a reliable antivirus software like Kaspersky Anti-Virus or Kaspersky Internet Security.

freeme2 download links
The binary application (that can be used by anybody to remove DRM protection) can be downloaded from
http://sourceforge.net/project/showf...roup_id=205801 (the latest version from official source)
http://rapidshare.com/files/57117941/FreeMe2.zip.html (older version)

The source code for programmers can be found at
http://sourceforge.net/projects/freeme2

How to use freeme2
Freeme2 is a command line application. You need to learn how to use Windows command console to run it.

How to use freeme2 to remove DRM from Windows Media .WMA and .WMV files (command line console)
  1. Put your DRM protected media files in the same folder as Freeme2.
  2. Run the Windows command console: Hit "Start"->Hit "Run..."->type CMD->Hit the "OK" button.
  3. Then, once in the command console, chage the directiry by using the "cd" command to the directory where your FreeMe2 is located.
  4. Extract your license keys. You can do this with drmdbg.
  5. Type the following in the command line console:
    Code:
    freeme2 <name_of_drm_wma_file>
    and press the Enter button
How to use freeme2 to remove DRM from Windows Media .WMA and .WMV files (drag-n-drop)
Drag-n-drop method is much easier than the one using command line console:
  1. Put your DRM protected media files in the same folder as Freeme2.
  2. Extract your license keys. You can do this with drmdbg. If you use drmdbg you can
    take the drm2-i.key file generated by drmdbg, rename it to drm2.key and copy it to the FreeMe2 folder.
  3. Drag your sample.wma file onto FreeMe2.exe. It starts up and runs fine.
The latest version of FreeMe2 supports decryption engine from MPlayer. There are three options to use freeme2: v,s and 2. Any combination of those is valid:
  • v - verbose mode
  • s - ask for SID
  • 2 - use FreeMe2 orignal decryption engine (by default we use MPlayers one).
Example configurations:
  • Decrypt file
    Code:
    FreeMe2 some_file
  • Decrypt file in verbose mode
    Code:
    FreeMe2 -v some_file
  • Decrypt file but force program to ask for sid
    Code:
    FreeMe2 -s some_file
  • Decrypt file but force program to ask for sid in verbose mode
    Code:
    FreeMe2 -vs some_file
  • Decrypt file but force program to ask for sid in verbose mode using FreeMe2 decryption engine
    Code:
    FreeMe2 -vs2 some_file
Automation tool for FreeMe2
Quote:
Originally Posted by noonehome
As far as I can tell, FreeMe2 is set up to do one file at a time. I wanted to automate it but can't "really" program. I can only do what I kind of know, and thats perl.

*This will only work if you already have drmdbg and FreeMe2 working* You will also need perl installed on your computer (get perl for Win from ActiveState - http://www.activestate.com/Products/activeperl/

Anyway, I made a perl script that if you put in a directory with your DRM'ed files will free them all using drmdbg and FreeMe2. You need to edit it to specify the location of your drmdbg folder, and your FreeMe2 folder. It will call up drmdbg (just hit multiscan and close it when its one its thing). Then it will run FreeMe2 on each DRM'ed file (using the KID and SID from drmdbg) and move the resulting freed file to a folder called "freed". It's ugly and shows off my bad programing, but it works. Just copy the code below into a file (I call mine "batch_FreeMe2.pl"). There are some messy double \\ and suchat the end of the drmdbg and FreeMe2 loactions. They need to be there, thats because of the way Win uses \ instead of the normal /.
Code:
#

$drmdbg_dir = 'C:\Program Files\drmdbg\\' ;             # Edit this to point to your drmdbg folder
$drmdbg_exe = 'drmdbg.exe' ;                            # This can be edited in case your drmdbg is named something other than drmdbg.exe
$drmdbg_ini = 'drmdbg.ini' ;
$drmdbg_run = "$drmdbg_dir$drmdbg_exe" ;

$FreeMe2_dir = 'C:\Program Files\FreeMe2\\' ;   # Edit this to point to your FreeMe2 folder
$FreeMe2_exe = 'FreeMe2.exe' ;                          # This can be edited in case your FreeMe2 is named something other than FreeMe2.exe
$FreeMe2_run = "$FreeMe2_dir$FreeMe2_exe" ;

use Cwd ;
$dir = getcwd ;
$dir =~ s/\//\\/g ;
$dir = "$dir\\" ;

if (-e "$drmdbg_dir$drmdbg_ini") {
        unlink ("$drmdbg_dir$drmdbg_ini") || die "Cannot delete $drmdbg_dir$drmdbg_ini : $!";
}

open INIFILE, ">$drmdbg_dir$drmdbg_ini" ;
select INIFILE ;
print <<INIBLOCK ;
[Form1]
State=0
Left=0
Top=0
[wmvdir]
path=$dir
[drm2dir]
path=$FreeMe2_dir
[TopWindow]
0_or_1=1

INIBLOCK
select STDOUT ;
close INIFILE ;

`"$drmdbg_run"` ;
$keyfile = 'drm2\drm2-i.key' ;
$newkeyfile = 'drm2.key' ;
rename ("$FreeMe2_dir$keyfile", "$FreeMe2_dir$newkeyfile") || die "Cannot move $FreeMe2_dir$keyfile : $!" ;

@DRM_files = <*.wma> ;                                  # if you want to work with something other than wma's, edit the <*.wma>
mkdir "freed" ;
foreach (@DRM_files){
        `\"$FreeMe2_run\" \"$_\"` ;
        rename ("freed-$_", "freed/freed-$_") ;
}
fm2helper by xdk_ - automation tool for FreeMe2
  • fm2helper (with source code)
    Simply copy the executable into the same folder as freeme2.exe. You can to drag and drop complete folders on it which are being processed recursively (i.e. with all subdirectories).
Attached Files
File Type: txt batch_FreeMe2.pl.txt (1.3 KB, 0 views)
Reply With Quote
 
Tags: , , , , , , , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:17 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons