[FFmpeg-devel] how do I fix streaming media pausing while waiting for input?

Ronald S. Bultje rsbultje
Fri Dec 28 20:33:03 CET 2007


Hi Michael,

On Dec 28, 2007 1:36 PM, Michael Niedermayer <michaelni at gmx.at> wrote:

> On Fri, Dec 28, 2007 at 01:07:11PM -0500, Ronald S. Bultje wrote:
> > $attached does something required for RDT. The default mode for ffplay
> is to
> > pause while calling av_find_streaminfo(), and starting media playback
> after
> > that. The problem is that this sets data transfer in RTSP to paused (i.e.
> we
> > send a "pause" to the server), meaning that we don't actually grab any
> data
> > in av_find_streaminfo(), i.e. it loops endlessly and fails. The quick
> > solution is to not pause (see patch), but that's obviously not right.
> What's
> > the right solution?
>
> It is invalid to send a pause to the server and then call
> av_find_streaminfo(),there at least has to be a play between them.


Oh wait, this code is like a year old, I just see that the initial_pause in
ffplay was removed in 10202, just ignore this.

Ronald




More information about the ffmpeg-devel mailing list