[Ffmpeg-devel] HTTP probing issue...

Ronald S. Bultje rbultje
Wed Feb 21 01:09:00 CET 2007


Hi Ryan,

On Feb 20, 2007, Ryan Martell wrote:
> The problem now is that when probing, it needs to open the file and
> read data.  The probesize is 2048, which is fine.  It downloads the
> entire asx file, which is only 218 bytes.  It then hangs, waiting for
> more data.  I narrowed it down to tcp_read, in libavformat/tcp.c.

I recently noticed something similar with local files (but didn't  
look into it...), does that cause issues for you as well (i.e. just  
playing a mp3 or ogg, or reading your asx)?
If not, and you suspect it's related to my changes, do you still see  
the issue when you remove the Range: %lld-\\r\n line from the http  
request header in http.c (this effectively remove all effects that my  
code may have)? If that fixes it, does it help if you modify the line  
to read %lld-* or %lld-%lld (where the second is the file length)?

Cheers,
Ronald





More information about the ffmpeg-devel mailing list