VoD from VLC to Windows Media Player

About encoding, codec settings, muxers and filter usage
adamsih300u
New Cone
New Cone
Posts: 2
Joined: 08 Aug 2005 15:49

VoD from VLC to Windows Media Player

Postby adamsih300u » 08 Aug 2005 15:51

Hi,

I'm trying to get VLC to stream to WMP. I've been using RTSP for VLC to VLC in testing, and it works fine, but when I put "rtsp://127.0.0.1:1234/test" into Windows Media Player, it says it can't play it. Any help and thoughts are greatly appreciated, as I have to use WMP for the client end.

Adam

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 08 Aug 2005 19:34

WMP can't use rtsp
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Andri

Postby Andri » 10 Aug 2005 17:34

Windows Media Player 9 and 10 support RTSP, and Im having the same problem as adamishi300u.

Andri

StevieG
Blank Cone
Blank Cone
Posts: 17
Joined: 10 Nov 2005 20:51

Postby StevieG » 11 Nov 2005 20:07

I would also like to know if this is possible at all. Do we need to set some options on the vlc server side so that windows media player will receive the format it is expecting? Is compatibilty with WMP a possibilty in future releases?

insane

Postby insane » 28 Nov 2005 04:19

I too am having problems with WMP-9. I also cannot get Real Player to connect. VLC, however, can recieve the stream without any difficulty.

For those that are more knowledgable that I about these things, I have included the log files from the unsuccessful attempts of Real Player and WMP in the hope that they hold clues to what is going wrong.

Any help is most appreciated!

REAL PLAYER

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2005.11.27 20:18:56 =~=~=~=~=~=~=~=~=~=~=~=


