PDA

View Full Version : Mplayer playing DRM stream


dreamcatch
9th November 2007, 22:40
Hello,
im trying to play DRM protected stream. I got KID/SED, and mplayer from SVN repository.
./mplayer -vo x11 -demuxer lavf -lavfdopts cryptokey=xxxxxxxxx mms://stream.onet.pl/media.wsx?/live/tvn24_video. SID is okey, im undrm files by FreeMe2 recorded by VLS player and i can watch it. But
when i try to undrm stream this is what i get in mplayer:


==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:230400 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 64.0 kbit/4.17% (ratio: 8004->192000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
A: 0.0 V: 0.0 A-V: 0.000 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0 0% [[JM

Exiting... (End of file)


Any idea why its not playing?

lightshadow
10th November 2007, 00:20
In case you don't get an answer here, I'd the mplayer user mailinglist would be a better place to ask.

My experience is that you get an answer very quickly on their user mailinglist.

sectroyer
11th November 2007, 13:19
In case you don't get an answer here, I'd the mplayer user mailinglist would be a better place to ask.

My experience is that you get an answer very quickly on their user mailinglist.
I suppose he did use SID in base64 format whereas mplayer requires SID to be in the hex format :)

dreamcatch
11th November 2007, 21:45
I suppose he did use SID in base64 format whereas mplayer requires SID to be in the hex format :)

Yes it was the problem. I asked on mplayer-user list, and someone told me that i was using key in bad format :)
Thanks!