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 > Media players and codecs
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-19-2010, 03:25 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

can't get mplayer to decode and play mms drm protected stream on the fly


Hello,
I can't get mplayer to decode and play mms drm protected stream on the fly:
Code:
MPlayer-p4-svn-25803>mplayer -demuxer lavf -lavfdopts
cryptokey=xxxxxxxxxxxxxxxxxxxxx mmshttp://stream.onet.pl/tvn24_video -v -v
While it has no problem decoding same same stream dumped into a file:
Code:
MPlayer-p4-svn-25803>mplayer -demuxer lavf -lavfdopts
cryptokey=xxxxxxxxxxxxxxxxxxxxx tvn.wmv -v -v
(same cryptokey-hex is used)
Any ideas?

[Log]
Code:
MPlayer Sherpya-SVN-r25803-4.2.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1700MHz (Family: 6, Model: 9, Stepping:
5)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Config pushed level is now 2
Config pushed level is now 3
get_path('codecs.conf') ->
'C:/MPlayer-p4-svn-25803/mplayer/codecs.conf'
Reading C:/MPlayer-p4-svn-25803/mplayer/codecs.conf: Can't open
'C:/MPlayer-p4-svn-25803/mplayer/codecs.conf': No such file or
directory
Reading /usr/etc/mplayer/codecs.conf: Can't open
'/usr/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --enable-static --enable-md5sum --enable-menu
--disable-vidix-internal --disable-sdl --enable-caca --enable-gl
--enable-freetype --enable-png --enable-jpeg --enable-gif --enable-tga
--enable-mad --enable-tv --disable-dvb --disable-dvbhead
--with-extraincdir=/c/Work/mplayer/live --enable-matrixview
--enable-color-console --flavor=p4
CommandLine: '-demuxer' 'lavf' '-lavfdopts' 'cryptokey=xxxxxxxxxxxxxxxxxxxxx
' 'mmshttp://stream.onet.pl/tvn24_video' '-v' '-v'
init_freetype
get_path('font/font.desc') ->
'C:/MPlayer-p4-svn-25803/mplayer/font/font.desc'
font: can't open file:
C:/MPlayer-p4-svn-25803/mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'C:/MPlayer-p4-svn-25803/mplayer/fonts'
Using Windows native timing
get_path('input.conf') ->
'C:/MPlayer-p4-svn-25803/mplayer/input.conf'
Parsing input config file
C:/MPlayer-p4-svn-25803/mplayer/input.conf
Input config file C:/MPlayer-p4-svn-25803/mplayer/input.conf
parsed: 83 binds
get_path('tvn24_video.conf') ->
'C:/MPlayer-p4-svn-25803/mplayer/tvn24_video.conf'
Reply With Quote
  #2  
Old 01-19-2010, 03:29 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: can't get mplayer to decode and play mms drm protected stream on the fly


