[Ffmpeg-devel] ffmpeg http still broke

C.Ren Boca crboca32
Wed Jan 17 21:40:28 CET 2007


ffmpeg, Rev. 7567 still will not get stream parameters from ffserver.
here is the error:

Could not read stream parameters from 'http://localhost:8090/feed1.ffm'

I do not think it has to do with HTTP/1.0 vs. HTTP/1.1

When I telnetted to port 8090 on local host I was able to get a response with
GET when I specified HTTP/1.0 or HTTP/1.1

likewise when I use wget http://localhost:8090/feed1.ffm I get a file back. I will try Firefox as well, (just to be sure).

ffserver is ok. It is ffmpeg that is failing.

The last working revision I have is 7481. The latest revision I have is
7567.

I am pretty sure the problem is libavformat/http.c. I compiled 7567 with http.c
from 7481 and it worked fine. No other changes.

As far as I can tell from the Makefile, both ffserver and ffmpeg get linked with
libavformat.a, via $(EXTRALIBS). But, ffmpeg from 7481 works with both
ffserver from 7481 and 7567. ffmpeg from 7567 does not work with either
of those revs of ffserver.

here are the diffs:

Files ./ffmpeg-7481/libavutil/aes.c and ./ffmpeg-7567/libavutil/aes.c differ
Files ./ffmpeg-7481/libavcodec/dv.c and ./ffmpeg-7567/libavcodec/dv.c differ
Files ./ffmpeg-7481/libavcodec/mpeg12.c and ./ffmpeg-7567/libavcodec/mpeg12.c differ
Files ./ffmpeg-7481/libavcodec/eval.c and ./ffmpeg-7567/libavcodec/eval.c differ
Files ./ffmpeg-7481/libavcodec/utils.c and ./ffmpeg-7567/libavcodec/utils.c differ
Files ./ffmpeg-7481/libavcodec/imgresample.c and ./ffmpeg-7567/libavcodec/imgresample.c differ
Files ./ffmpeg-7481/libavcodec/h264.c and ./ffmpeg-7567/libavcodec/h264.c differ
Files ./ffmpeg-7481/libavcodec/imgconvert.c and ./ffmpeg-7567/libavcodec/imgconvert.c differ
Files ./ffmpeg-7481/libavcodec/a52dec.c and ./ffmpeg-7567/libavcodec/a52dec.c differ
Files ./ffmpeg-7481/libavcodec/flac.c and ./ffmpeg-7567/libavcodec/flac.c differ
Files ./ffmpeg-7481/libavcodec/vp6.c and ./ffmpeg-7567/libavcodec/vp6.c differ
Files ./ffmpeg-7481/libavcodec/pcm.c and ./ffmpeg-7567/libavcodec/pcm.c differ
Files ./ffmpeg-7481/libavformat/mov.c and ./ffmpeg-7567/libavformat/mov.c differ
Files ./ffmpeg-7481/libavformat/http.c and ./ffmpeg-7567/libavformat/http.c differ
Files ./ffmpeg-7481/libavformat/mxf.c and ./ffmpeg-7567/libavformat/mxf.c differ
Files ./ffmpeg-7481/libavformat/dvenc.c and ./ffmpeg-7567/libavformat/dvenc.c differ
Files ./ffmpeg-7481/libavformat/asf.c and ./ffmpeg-7567/libavformat/asf.c differ
Files ./ffmpeg-7481/libavformat/mpeg.c and ./ffmpeg-7567/libavformat/mpeg.c differ
Files ./ffmpeg-7481/libavformat/ogg2.c and ./ffmpeg-7567/libavformat/ogg2.c differ
Files ./ffmpeg-7481/libavformat/avio.c and ./ffmpeg-7567/libavformat/avio.c differ


Files ./ffmpeg-7481/libavcodec/avcodec.h and ./ffmpeg-7567/libavcodec/avcodec.h differ
Files ./ffmpeg-7481/libavcodec/vp56.h and ./ffmpeg-7567/libavcodec/vp56.h differ
Files ./ffmpeg-7481/libavformat/avformat.h and ./ffmpeg-7567/libavformat/avformat.h differ
Files ./ffmpeg-7481/libavformat/ogg2.h and ./ffmpeg-7567/libavformat/ogg2.h differ
Files ./ffmpeg-7481/libavformat/avio.h and ./ffmpeg-7567/libavformat/avio.h differ
Files ./ffmpeg-7481/version.h and ./ffmpeg-7567/version.h differ

Mr. Bultje has informed me that he knows which revision broke it, but I do not know which one at this point.

I ran strace on the processes and I will try and decipher something from that.

Of course I will also look at the code. I am pretty sure it is http.c, I just haven't
tried to figure out what, just yet.

Can we please fix this? Code shouldn't get worse as it develops Right?

P.






 	
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.



More information about the ffmpeg-devel mailing list