Page 1 of 1

Streaming RTSP over the web

Posted: 11 Aug 2008 23:32
by Lord
Hello
I receive a RTSP stream from my ISP that I would like to stream to another pc over the web.
I transcode it to h264 @ 512 kbps with a half scale down resize and mp3 @ 128 kbps
I stream it to my IP using RTP.
It's very good but after 30 seconds the server stop streaming. It looks like streaming but nothing is received. I've tested on an other pc to see if the problem come from the client but I had the same problem.
I've tested some combo of codec but it's always the same problem. Even a streaming with http stop after 30 seconds.
The server doesn't have any suspicious messages.
Please could you help me :-)
------
Bonjour
Je reçois un flux RTSP de la part de mon FAI (free) et j'aimerais le rebalancer vers un autre pc sur le web.
Je le transcode en h264 @ 512 kbps avec un redimenssionnement à la moitié et l'audio en mp3 @ 128 kbps
Je stream le tout vers l' IP:port de mon choix en RTP.
Ca marche parfaitement la qualité est vraiment bonne c'est très agréable mais au delà de trente seconde plus rien. Le stream se coupe sans message sur le client ni même sur le server. J'ai testé en streamant vers un autre pc mais rien à faire donc je pense que le problème proviens bien du server.
J'ai expérimenté plusieurs combo de codec mais toujours avec le même soucis.
Voilà je pense vous avoir tout dit, si quelqu'un à une solution ...


What's the best between UDP and RTP ? RTP seems smoother but is that real ?
------
Quel est le mieu entre UDP et RTP ? Le RTP semble plus fluide mais n'est-ce pas qu'une impression ?


edit:

If I stream a file the stream is good ...
I know that the RTSP stream received by the server have a dynamic resolution and when it changes vlc crash.
-----
Si je stream un fichier tout se passe bien ...
Je sais que le flux RTSP que le server reçois a une résolution qui varie de temps à autres ce qui provoquent le crash de vlc.

Re: Streaming RTSP over the web

Posted: 19 Aug 2008 07:31
by tenaro
Hi there,

can you post exact command? I'll try to simulate this in my lab and will let you know about results.

Regards,
Tenaro

Re: Streaming RTSP over the web

Posted: 20 Aug 2008 12:29
by revolunet
Lord,

You should try to increase the buffer size, both server side AND client side

--realrtsp-caching, --rtsp-caching, --rtp-caching see http://wiki.videolan.org/VLC_command-line_help

and use the message window to see whats going on