[FFmpeg-user] How to speed up RTSP...

andrea sarkiaponius at alice.it
Mon Apr 11 20:37:49 CEST 2011


On Sun, 2011-04-10 at 17:56 -0400, sean darcy wrote:
> On 04/10/2011 05:36 PM, andrea wrote:
> > On Sun, 2011-04-10 at 12:50 -0400, sean darcy wrote:
> >> On 04/10/2011 07:34 AM, andrea wrote:
> >>> ffmpeg -i
> >>> rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra  test.ra
> >>>
> >> I'm amazed you got rtsp to work at all. Here's what I get from ffmpeg
> >> -protocols:
> >
> > I swear it works, tried right now. I got --enable-librtmp, too. I cannot
> > figure out why it works, but it does. The problem is that it seems there
> > is no option to accelerate the stream someway. With mplayer, as I think
> > I said, the -bandwidth option does the trick, if you set it to a quite
> > high value (say 4000000 or such). But I caould not find something like
> > that for ffmpeg.
> >
> > Best regards.
> >>
> >> ......
> >> IO.   rtmp
> >> IO.   rtmpt
> >> IO.   rtmpe
> >> IO.   rtmpte
> >> IO.   rtmps
> >> IO.   rtp
> >> IO.   tcp
> >> IO.   udp
> >>
> >> And that's by building with --enable-librtmp.
> >>
> >> sean
> >>
> 
> Well glad it works for you. In addition to accelerating the stream, I 
> wish ffmpeg (and mplayer) buffered it. That way you could pause, let the 
> buffer fill, then play without interruptions or stuttering.

Well, actually my goal is not to watch/listen to a stream, but just
download it. With mplayer I was able to download a 45 minutes long
stream in less than one minute. I think it's strange that such a feature
is missing in ffmpeg.

Best regards.
> 
> sean
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list