Streaming RTSP over the web

About encoding, codec settings, muxers and filter usage
Lord
Blank Cone
Blank Cone
Posts: 10
Joined: 16 Jul 2005 00:00

Streaming RTSP over the web

Postby Lord » 11 Aug 2008 23:32

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.

tenaro
New Cone
New Cone
Posts: 8
Joined: 14 Aug 2008 16:34

Re: Streaming RTSP over the web

Postby tenaro » 19 Aug 2008 07:31

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

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Streaming RTSP over the web

Postby revolunet » 20 Aug 2008 12:29

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
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 19 guests