Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anybody know if there is an effective way to catch the streamed output of Silverlight and saving it to the Hard disk (in any format) without using screen capturing tools?

share|improve this question
    
Might be a duplicate of "Capture specially encoded videos?" at superuser.com/questions/61864/capture-specially-encoded-videos –  Arjan Oct 29 '09 at 12:15
    
Not exactly, the problem there is apparently with the codecs. I don't have to manipulate AVI files, but capture streaming content and save it. –  Overflow Oct 29 '09 at 14:21

2 Answers 2

up vote 4 down vote accepted

If you're familiar with .NET/IL Sourcecode:

  1. Locate the Silverlight .xap file and save it to your computer.
  2. Change the extension from .xap to .zip and open it.
  3. You'll find one or more Dlls. Take them, starting with the one looking like it's just for that Silverlight application. (You can probably skip thirdparty ones.)
  4. Disassemble that Dll with IL DASM or other IL disassembler tools.
  5. Search for the source Uri of the video stream. Theoretically, it could be anywhere in the dump, look out in the main page's source. It will just look like a link to a media file, maybe .asx.
  6. You can not download it as a simple file. Remember it's a stream! Use a program like VLC which is capable of saving and encoding a stream. There you go.

Alternative:

  1. Start your favorite Network Sniffer (like Microsoft Network Monitor).
  2. Look out for the HTTP request which is followed by a massive flood of responses. Thats the Uri for your stream. Continue with 6. in the first section.
share|improve this answer
    
Where is the moov atom? I couldn't find it from the stream. –  Joni May 2 '12 at 7:39

Have you tried this

That helped me a couple of times

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.