Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Removing copy-protection (like DRM, AACS) (http://stream-recorder.com/forum/forumdisplay.php?f=25)
-   -  

drm removal from dcf. extension files

(http://stream-recorder.com/forum/showthread.php?t=412)

Laetitia 10-16-2006 05:23 PM

drm removal from dcf. extension files


 
In my search for info/help on drm removal i came upon this forum and i hope someone here can answer my questions. I have a Sony Ericsson mobile phone with several drm protected files programmed on it. They have a dcf. extension, which i by now understand to be the drm content format extension. I tried to remove the drm protection with sound taxi 1.0 but that program doesn?t recognize the dcf extension. I have no intention to illegally distribute the files or anything, i just like to save them on my computer for safekeeping. They are not just audiofiles btw, i also have a video and two images. Does anyone know how i can remove the drm protection so i can transport the files to my computer and possibly convert them so i can watch/listen with wmplayer?
Thank you

poggs 11-12-2006 06:24 PM

Re: drm removal from dcf. extension files


 
Hi,

I am also having a problem with dcf files. I've tried using Tunebite (amongst other DRM removal programs) but, again, the software doesn't recognise the .dcf extension. The video I am trying to decrypt is an mp4.

I've found a sample of some C# code that should the file and enable you to extract the content, but i have no clue about executing C# code!! :confused:
If anyone want's to have a go (please!), here is the C# code: http://www.example-code.com/csharp/oma-drm-read-dcf.asp

Has anyone found a way to decrypt this type of file?!?

Thanks :cool:

Stream Recorder 11-13-2006 01:30 AM

Compiling C# application that removes DRM from .dcf files


 
First of all you need a CSharp compiler (csc).

If you save the following file
Code:

// A Chilkat Crypt unlock code will work here.
Chilkat.OmaDrm omaDrm = new Chilkat.OmaDrm();
omaDrm.UnlockComponent("Anything for 30-day trial");

Chilkat.Crypt2 crypt = new Chilkat.Crypt2();

// Load an OMA DRM file.
omaDrm.LoadDcfFile("orval2.dcf");

string msg = omaDrm.ContentType + "\r\n" +
    omaDrm.ContentUri + "\r\n" +
    omaDrm.Headers;

MessageBox.Show(msg);

// Get a specific header
MessageBox.Show("Content-Description = " + omaDrm.GetHeaderField("content-description"));

// Get the AES initialization vector
// Display the IV in hex format.
MessageBox.Show("IV: " + crypt.Encode(omaDrm.IV, "hex"));

// Display 1st 20 bytes of encrypted data in hex format
MessageBox.Show("Encrypted Data: " + crypt.Encode(omaDrm.EncryptedData, "hex").Substring(0,20));

// To decrypt, set the Base64 key and decrypt...
omaDrm.Base64Key = "BiVVJOQee6y4PWYL+fbvJA==";

// Display 1st 20 bytes of the decrypted data in hex format
MessageBox.Show("Decrypted Data: " + crypt.Encode(omaDrm.DecryptedData,"hex").Substring(0,20));

// Save the decrypted data to a file.
bool success = omaDrm.SaveDecrypted("out.gif");
if (!success)
    {
    MessageBox.Show(omaDrm.LastErrorText);
    }

as a dcfundrm.cs you may compile it using C# compiler (csc) from a command line:
Code:

csc dcfundrm.cs /r:ChilkatDotNet.dll
But you should place dcfundrm.cs and ChilkatDotNet.dll from http://www.chilkatsoft.com/downloads.asp to the same directory (if I'm not mistaken).

You may also use /out switch to change .exe name:
Code:

csc /out:dcf_undrm.exe dcfundrm.cs /r:ChilkatDotNet.dll
Note that the code provided is just an example. It can open only file with a fixed filename orval2.dcf (you can change it in the code an recompile) and decrypt it to the file with the fixed filename out.gif.

p.s. Haven't done any C# coding for about 2 years. And I have never used command prompt to compile C# applications. So sorry for the possible mistakes.

Stream Recorder 11-13-2006 01:54 AM

Can this C# application really remove DRM from .dcf files???


 
And I'm not sure with what kind of files the given C# code works. It could be EXIF/DCF (Design rule for Camera File system) files used in digital cameras or whatever.

poggs 11-13-2006 04:26 PM

Re: drm removal from dcf. extension files


 
SR, thanks a lot for the pointers. I managed (after a long struggle) to get to the stage of compiling the code, however I keep getting this error:

Error CS0116: A namespace does not directly contain members such as fields or methods

Any idea what I can do to get past this?

Many thanks :)

Stream Recorder 11-14-2006 08:41 AM

Re: drm removal from dcf. extension files


 
Please try to add the following in the beginning of the code
Code:

using Chilkat;
p.s. Gush, I don't remeber C# at all.

dreamhacker 12-20-2006 04:36 AM

Re: drm removal from dcf. extension files


 
I cannot compile the code. Any idea what is wrong? I get the same error as the dude above, about the Chilkat part of the code (Error CS0116: A namespace does not directly contain members such as fields or methods).

malfreds 04-04-2007 10:11 PM

Re: drm removal from dcf. extension files


 
And what happen then?

I'm looking for remove this dcf protection because I flashed my cell phone and it erased all my exclusive/branded content, but I made a backup first and now it's useless because I don't know how to activate this files.

I see this topic but it seems nobody continued it.

So, what was the results?

limeister 08-24-2007 05:09 AM

Re: drm removal from dcf. extension files


 
Is this thread dead now?
I have actually purchased a lot of audio DCF from the MELON website but the thing is I can't upload them onto my iPod.

I would really like to know how this thread turns out. I would love to be able to play my DRM content on my iPod.

I have been searching the web for possible solutions and this C# code seems to be the closest I could find. I don't know anything about programming though.

Has there been any further developments in this thread?

Admin: Due to the great amount of spam posts in the forum all the post are validated. So it take some time for your messages to appear.

Stream Recorder 08-24-2007 02:31 PM

Re: drm removal from dcf. extension files


 
The thread is not dead. However I haven't seen any application that can remove DRM from .dcf files.

The C# code could help to a software developer.

Also I don't really know whether the C# code is useful for OMA DRM version 2 .dcf files or only for the files of the first version.

Stream Recorder 08-24-2007 02:39 PM

Use DRM-free music services and content providers


 
So far the solution is to buy DRM-free music files.

You can always download MP3 music files from say eMusic, then trim them with a free software like MP3DirectCut and transfer them to your mobile phone.

You may also choose content providers that provide DRM-free ringtones. In many cases you will pay the same or comparable price compared to the tunes bought in a music download service so probably there is no sense to do that.

limeister 08-24-2007 05:14 PM

Re: drm removal from dcf. extension files


 
Thanks for the reply Stream.
I will watch this thread.
It's just disappointing. I go to all this trouble to buy legal music can't play them.
The only method I have found that works is to just record them from my sound card. Hardly a solution :(

Stream Recorder 08-25-2007 12:21 AM

Re: drm removal from dcf. extension files


 
Many companies have realized that implementing DRM was a big mistake. It only complicates the content usage for the legal purchasers. And it can't stop pirates from spreading the content.

You may have seen that iTunes started selling DRM-free music lately. This music is a little bit more expensive, but it is of a better quality. Also gBox launched recently is going to sell DRM-free music. I think it is only the beginning of the wave.

Just don't support content providers that use DRM unless it is something like Yahoo! Music Unlimited that provides you access to the unlimited number of songs for a small monthly fee.

limeister 08-27-2007 06:28 AM

Re: drm removal from dcf. extension files


 
Thanks again for the helpful posts.
I don't mind paying a small fee to get unlimited songs. I might have to try Yahoo. The reason I still pay for it from the other site is that they have a bunch of Korean songs which I listen to regularly. Oh well.

CIsor 03-16-2009 11:17 AM

Re: drm removal from dcf. extension files


 
Hi There, not sure if I should be starting a new thread for this query but does anyone know if the chillkat dll can be used to strip the DRM from a .gif file encoded in a .dcf file?

The code as shown does not work for this and crashes out saying "This application has requested the Runtime to terminate in an unusual way" when it gets to the line whioch should open the file.

Any help out there?

Thanks

C

olebak 10-14-2010 08:22 AM

Re: drm removal from dcf. extension files


 
Hello, everyone could build and run the code in question and my question now is: How do I run it returns me messages with the following information: Video/Mp4; cid: Matrix_PortugueseSub@Nokia.com; Encrypition_Metod: AES128CBC; Padinger: RFC 2630; Content -Name: Transformers iv: 5c57175c461e8750038c268adefd1411.
It also generates a file (out.gif), but with size (0) KB.
I wonder what I can do with this information displayed in the execution because they thought that would be generated a new movie file with no protection.
Can anyone help me?

ricg777 08-07-2011 08:04 PM

Re: drm removal from dcf. extension files


 
Quote:

Originally Posted by olebak (Post 22202)
Hello, everyone could build and run the code in question and my question now is: How do I run it returns me messages with the following information: Video/Mp4; cid: Matrix_PortugueseSub@Nokia.com; Encrypition_Metod: AES128CBC; Padinger: RFC 2630; Content -Name: Transformers iv: 5c57175c461e8750038c268adefd1411.
It also generates a file (out.gif), but with size (0) KB.
I wonder what I can do with this information displayed in the execution because they thought that would be generated a new movie file with no protection.
Can anyone help me?

clearly we have found the music we paid for is locked up by the seller or middle man so we can only access it via our mobile phone. I only paid 2 x $5 for 2 x video hits, and wanted to play them on speakers off my pc, not my headphones. Clearly we have all lost our money and learned a valuable lesson ! if that mobile phone suite is bigger than windows operating system itself "dont use it" it is not for our purposes, but for Nokia, Sony Errickson and alike, it is only designed to cheat us>

Secondly, I am amazed how resourceful many here are, and I also googled "wtf drm" and ended up doing alike "dumb things". We have all been cheated by the system, and while I spent endless hours trying to resolve this, my neighbour laughed and in 10 minutes had downloaded pirate copies from limewire? or something!! I own that music, paid $10 and the pirates of technology picked my pocket, now my neighbour is my new friend and I have the full albums and can play the music I purchased on my iPod! my ipod and the sound is 10 times better than what i paid for, to hear on my mobile with 50 cent earpods.

Finally, we got ripped off by the system, the system is wrong, liars, cheats and blaggards, we deserve better "fight back" learn, dont let this happen to you, dont give them the opportunity to cheat you. recently itunes has finally freed up their restrictive policy so you can download tunes to your pc not just your ipod, you can chose to have itunes on your mobile device, remember "use itunes" and trust no one else , the big companies are prostiutes, except with real prostitutes "when you pay, you get screwed in a nice way"


All times are GMT -6. The time now is 11:12 PM.