Problem to connect to my vod server on rtsp

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
tof
New Cone
New Cone
Posts: 5
Joined: 04 Aug 2006 11:46

Problem to connect to my vod server on rtsp

Postby tof » 04 Aug 2006 11:51

Welcome,
I try to do a vod server on rtsp with vlc. But it works on a LAN but if i try to access to it behind router it

doesn't work.

Server :
vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host

IP_du_serveur_sur_lequel_je_travaille:8000
Telnet:
new film vod enabled
setup film input emplacement_sur_le_serveur_du_fichier_que_je_veux_lire
client:
vlc rtsp://IP_du_serveur_sur_lequel_je_travaille:8000/film
on server:
peek=SETU
received new request=SETUP rtsp://IP_du_serveur_sur_lequel_je_travaille:8000/film/trackid=1 RTSP/1.0
CSeq: 10
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2005.03.31)


received new request
- proto=RTSP
- version=0
- msg=8
- url=/film/trackid=1
- option name='CSeq' value='10'
- option name='Transport' value='RTP/AVP/TCP;unicast;interleaved=2-3'
- option name='User-Agent' value='VLC Media Player (LIVE.COM Streaming Media v2005.03.31)'
RtspCallback query: type=8
HTTPD_MSG_SETUP: transport=RTP/AVP/TCP;unicast;interleaved=2-3
sending answer
RTSP/1.0 400 Bad Request
Server: VLC Server
Content-Length: 0
Cseq: 10
Cache-Control: no-cache

[00000257] main private debug: connection closed(MonIP)
on client:
Sending request: SETUP rtsp://IP_du_serveur_sur_lequel_je_travaille:8000/film/trackid=1 RTSP/1.0
CSeq: 10
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2005.03.31)


Received SETUP response: RTSP/1.0 400 Bad Request
Server: VLC Server
Content-Length: 0
Cseq: 10
Cache-Control: no-cache


[00000254] livedotcom demuxer error: PLAY failed No RTSP session is currently in progress

[00000254] livedotcom demuxer error: TCP rollover failed, aborting
[00000246] main playlist: nothing to play
Someone can help me?

Thanks

tof
New Cone
New Cone
Posts: 5
Joined: 04 Aug 2006 11:46

Postby tof » 05 Aug 2006 11:46

help me please

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 06 Aug 2006 23:00

Many possible things .......

try to use a mux that is more compatible with internet :
new film vod mux mp2t enabled
try also to run vlc with this option --network-synchronisation

if not :

1 - Is your file is really accepted ? To be sure try to look what happen when you enter "setup film input emplacement_sur_le_serveur_du_fichier_que_je_veux_lire"

2 - Your video may have a too high bandwith/bitrate for your internet line .... if it's the case think about the transcoding method

tof
New Cone
New Cone
Posts: 5
Joined: 04 Aug 2006 11:46

Postby tof » 07 Aug 2006 15:36

thx for your answer.

Nothing doesn't work.

mux mp2t is accepted but I can't access to my stream.

--network-synchronisation is not accepted.

