[streaming] Re: audio on demand streaming (ogg)

Sigmund Augdal Helberg dnumgis at videolan.org
Mon Jun 19 01:50:59 CEST 2006


On Sun, 2006-06-18 at 14:34 +0000, Georg Holzmann wrote:
> Hallo list!
> 
> Just tried to use on demand streaming of audio, but didn't manage it:
> 
> I started vlc with:
> vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan 
> --rtsp-host 0.0.0.0:5554
> 
> Then used the telnet interface and added an ogg file:
>  > new Test vod enabled
>  > setup Test output #std{access=http,mux=ogg}
vlc's vod system only supports rtsp at the moment. One should normally
not need to set output with vod, and even if one does, vlc will
automatically append :rtp{...}, so the output line should only consist
of stream_out filters, like transcode or transrate (both of which is a
generally bad idea to use in VOD as it will transcode once for each
client wasting loads of cpu, so you should _really_ not give a output
line with vlc VOD)
>  > setup Test input /home/holzi/test.ogg
> 
> This takes now really long (5-10 minutes for one audiofile) - I think it 
> reencodes the ogg file ?
It does not reencode the file, it just parses it to figure out the
needed streaming params. If it takes 5-10 minutes this can't be working
well for ogg files.
> 
> But then I can't play the file, I tried:
> vlc http://0.0.0.0:5554/Test and also
> vlc rtsp://0.0.0.0:5554/Test
you can't connect to 0.0.0.0 . giving --rtsp-host 0.0.0.0 just means vlc
will listen for connections on all ips the server hold. The client must
give a real ip that the server can be reached at.
Furthermore http does not work here for above-mentioned reasons. Rtsp
doesn't work because you can't transfer ogg in rtp/rtsp (at least not
with vlc).
> but with no success ...
> 
> So my question:
> 1) How can I properly setup VLM to stream ogg files ?
Put the files in a folder, and share with apache (or similar).
> 2) Is it possible, that adding the input file doesn't take that much 
> time ? (e.g. if I add some 100 files I can maybe wait some days ...)
This is possibly a bug. To be examined.

Sigmund
> 
> Many thanks,
> LG
> Georg
> 

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list