[Log Continued]
Code:
[[[init getch2]]]
Playing mmshttp://stream.onet.pl/tvn24_video.
get_path('sub/') -> 'C:/MPlayer-p4-svn-25803/mplayer/sub/'
WINSOCK2 init: 0
Filename for url is now mmshttp://stream.onet.pl/tvn24_video
Filename for url is now mmshttp://stream.onet.pl/tvn24_video
STREAM_ASF, URL: mmshttp://stream.onet.pl/tvn24_video
Trying ASF/HTTP...
Resolving stream.onet.pl for AF_INET...
Connecting to server stream.onet.pl[212.244.48.32]: 80...
Request [GET /tvn24_video HTTP/1.0

Accept: */*

User-Agent: NSPlayer/4.1.0.3856
Host: stream.onet.pl:80
Pragma: xClientGUID={c77e7400-738a-11d2-9add-0020af0a3278}
Pragma: no-cache,rate=1.000000
,stream-time=0,stream-offset=0:0,request-context=1,max-duration=0
Connection: Close

]
Response [HTTP/1.0 200 OK
Content-Type: application/vnd.ms.wms-hdr.asfv1
Server: Cougar/9.01.01.3841
Content-Length: 8081
Date: Sun, 03 Feb 2008 23:45:22 GMT

Pragma: no-cache, client-id=3078399585, xResetStrm=1,
features="broadcast,playlist"

Cache-Control: no-cache, max-age=0, x-wms-event-subscription="remote-log",
x-wms-stream-type="broadcast", user-public, must-revalidate,
x-wms-proxy-split

Last-Modified: Thu, 13 Sep 2007 20:45:54 GMT

Etag: "332"

Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
com.microsoft.wm.predstrm, com.microsoft.wm.fastcache,
com.microsoft.wm.startupprofile

$HT]
=====> ASF Live stream
=====> ASF header chunk follows
Got chunk
Size 2 read=8019
Stream bitrate properties object
 stream count=[0x6][6]
  stream id=[0x1][1]
  max bitrate=[0x107e0][67552]
  is audio stream
  stream id=[0x2][2]
  max bitrate=[0xc918][51480]
  is audio stream
  stream id=[0x3][3]
  max bitrate=[0x8a58][35416]
  stream id=[0x4][4]
  max bitrate=[0x4c9f2][313842]
  stream id=[0x5][5]
  max bitrate=[0x27842][161858]
  stream id=[0x6][6]
  max bitrate=[0x12072][73842]
Max bandwidth set to 2147483647
Resolving stream.onet.pl for AF_INET...
Connecting to server stream.onet.pl[212.244.48.32]: 80...
Request [GET /tvn24_video HTTP/1.0

Accept: */*

User-Agent: NSPlayer/4.1.0.3856
Host: stream.onet.pl:80
Pragma: xClientGUID={c77e7400-738a-11d2-9add-0020af0a3278}
Pragma: no-cache,rate=1.000000
,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0
Pragma: xPlayStrm=1
Pragma: stream-switch-entry=ffff:1:0 ffff:32772:0
Pragma: stream-switch-count=2
Connection: Close

]
Response [HTTP/1.0 200 OK

Content-Type: application/x-mms-framed
Server: Cougar/9.01.01.3841
Date: Sun, 03 Feb 2008 23:45:22 GMT
Pragma: no-cache, client-id=2185976827, xResetStrm=1,
features="broadcast,playlist", AccelBW=0, AccelDuration=0, Speed=1.000
Cache-Control: no-cache
Last-Modified: Sun, 03 Feb 2008 23:45:22 GMT

Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
com.microsoft.wm.predstrm, com.microsoft.wm.fastcache,
com.microsoft.wm.startupprofile

Connection: keep-alive

]
=====> ASF Live stream
Cache size set to 1785 KBytes
STREAM: [null] mmshttp://stream.onet.pl/tvn24_video
STREAM: Description: mms and mms over http streaming
STREAM: Author: Bertrand, Reimar Doeffinger, Albeu
STREAM: Comment: originally based on work by Majormms (is that code still
there?)
CACHE_PRE_INIT: 0 [0] 0  pre:365568  eof:0

Cache fill:  0.00% (0 bytes)   =====> ASF header chunk follows

Cache fill:  0.00% (0 bytes)
Cache fill:  1.79% (32768 bytes)
Cache fill:  3.59% (65536 bytes)
Cache fill:  3.59% (65536 bytes)
Cache fill:  4.93% (90112 bytes)
Cache fill:  5.38% (98304 bytes)
Cache fill:  7.62% (139264 bytes)
Cache fill:  7.62% (139264 bytes)
Cache fill:  7.62% (139264 bytes)
Cache fill:  8.07% (147456 bytes)
Cache fill:  9.42% (172032 bytes)
Cache fill: 11.66% (212992 bytes)
Cache fill: 11.66% (212992 bytes)
Cache fill: 11.66% (212992 bytes)
Cache fill: 13.00% (237568 bytes)
Cache fill: 14.80% (270336 bytes)
Cache fill: 16.59% (303104 bytes)
Cache fill: 16.59% (303104 bytes)
Cache fill: 16.59% (303104 bytes)
Cache fill: 17.49% (319488 bytes)
Cache fill: 17.94% (327680 bytes)
CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x5A000
LAVF_check: asf format
libavformat file format detected.
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
mp_seek(05A41008, 0, 65536)
mp_seek(05A41008, -1, 2)
==> Found audio stream: 0
[lavf] Audio stream found, -aid 0
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 48000
avg byte/sec: 8004
Block align: 1366
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [b1] [2a] [0] [0]
==========================================================================
==> Found audio stream: 1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 6003
Block align: 1115
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [1f] [0] [d9] [22] [0] [0]
==========================================================================
==> Found audio stream: 2
[lavf] Audio stream found, -aid 2
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 3995
Block align: 742
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [1f] [0] [31] [17] [0] [0]
==========================================================================
==> Found video stream: 3
[lavf] Video stream found, -vid 3
aspect= 384*0/(288*1)
======= VIDEO Format ======
  biSize 44
  biWidth 384
  biHeight 288
  biPlanes 0
  biBitCount 24
  biCompression 861293911='WMV3'
  biSizeImage 331776
