How to dump a stream faster than real time...

Stefan Kost ensonic at hora-obscura.de
Mon Mar 14 07:26:40 PDT 2011


On 12.03.2011 17:59, andrea wrote:
> Hi,
>
> I try again since my previous message was ignored. If I'm asking the
> wrong mailing list just let me know.
Nobody is ignoring your message. It could just mean that no one has an
answer.
> I'm using a command line like the following to download old episodes of
> some audio programmes of italian broadcasting company (Rai).
>
> gst-launch-0.10 gstrtpsession bandwidth=40000000 rtspsrc
> location=rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra connection-speed=2100000 ! decodebin2 ! wavenc !filesink location=prova.wav
Why do you create an extra rtspsession? It won't be used. Both plugins
have several examples in the manual.

Stefan
> Actually, the episodes are not real streams, but just RealAudio files
> that you can only access via RTSP.
>
> The above command line works perfectly but, despite the "bandwidth" and
> "connection-speed" options, to download the file it simply takes exactly
> the duration of the episode (they usually last 45 minutes each).
> I've using mplayer too, to do the same, and it has a wonderful option
> "-bandwidth" which, with a value, say, of 4000000, just lets you
> download the same file above in less than one minute!
>
> I'm wondering if there is some way to do the same with some gstreamer
> pipeline. I mean, some way to accelerate the download just as mplayer
> does. It would be very very nice because mplayer has problems with some
> ADSL router and some networks here in Italy, while gstreamer does not.
> Best regards.
>



More information about the gstreamer-devel mailing list