[MPlayer-dev-eng] Multicast video streams.

James Courtier-Dutton James at superbug.co.uk
Sat Jan 29 19:51:22 CET 2005


Reimar Döffinger wrote:
> Hi,
> On Thu, Jan 27, 2005 at 07:20:27PM +0000, James Courtier-Dutton wrote:
> 
>>Does anyone know how to decode the .nsc files?
> 
> 
> Why? I think MPlayer can't play multicast anyway...
> Attached is a code snippet that can do the decoding, but you have to do
> the "parsing" part by hand (I just hacked it for testing so don't expect
> much comfort ;-) ).
> It is one of Microsoft's many special, hand-made base64 encodings.
> The encoded strings start with <attribute>=02, you must remove that part. The decoded string will consist of 8 bytes length (at least it seems that's what it is) and then the string in unicode.
> 
> Greetings,
> Reimar Döffinger
> 

Thank you very much. I now have enough information to get any open 
source media player to play video sources from a Microsoft Video 
Streaming server.
I have added some parsing code, so one can understand the .nsc files better.
See attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nsc_decode.c
Type: text/x-csrc
Size: 2686 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050129/b3caf5b6/attachment.c>


More information about the MPlayer-dev-eng mailing list