[root@localhost root]# vlc --ttl 12 -vvv --color -I telnet --rtsp-host 192.168.0.106:5554
VLC media player 0.8.1 Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 180 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version 0.8.1 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-libraries=/usr/X11R6/lib --program-prefix= --enable-release --enable-dvdread --enable-dvdplay --enable-dvbpsi --enable-v4l --enable-vcd --enable-mad --enable-ffmpeg --with-ffmpeg-tree=ffmpeg-20050209 --enable-faad --enable-xvid --enable-flac --enable-theora --enable-mkv --enable-x11 --enable-xvideo --disable-qte --disable-directx --enable-fb --enable-aa --without-wingdi --enable-oss --enable-esd --enable-arts --enable-alsa --disable-waveout --enable-gtk --disable-familiar --enable-gnome --enable-wxwindows --disable-opie --disable-macosx --disable-qnx --disable-intfwin --enable-xosd --enable-lirc --enable-pth --disable-st --disable-testsuite --enable-plugins
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 180 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 4 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000226] main playlist debug: creating group Normal with id 1 at position 0
[00000226] main playlist debug: waiting for thread completion
[00000226] main playlist debug: thread 26192816 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000227] main interface debug: looking for interface module
[00000227] main interface debug: probing 1 candidate
[00000143] main module debug: using interface module "hotkeys"
[00000227] main interface debug: interface initialized
[00000227] main interface debug: thread 48561072 (interface) created at priority 0 (src/interface/interface.c:209)
[00000229] main interface debug: looking for interface module
[00000229] main interface debug: probing 4 candidates
[00000229] main interface: creating vlm
[00000231] main vlm debug: thread 36682672 (vlm thread) created at priority 0 (src/misc/vlm.c:109)
[00000229] telnet interface: Using the VLM interface plugin...
[00000229] main interface debug: net: listening to ':4212'
[00000229] main interface debug: looking for network module
[00000229] main interface debug: probing 2 candidates
[00000141] main module debug: using network module "ipv4"
[00000141] main module debug: unlocking module "ipv4"
[00000229] telnet interface: Telnet interface started on port: 4212
[00000144] main module debug: using interface module "telnet"
[00000229] main interface debug: interface initialized
[00000229] main interface debug: thread 59050928 (manager) created at priority 0 (src/interface/interface.c:194)
[00000233] main private debug: looking for vod server module
[00000233] main private debug: probing 1 candidate
[00000233] main private: creating httpd
[00000236] main private debug: thread 116542384 (httpd host thread) created at priority 0 (src/misc/httpd.c:1170)
[00000132] main module debug: using vod server module "vod_rtsp"
[00000237] main input debug: set input option: sout to #description
[00000237] main input debug: waiting for thread completion
[00000237] main input debug: thread 72678320 (input) created at priority 0 (src/input/input.c:228)
[00000238] main stream output debug: stream=`description'
[00000239] main private debug: looking for sout stream module
[00000239] main private debug: probing 1 candidate
[00000190] main module debug: using sout stream module "stream_out_description"
[00000237] main input debug: `/opt/lampp/htdocs/vid/lynx.mpeg' gives access `' demux `' path `/opt/lampp/htdocs/vid/lynx.mpeg'
[00000237] main input debug: demux2_New: access='' demux='' path='/opt/lampp/htdocs/vid/lynx.mpeg'
[00000241] main demuxer debug: looking for access_demux module
[00000241] main demuxer debug: probing 1 candidate
[00000237] main input debug: access2_New: access='' path='/opt/lampp/htdocs/vid/lynx.mpeg'
[00000243] main access debug: looking for access2 module
[00000243] main access debug: probing 4 candidates
[00000243] vcd access debug: trying .cue file: /opt/lampp/htdocs/vid/lynx.cue
[00000243] vcd access warning: could not open /opt/lampp/htdocs/vid/lynx.mpeg
[00000243] access_file access debug: opening file `/opt/lampp/htdocs/vid/lynx.mpeg'
[00000118] main module debug: using access2 module "access_file"
[00000248] main private debug: pre buffering
[00000248] main private debug: received first data for our buffer
[00000248] main private debug: prebuffering done 1408981 bytes in 0s - 96133 kbytes/s
[00000237] main input debug: demux2_New: access='' demux='' path='/opt/lampp/htdocs/vid/lynx.mpeg'
[00000249] main demuxer debug: looking for demux2 module
[00000249] main demuxer debug: probing 31 candidates
[00000249] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000249] avi demuxer warning: avi module discarded (invalid header)
[00000249] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000249] flac demuxer warning: flac module discarded (no startcode)
[00000249] mpgv demuxer warning: ES module discarded (system startcode)
[00000249] aac demuxer warning: AAC module discarded
[00000249] main demuxer debug: looking for id3 module
[00000249] main demuxer debug: probing 2 candidates
[00000249] id3tag demuxer debug: checking for ID3 tag
[00000151] main module debug: using id3 module "id3tag"
[00000151] main module debug: unlocking module "id3tag"
[00000249] sap demuxer warning: SDP (UDP) module discarded
[00000249] mkv demuxer warning: matroska module discarded (invalid header 0x000001ba)
[00000249] ogg demuxer warning: ogg module discarded (invalid header)
[00000249] real demuxer warning: Real module discarded
[00000249] aiff demuxer warning: AIFF module discarded
[00000249] nsv demuxer warning: NSV module discarded
[00000249] playlist demuxer warning: old import module discarded: invalid file
[00000249] playlist demuxer warning: pls import module discarded
[00000249] au demuxer warning: AU module discarded
[00000249] pva demuxer warning: PVA module discarded
[00000249] ts demuxer warning: TS module discarded
[00000174] main module debug: using demux2 module "ps"
[00000237] main input debug: looking for a subtitle file in /opt/lampp/htdocs/vid/
[00000237] main input debug: starting in asynch mode
[00000237] main input debug: `/opt/lampp/htdocs/vid/lynx.mpeg' sucessfully opened
[00000237] main input debug: Selecting program id=0
[00000278] main packetizer debug: looking for packetizer module
[00000278] main packetizer debug: probing 16 candidates
[00000100] main module debug: using packetizer module "mpeg_audio"
[00000237] main input debug: stream out mode -> no decoder thread
[00000305] main packetizer debug: looking for packetizer module
[00000305] main packetizer debug: probing 16 candidates
[00000219] main module debug: using packetizer module "packetizer_mpegvideo"
[00000237] main input debug: stream out mode -> no decoder thread
[00000305] packetizer_mpegvideo packetizer debug: Size 320x240 fps=25.000
[00000238] main stream output debug: adding a new input
[00000278] mpeg_audio packetizer: MPGA channels:2 samplerate:32000 bitrate:96
[00000238] main stream output debug: adding a new input
[00000278] mpeg_audio packetizer debug: emulated startcode (no startcode on following frame)
[00000278] mpeg_audio packetizer debug: emulated startcode (no startcode on following frame)
[00000237] main input debug: EOF reached
[00000237] main input debug: closing input
[00000100] main module debug: unlocking module "mpeg_audio"
[00000278] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO
[00000238] main stream output debug: removing an input
[00000219] main module debug: unlocking module "packetizer_mpegvideo"
[00000305] main packetizer debug: killing decoder fourcc `mpgv', 0 PES in FIFO
[00000238] main stream output debug: removing an input
[00000237] main input warning: Program doesn't contain anymore ES, TODO cleaning ?
[00000174] main module debug: unlocking module "ps"
[00000118] main module debug: unlocking module "access_file"
[00000237] main input warning: destroying sout
[00000239] main private debug: destroying chain... (name=description)
[00000190] main module debug: unlocking module "stream_out_description"
[00000239] main private debug: destroying chain done
[00000237] main input debug: thread 72678320 joined (src/input/input.c:290)
[00000233] vod_rtsp private debug: created rtsp url: /test
[00000233] vod_rtsp private debug: media has 2 declared ES
[00000233] vod_rtsp private debug: - ES mpgv (/test/trackid=0)
[00000233] vod_rtsp private debug: - ES mpga (/test/trackid=1)
[00000236] main private debug: new connection (192.168.0.103)
peek=OPTI
received new request=OPTIONS rtsp://192.168.0.106:5554 RTSP/1.0
CSeq: 1
User-Agent: RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)
ClientChallenge: f2f12250632f06e39129eccc3046aa22
ClientID: WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686
CompanyID: VjHmC2ecw6UD+SlSV0FQAA==
GUID: 00000000-0000-0000-0000-000000000000
PlayerStarttime: [27/11/2005:20:25:31 -06:00]
Pragma: initiate-session
RegionData: 0


received new request
- proto=RTSP
- version=0
- msg=6
- url=
- option name='CSeq' value='1'
- option name='User-Agent' value='RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)'
- option name='ClientChallenge' value='f2f12250632f06e39129eccc3046aa22'
- option name='ClientID' value='WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686'
- option name='CompanyID' value='VjHmC2ecw6UD+SlSV0FQAA=='
- option name='GUID' value='00000000-0000-0000-0000-000000000000'
- option name='PlayerStarttime' value='[27/11/2005:20:25:31 -06:00]'
- option name='Pragma' value='initiate-session'
- option name='RegionData' value='0'
sending answer
RTSP/1.0 200 Ok
Cseq: 1
Server: VLC Server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
Content-Length: 0

peek=DESC
received new request=DESCRIBE rtsp://192.168.0.106:5554/test RTSP/1.0
CSeq: 2
User-Agent: RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)
Accept: application/sdp
Bandwidth: 1544000
ClientID: WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686
GUID: 00000000-0000-0000-0000-000000000000
Language: en-US, en, *
RegionData: 0
Require: com.real.retain-entity-for-setup
SupportsMaximumASMBandwidth: 1


received new request
- proto=RTSP
- version=0
- msg=7
- url=/test
- option name='CSeq' value='2'
- option name='User-Agent' value='RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)'
- option name='Accept' value='application/sdp'
- option name='Bandwidth' value='1544000'
- option name='ClientID' value='WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686'
- option name='GUID' value='00000000-0000-0000-0000-000000000000'
- option name='Language' value='en-US, en, *'
- option name='RegionData' value='0'
- option name='Require' value='com.real.retain-entity-for-setup'
- option name='SupportsMaximumASMBandwidth' value='1'
RtspCallback query: type=7
v=0
o=- 1133125509819618 3 IN IP4 127.0.0.1
t=0 0
a=tool:vlc 0.8.1
c=IN IP4 0.0.0.0/0
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://192.168.0.106:5554/test/trackid=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://192.168.0.106:5554/test/trackid=1
sending answer
RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 285
Cseq: 2
Cache-Control: no-cache

peek=SETU
received new request=SETUP rtsp://192.168.0.106:5554/test/trackid=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=6970-6971;mode=play,RTP/AVP/TCP;unicast;mode=play
User-Agent: RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)


received new request
- proto=RTSP
- version=0
- msg=8
- url=/test/trackid=0
- option name='CSeq' value='3'
- option name='Transport' value='RTP/AVP;unicast;client_port=6970-6971;mode=play,RTP/AVP/TCP;unicast;mode=play'
- option name='User-Agent' value='RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)'
RtspCallback query: type=8
HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=6970-6971;mode=play,RTP/AVP/TCP;unicast;mode=play
HTTPD_MSG_SETUP: unicast ip=192.168.0.103 port=6970
[00000233] vod_rtsp private debug: new session: 1804289383
sending answer
RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;client_port=6970-6971
Server: VLC Server
Content-Length: 0
Cseq: 3
Cache-Control: no-cache
Session: 1804289383

peek=SETU
received new request=SETUP rtsp://192.168.0.106:5554/test/trackid=1 RTSP/1.0
CSeq: 4
Transport:
User-Agent: RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)
Session: 1804289383


received new request
- proto=RTSP
- version=0
- msg=8
- url=/test/trackid=1
- option name='CSeq' value='4'
- option name='Transport' value=''
- option name='User-Agent' value='RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)'
- option name='Session' value='1804289383'
RtspCallback query: type=8
HTTPD_MSG_SETUP: transport=
sending answer
RTSP/1.0 400 Bad Request
Server: VLC Server
Content-Length: 0
Cseq: 4
Cache-Control: no-cache

[00000236] main private debug: new connection (192.168.0.103)
peek=TEAR
received new request=TEARDOWN rtsp://192.168.0.106:5554/test RTSP/1.0
CSeq: 5
User-Agent: RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)
Session: 1804289383


received new request
- proto=RTSP
- version=0
- msg=11
- url=/test
- option name='CSeq' value='5'
- option name='User-Agent' value='RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)'
- option name='Session' value='1804289383'
peek=OPTI
RtspCallback query: type=11
[00000233] vod_rtsp private debug: HTTPD_MSG_TEARDOWN for session: 1804289383
[00000233] vod_rtsp private debug: closing session: 1804289383
sending answer
RTSP/1.0 200 OK
Server: VLC Server
Content-Length: 0
Cseq: 5
Cache-Control: no-cache
Session: 1804289383;timeout=5

received new request=OPTIONS rtsp://192.168.0.106:5554 RTSP/1.0
CSeq: 1
User-Agent: RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)
ClientChallenge: 186eebfbf817f2cec729e45e8bc15fd9
ClientID: WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686
CompanyID: XQV9jw56t0xYdnUGEfDG/w==
GUID: 00000000-0000-0000-0000-000000000000
PlayerStarttime: [27/11/2005:20:25:32 -06:00]
Pragma: initiate-session
RegionData: 0


received new request
- proto=RTSP
- version=0
- msg=6
- url=
- option name='CSeq' value='1'
- option name='User-Agent' value='RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)'
- option name='ClientChallenge' value='186eebfbf817f2cec729e45e8bc15fd9'
- option name='ClientID' value='WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686'
- option name='CompanyID' value='XQV9jw56t0xYdnUGEfDG/w=='
- option name='GUID' value='00000000-0000-0000-0000-000000000000'
- option name='PlayerStarttime' value='[27/11/2005:20:25:32 -06:00]'
- option name='Pragma' value='initiate-session'
- option name='RegionData' value='0'
sending answer
RTSP/1.0 200 Ok
Cseq: 1
Server: VLC Server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
Content-Length: 0

[00000236] main private debug: connection closed(192.168.0.103)
peek=DESC
received new request=DESCRIBE rtsp://192.168.0.106:5554/test RTSP/1.0
CSeq: 2
User-Agent: RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)
Accept: application/sdp
Bandwidth: 1544000
ClientID: WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686
GUID: 00000000-0000-0000-0000-000000000000
Language: en-US, en, *
RegionData: 0
Require: com.real.retain-entity-for-setup
SupportsMaximumASMBandwidth: 1


received new request
- proto=RTSP
- version=0
- msg=7
- url=/test
- option name='CSeq' value='2'
- option name='User-Agent' value='RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)'
- option name='Accept' value='application/sdp'
- option name='Bandwidth' value='1544000'
- option name='ClientID' value='WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686'
- option name='GUID' value='00000000-0000-0000-0000-000000000000'
- option name='Language' value='en-US, en, *'
- option name='RegionData' value='0'
- option name='Require' value='com.real.retain-entity-for-setup'
- option name='SupportsMaximumASMBandwidth' value='1'
RtspCallback query: type=7
v=0
o=- 1133125509819618 3 IN IP4 127.0.0.1
t=0 0
a=tool:vlc 0.8.1
c=IN IP4 0.0.0.0/0
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://192.168.0.106:5554/test/trackid=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://192.168.0.106:5554/test/trackid=1
sending answer
RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 285
Cseq: 2
Cache-Control: no-cache

peek=SETU
received new request=SETUP rtsp://192.168.0.106:5554/test/trackid=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;mode=play
User-Agent: RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)


received new request
- proto=RTSP
- version=0
- msg=8
- url=/test/trackid=0
- option name='CSeq' value='3'
- option name='Transport' value='RTP/AVP/TCP;unicast;mode=play'
- option name='User-Agent' value='RealMedia Player (HelixDNAClient)/10.0.0.0 (win32)'
RtspCallback query: type=8
HTTPD_MSG_SETUP: transport=RTP/AVP/TCP;unicast;mode=play
sending answer
RTSP/1.0 400 Bad Request
Server: VLC Server
Content-Length: 0
Cseq: 3
Cache-Control: no-cache

[00000236] main private debug: new connection (192.168.0.103)
[00000236] main private debug: new connection (192.168.0.103)
peek=POST
peek=GET
received new request=POST /SmpDsBhgRl HTTP/1.0
User-Agent: RealPlayer G2
Pragma: no-cache
Expires: Mon, 18 May 1974 00:00:00 GMT
Accept: application/x-rtsp-tunnelled, */*
Content-type: application/x-pncmd
Content-length: 32767


received new request=GET /SmpDsBhgRl650de274-ae83-4a4b-b0f8-a563c157e347 HTTP/1.0
User-Agent: RealPlayer G2
Expires: Mon, 18 May 1974 00:00:00 GMT
Pragma: no-cache
Accept: application/x-rtsp-tunnelled, */*
ClientID: WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686
X-Actual-URL: rtsp://192.168.0.106:5554/test


received new request
- proto=HTTP
- version=0
- msg=3
- url=/SmpDsBhgRl650de274-ae83-4a4b-b0f8-a563c157e347
- option name='User-Agent' value='RealPlayer G2'
- option name='Expires' value='Mon, 18 May 1974 00:00:00 GMT'
- option name='Pragma' value='no-cache'
- option name='Accept' value='application/x-rtsp-tunnelled, */*'
- option name='ClientID' value='WinNT_5.0_6.0.12.857_RealPlayer_RN30PD_en-US_686'
- option name='X-Actual-URL' value='rtsp://192.168.0.106:5554/test'
sending answer
HTTP/1.0 404 Not found
Content-Length: 223

[00000236] main private debug: connection closed(192.168.0.103)
[00000236] main private debug: connection closed(192.168.0.103)

WMP

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2005.11.27 20:45:01 =~=~=~=~=~=~=~=~=~=~=~=
vlc --ttl 12 -vvv --color -I telnet --rtsp-host 192.168.0.106:5554
VLC media player 0.8.1 Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 180 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version 0.8.1 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-libraries=/usr/X11R6/lib --program-prefix= --enable-release --enable-dvdread --enable-dvdplay --enable-dvbpsi --enable-v4l --enable-vcd --enable-mad --enable-ffmpeg --with-ffmpeg-tree=ffmpeg-20050209 --enable-faad --enable-xvid --enable-flac --enable-theora --enable-mkv --enable-x11 --enable-xvideo --disable-qte --disable-directx --enable-fb --enable-aa --without-wingdi --enable-oss --enable-esd --enable-arts --enable-alsa --disable-waveout --enable-gtk --disable-familiar --enable-gnome --enable-wxwindows --disable-opie --disable-macosx --disable-qnx --disable-intfwin --enable-xosd --enable-lirc --enable-pth --disable-st --disable-testsuite --enable-plugins
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 180 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 4 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000226] main playlist debug: creating group Normal with id 1 at position 0
[00000226] main playlist debug: waiting for thread completion
[00000226] main playlist debug: thread 25824176 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000227] main interface debug: looking for interface module
[00000227] main interface debug: probing 1 candidate
[00000143] main module debug: using interface module "hotkeys"
[00000227] main interface debug: interface initialized
[00000227] main interface debug: thread 161082288 (interface) created at priority 0 (src/interface/interface.c:209)
[00000229] main interface debug: looking for interface module
[00000229] main interface debug: probing 4 candidates
[00000229] main interface: creating vlm
[00000231] main vlm debug: thread 58944432 (vlm thread) created at priority 0 (src/misc/vlm.c:109)
[00000229] telnet interface: Using the VLM interface plugin...
[00000229] main interface debug: net: listening to ':4212'
[00000229] main interface debug: looking for network module
[00000229] main interface debug: probing 2 candidates
[00000141] main module debug: using network module "ipv4"
[00000141] main module debug: unlocking module "ipv4"
[00000229] telnet interface: Telnet interface started on port: 4212
[00000144] main module debug: using interface module "telnet"
[00000229] main interface debug: interface initialized
[00000229] main interface debug: thread 117689264 (manager) created at priority 0 (src/interface/interface.c:194)
[00000233] main private debug: looking for vod server module
[00000233] main private debug: probing 1 candidate
[00000233] main private: creating httpd
[00000236] main private debug: thread 36314032 (httpd host thread) created at priority 0 (src/misc/httpd.c:1170)
[00000132] main module debug: using vod server module "vod_rtsp"
[00000237] main input debug: set input option: sout to #description
[00000237] main input debug: waiting for thread completion
[00000238] main stream output debug: stream=`description'
[00000239] main private debug: looking for sout stream module
[00000239] main private debug: probing 1 candidate
[00000190] main module debug: using sout stream module "stream_out_description"
[00000237] main input debug: thread 46803888 (input) created at priority 0 (src/input/input.c:228)
[00000237] main input debug: `/opt/lampp/htdocs/vid/lynx.mpeg' gives access `' demux `' path `/opt/lampp/htdocs/vid/lynx.mpeg'
[00000237] main input debug: demux2_New: access='' demux='' path='/opt/lampp/htdocs/vid/lynx.mpeg'
[00000241] main demuxer debug: looking for access_demux module
[00000241] main demuxer debug: probing 1 candidate
[00000237] main input debug: access2_New: access='' path='/opt/lampp/htdocs/vid/lynx.mpeg'
[00000243] main access debug: looking for access2 module
[00000243] main access debug: probing 4 candidates
[00000243] vcd access debug: trying .cue file: /opt/lampp/htdocs/vid/lynx.cue
[00000243] vcd access warning: could not open /opt/lampp/htdocs/vid/lynx.mpeg
[00000243] access_file access debug: opening file `/opt/lampp/htdocs/vid/lynx.mpeg'
[00000118] main module debug: using access2 module "access_file"
[00000248] main private debug: pre buffering
[00000248] main private debug: received first data for our buffer
[00000248] main private debug: prebuffering done 1408981 bytes in 0s - 99902 kbytes/s
[00000237] main input debug: demux2_New: access='' demux='' path='/opt/lampp/htdocs/vid/lynx.mpeg'
[00000249] main demuxer debug: looking for demux2 module
[00000249] main demuxer debug: probing 31 candidates
[00000249] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000249] avi demuxer warning: avi module discarded (invalid header)
[00000249] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000249] flac demuxer warning: flac module discarded (no startcode)
[00000249] mpgv demuxer warning: ES module discarded (system startcode)
[00000249] aac demuxer warning: AAC module discarded
[00000249] main demuxer debug: looking for id3 module
[00000249] main demuxer debug: probing 2 candidates
[00000249] id3tag demuxer debug: checking for ID3 tag
[00000151] main module debug: using id3 module "id3tag"
[00000151] main module debug: unlocking module "id3tag"
[00000249] sap demuxer warning: SDP (UDP) module discarded
[00000249] mkv demuxer warning: matroska module discarded (invalid header 0x000001ba)
[00000249] ogg demuxer warning: ogg module discarded (invalid header)
[00000249] real demuxer warning: Real module discarded
[00000249] aiff demuxer warning: AIFF module discarded
[00000249] nsv demuxer warning: NSV module discarded
[00000249] playlist demuxer warning: old import module discarded: invalid file
[00000249] playlist demuxer warning: pls import module discarded
[00000249] au demuxer warning: AU module discarded
[00000249] pva demuxer warning: PVA module discarded
[00000249] ts demuxer warning: TS module discarded
[00000174] main module debug: using demux2 module "ps"
[00000237] main input debug: looking for a subtitle file in /opt/lampp/htdocs/vid/
[00000237] main input debug: starting in asynch mode
[00000237] main input debug: `/opt/lampp/htdocs/vid/lynx.mpeg' sucessfully opened
[00000237] main input debug: Selecting program id=0
[00000278] main packetizer debug: looking for packetizer module
[00000278] main packetizer debug: probing 16 candidates
[00000100] main module debug: using packetizer module "mpeg_audio"
[00000237] main input debug: stream out mode -> no decoder thread
[00000305] main packetizer debug: looking for packetizer module
[00000305] main packetizer debug: probing 16 candidates
[00000219] main module debug: using packetizer module "packetizer_mpegvideo"
[00000237] main input debug: stream out mode -> no decoder thread
[00000305] packetizer_mpegvideo packetizer debug: Size 320x240 fps=25.000
[00000238] main stream output debug: adding a new input
[00000278] mpeg_audio packetizer: MPGA channels:2 samplerate:32000 bitrate:96
[00000238] main stream output debug: adding a new input
[00000278] mpeg_audio packetizer debug: emulated startcode (no startcode on following frame)
[00000278] mpeg_audio packetizer debug: emulated startcode (no startcode on following frame)
[00000237] main input debug: EOF reached
[00000237] main input debug: closing input
[00000100] main module debug: unlocking module "mpeg_audio"
[00000278] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO
[00000238] main stream output debug: removing an input
[00000219] main module debug: unlocking module "packetizer_mpegvideo"
[00000305] main packetizer debug: killing decoder fourcc `mpgv', 0 PES in FIFO
[00000238] main stream output debug: removing an input
[00000237] main input warning: Program doesn't contain anymore ES, TODO cleaning ?
[00000174] main module debug: unlocking module "ps"
[00000118] main module debug: unlocking module "access_file"
[00000237] main input warning: destroying sout
[00000239] main private debug: destroying chain... (name=description)
[00000190] main module debug: unlocking module "stream_out_description"
[00000239] main private debug: destroying chain done
[00000237] main input debug: thread 46803888 joined (src/input/input.c:290)
[00000233] vod_rtsp private debug: created rtsp url: /test
[00000233] vod_rtsp private debug: media has 2 declared ES
[00000233] vod_rtsp private debug: - ES mpgv (/test/trackid=0)
[00000233] vod_rtsp private debug: - ES mpga (/test/trackid=1)
[00000236] main private debug: new connection (192.168.0.103)
peek=DESC
received new request=DESCRIBE rtsp://192.168.0.106:5554/test RTSP/1.0
User-Agent: WMPlayer/9.0.0.2980 guid/3300AD50-2C39-46C0-AE0A-219F413FDBF0
Accept: application/sdp
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
CSeq: 1
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.predstrm