Unknown extra header dump: [4c] [49] [1a] [1]
===========================
==> Found video stream: 4
[lavf] Video stream found, -vid 4
aspect= 384*0/(288*1)
======= VIDEO Format ======
  biSize 44
  biWidth 384
  biHeight 288
  biPlanes 0
  biBitCount 24
  biCompression 861293911='WMV3'
  biSizeImage 331776
Unknown extra header dump: [48] [29] [1a] [1]
===========================
==> Found video stream: 5
[lavf] Video stream found, -vid 5
aspect= 384*0/(288*1)
======= VIDEO Format ======
  biSize 44
  biWidth 384
  biHeight 288
  biPlanes 0
  biBitCount 24
  biCompression 861293911='WMV3'
  biSizeImage 331776
Unknown extra header dump: [4c] [9] [1a] [1]
===========================
LAVF: 3 audio and 3 video streams found
LAVF: build 3408896
VIDEO:  [WMV3]  384x288  24bpp  25.000 fps  300.0 kbps (36.6 kbyte/s)
[V] filefmt:35  fourcc:0x33564D57  size:384x288  fps:25.00  ftime:=0.0400
Clip info:
 name: Transmisja na Azywo TVN24
 author: TVN24
 copyright: TVN24
 comments: Opis
get_path('sub/') -> 'C:/MPlayer-p4-svn-25803/mplayer/sub/'
<vo_directx><INFO>Initing DirectDraw
<vo_directx><INFO>DirectDraw Inited
<vo_directx><INFO>initial mplayer windows created
<vo_directx><INFO>checking primary surface
<vo_directx><INFO>primary surface created
<vo_directx><FORMAT PRIMARY>14 BGR32 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12  supported
<vo_directx><FORMAT OVERLAY>1 I420  not supported
<vo_directx><FORMAT OVERLAY>2 IYUV  not supported
<vo_directx><FORMAT OVERLAY>3 YVU9  supported
<vo_directx><FORMAT OVERLAY>4 YUY2  supported
<vo_directx><FORMAT OVERLAY>5 UYVY  supported
<vo_directx><FORMAT OVERLAY>6 BGR8  not supported
<vo_directx><FORMAT OVERLAY>7 RGB15 supported
<vo_directx><FORMAT OVERLAY>8 BGR15 supported
<vo_directx><FORMAT OVERLAY>9 RGB16 supported
<vo_directx><FORMAT OVERLAY>10 BGR16 supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 supported
<vo_directx><FORMAT OVERLAY>14 BGR32 supported
<vo_directx><INFO>Your card supports 10 of 15 overlayformats
<vo_directx><INFO>hardware supports overlay
<vo_directx><INFO>preinit succesfully finished
==========================================================================
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:331776  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 - 384 x 288 (preferred colorspace: Packed YUY2)
Trying filter chain: vo
vo_debug: query(Planar YV12) returned 0x417 (i=0)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (384x288->384x288,flags=0,'MPlayer',0x32315659)
VO: [directx] 384x288 => 384x288 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer <at> freenet.de>
<vo_directx><INFO>overlay surfaces released
<vo_directx><INFO>primary surface created
<vo_directx><INFO>overlay with format YV12  created
INFO: Win32/DMO video codec init OK.
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
demux_lavf_fill_buffer()
...
32768=mp_read(05A41008, 05A4B004, 32768), eof:0
...
Reply With Quote
Reply Post New Thread


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 07:58 AM.


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