setup film input emplacement_sur_le_serveur_du_fichier_que_je_veux_lire ==> [00000339] vod_rtsp private debug: deleting media: /film
[00000339] vod_rtsp private debug: - Removing ES mp4v
[00000339] vod_rtsp private debug: - Removing ES mp4a
[00000341] main private debug: httpd_HostDelete
[00000341] main private debug: httpd_HostDelete: host removed from http
[00000341] main private debug: thread 163847 joined (src/misc/httpd.c:1228)
[00000341] main private debug: httpd_HostDelete: host thread joined
[00000340] main http daemon: httpd doesn't reference any host, deleting
[00000193] main module debug: unlocking module "vod_rtsp"
[00000351] main private debug: looking for vod server module: 1 candidate
[00000351] main private: creating httpd
[00000353] main private debug: thread 196615 (httpd host thread) created at priority 0 (src/misc/httpd.c:1172)
[00000193] main module debug: using vod server module "vod_rtsp"
[00000354] main input debug: set input option: sout to #description
[00000354] main input debug: waiting for thread completion
[00000354] main input debug: thread 213000 (input) created at priority 0 (src/input/input.c:227)
[00000355] main stream output debug: stream=`description'
[00000356] main private debug: looking for sout stream module: 1 candidate
[00000238] main module debug: using sout stream module "stream_out_description"
[00000354] main input debug: `emplacement_sur_le_serveur_du_fichier_que_je_veux_lire ' gives access `' demux `' path 'emplacement_sur_le_serveur_du_fichier_que_je_veux_lire '
[00000354] main input debug: creating demux: access='' demux='' path='emplacement_sur_le_serveur_du_fichier_que_je_veux_lire '
[00000357] main demuxer debug: looking for access_demux module: 2 candidates
[00000354] main input debug: creating access '' path='emplacement_sur_le_serveur_du_fichier_que_je_veux_lire '
[00000358] main access debug: looking for access2 module: 4 candidates
[00000358] vcd access debug: trying .cue file: emplacement_sur_le_serveur_du_fichier_que_je_veux_lire .cue
[00000358] access_file access debug: opening file `emplacement_sur_le_serveur_du_fichier_que_je_veux_lire '
[00000020] main module debug: using access2 module "access_file"
[00000359] main private debug: pre buffering
[00000359] main private debug: received first data for our buffer
[00000359] main private debug: prebuffering done 1408981 bytes in 0s - 354902 kbytes/s
[00000354] main input debug: creating demux: access='' demux='' path='emplacement_sur_le_serveur_du_fichier_que_je_veux_lire '
[00000360] main demuxer debug: looking for demux2 module: 37 candidates
[00000360] main demuxer debug: looking for id3 module: 2 candidates
[00000360] id3tag demuxer debug: checking for ID3 tag
[00000176] main module debug: using id3 module "id3tag"
[00000176] main module debug: unlocking module "id3tag"
[00000173] main module debug: using demux2 module "ts"
[00000360] ts demuxer debug: DEMUX_SET_GROUP 0 (nil)
[00000354] main input debug: starting in asynch mode
[00000354] main input debug: `emplacement_sur_le_serveur_du_fichier_que_je_veux_lire ' sucessfully opened
[00000360] ts demuxer debug: PATCallBack called
[00000360] ts demuxer debug: new PAT ts_id=15728 version=26 current_next=1
[00000360] ts demuxer debug: * number=1 pid=66
[00000360] ts demuxer debug: PMTCallBack called
[00000360] ts demuxer debug: new PMT program number=1 version=21 pid_pcr=68
[00000360] ts demuxer debug: * es pid=68 type=2 fcc=mpgv
[00000354] main input debug: selecting program id=1
[00000361] main packetizer debug: looking for packetizer module: 16 candidates
[00000041] main module debug: using packetizer module "packetizer_mpegvideo"
[00000354] main input debug: stream out mode -> no decoder thread
[00000360] ts demuxer debug: * es pid=69 type=3 fcc=mpga
[00000362] main packetizer debug: looking for packetizer module: 16 candidates
[00000097] main module debug: using packetizer module "mpeg_audio"
[00000354] main input debug: stream out mode -> no decoder thread
[00000362] mpeg_audio packetizer debug: MPGA channels:1 samplerate:32000 bitrate:64
[00000355] main stream output debug: adding a new input
[00000361] packetizer_mpegvideo packetizer debug: Size 320x240 fps=25.000
[00000355] main stream output debug: adding a new input
[00000360] ts demuxer debug: eof ?
[00000354] main input debug: EOF reached
[00000354] main input debug: closing input
[00000360] ts demuxer debug: pid list:
[00000360] ts demuxer debug: - pid[0] seen
[00000360] ts demuxer debug: - pid[66] seen
[00000041] main module debug: unlocking module "packetizer_mpegvideo"
[00000361] main packetizer debug: killing decoder fourcc `mpgv', 0 PES in FIFO
[00000355] main stream output debug: removing an input
[00000360] ts demuxer debug: - pid[68] seen
[00000097] main module debug: unlocking module "mpeg_audio"
[00000362] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO
[00000355] main stream output debug: removing an input
[00000354] main input warning: Program doesn't contain anymore ES, TODO cleaning?
[00000360] ts demuxer debug: - pid[69] seen
[00000173] main module debug: unlocking module "ts"
[00000020] main module debug: unlocking module "access_file"
[00000354] main input warning: destroying sout
[00000356] main private debug: destroying chain... (name=description)
[00000238] main module debug: unlocking module "stream_out_description"
[00000356] main private debug: destroying chain done
[00000354] main input debug: thread 213000 joined (src/input/input.c:383)
[00000351] vod_rtsp private debug: created rtsp url: /film
[00000351] vod_rtsp private debug: media has 1 declared ES
[00000351] vod_rtsp private debug: - ES mp2t (/film/trackid=0)

my connection is in 2mbps symetric. The video needs 700mbps.So I think that the problem doesn't come from here.

Another idea?

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 08 Aug 2006 17:17

700Kbps I hope ....... ;)

sorry can't help you more ................

try another port .... like the 5554 one

tof
New Cone
New Cone
Posts: 5
Joined: 04 Aug 2006 11:46

Postby tof » 08 Aug 2006 17:47

lol yes kbps

Question : Is VLC able to be a real VOD server ?

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 08 Aug 2006 20:46

well yes ..... I made it work with exactly your type of settings ;)


Oh, something came to me : are you in a routed network ?

if yes double check if the port is opened and if it's routed to your server and if there isn't any firewall that is blocking the comunication

tof
New Cone
New Cone
Posts: 5
Joined: 04 Aug 2006 11:46

Postby tof » 08 Aug 2006 21:52

The server is a OVH dedicated server. SO There is no firewall. But if try to read my vod server in another server it works. But when I try behind my Freebox in routed mode without redirection or blocking of port it doesn't work. My problem is that I would like to find a soluce to success to access to my vod server without modify router parameters. I know to modify these parameters but it's the case of all vod users on my future site.

This is my problem.


PS : I'm sorry for my english I'm French.

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 09 Aug 2006 15:58

RTSP needs routing

Even if with your freebox it seems to work transparently there is routing settings.


I you don't want to change those kind of settings use HTTP instead of rtsp ....


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 25 guests