received new request
- proto=RTSP
- version=0
- msg=7
- url=/test
- option name='User-Agent' value='WMPlayer/9.0.0.2980 guid/3300AD50-2C39-46C0-AE0A-219F413FDBF0'
- option name='Accept' value='application/sdp'
- option name='Accept-Charset' value='UTF-8, *;q=0.1'
- option name='X-Accept-Authentication' value='NTLM, Digest, Basic'
- option name='Accept-Language' value='en-US, *;q=0.1'
- option name='CSeq' value='1'
- option name='Supported' value='com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.predstrm'
RtspCallback query: type=7
v=0
o=- 1133126842515025 3 IN IP4 127.0.0.1
t=0 0
a=tool:vlc 0.8.1
c=IN IP4 0.0.0.0/0
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://192.168.0.106:5554/test/trackid=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://192.168.0.106:5554/test/trackid=1
sending answer
RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 285
Cseq: 1
Cache-Control: no-cache

[00000236] main private debug: connection closed(192.168.0.103)
[00000236] main private debug: new connection (192.168.0.103)
peek=DESC
received new request=DESCRIBE rtsp://192.168.0.106:5554/test RTSP/1.0
User-Agent: WMPlayer/9.0.0.2980 guid/3300AD50-2C39-46C0-AE0A-219F413FDBF0
Accept: application/sdp
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
CSeq: 1
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.predstrm


received new request
- proto=RTSP
- version=0
- msg=7
- url=/test
- option name='User-Agent' value='WMPlayer/9.0.0.2980 guid/3300AD50-2C39-46C0-AE0A-219F413FDBF0'
- option name='Accept' value='application/sdp'
- option name='Accept-Charset' value='UTF-8, *;q=0.1'
- option name='X-Accept-Authentication' value='NTLM, Digest, Basic'
- option name='Accept-Language' value='en-US, *;q=0.1'
- option name='CSeq' value='1'
- option name='Supported' value='com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.predstrm'
RtspCallback query: type=7
v=0
o=- 1133126842515025 3 IN IP4 127.0.0.1
t=0 0
a=tool:vlc 0.8.1
c=IN IP4 0.0.0.0/0
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://192.168.0.106:5554/test/trackid=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://192.168.0.106:5554/test/trackid=1
sending answer
RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 285
Cseq: 1
Cache-Control: no-cache

[00000236] main private debug: connection closed(192.168.0.103)
[00000236] main private debug: new connection (192.168.0.103)
peek=
[00000236] main private debug: connection closed(192.168.0.103)
[00000236] main private debug: new connection (192.168.0.103)
peek=GET
received new request=GET /test HTTP/1.1
Accept: */*
User-Agent: NSPlayer/9.0.0.2980
Host: 192.168.0.106
X-Accept-Authentication: NTLM, Digest, Basic
Pragma: version11-enabled=1
Pragma: no-cache,rate=1.000,stream-time=0,stream-offset=0:0,packet-num=4294967295,max-duration=0
Pragma: pipeline-experiment=1
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm
Pragma: xClientGUID={3300AD50-2C39-46c0-AE0A-219F413FDBF0}
Accept-Language: en-US, *;q=0.1


received new request
- proto=HTTP
- version=1
- msg=3
- url=/test
- option name='Accept' value='*/*'
- option name='User-Agent' value='NSPlayer/9.0.0.2980'
- option name='Host' value='192.168.0.106'
- option name='X-Accept-Authentication' value='NTLM, Digest, Basic'
- option name='Pragma' value='version11-enabled=1'
- option name='Pragma' value='no-cache,rate=1.000,stream-time=0,stream-offset=0:0,packet-num=4294967295,max-duration=0'
- option name='Pragma' value='pipeline-experiment=1'
- option name='Supported' value='com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm'
- option name='Pragma' value='xClientGUID={3300AD50-2C39-46c0-AE0A-219F413FDBF0}'
- option name='Accept-Language' value='en-US, *;q=0.1'
sending answer
HTTP/1.0 404 Not found
Content-Length: 181

[00000236] main private debug: connection closed(192.168.0.103)

ggunners
Blank Cone
Blank Cone
Posts: 23
Joined: 29 Nov 2005 18:40
Location: Northern Virginia
Contact:

Postby ggunners » 02 Dec 2005 17:13

One thing I note is that you have the video and audio on the same IP/port number. I think they need their own even port number for each.

Also, WMP needs to see an RTSP server response. Chapter 5 in the VideoLAN Streaming howto describes how VLM can respond to RTSP requests and serve up VoD or broadcast streams.

I've not been able to get it to work, but WMP at least doesn't error out for with an "unsupported protocol" error.

-- ggunners

alk

Postby alk » 20 Dec 2005 16:43

I tried to enable vod streaming over vlc to wmp9.
I used vlm as it is described in doc - preparing vod task with mpg input file in telnet interface.
The stream could be opened by vlc itself without troubles but WMP9 failed to open it. Mplayer (http://www.mplayerhq.hu/) manages to open the file (rtsp://localhost/test) but without video.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 23 guests