ffserver/ffmpeg trouble?
Hi, I'm trying to use ffmpeg with ffserver and the 'latest' CSV (24.6.05 was the date I built and tested it) doesn't seem to work. There are (or seem to be) no problems grabbing the video using just ffmpeg and saving it into a file - using the same options (codecs, bitrates, ...) as I used in 'ffserver.conf'. That's the command line (I limited the time to 30s): ffmpeg -vd /dev/video0 -t 30s -f asf -vcodec msmpeg4v2 -b 768 -s 4cif -r 15 -acodec mp3 -ab 128 -ac 1 out.asf If I transfer the file to a Windows machine, the WMP and BSPLAYER have no problem playing it. But if I try to serve this file via 'ffserver' or 'ffmpeg' to feed a live stream, I get a lot of errors or warnings:
From ffmpeg (when it starts):
[msmpeg4v2 @ 0x404036f0]removing common factors from framerate [msmpeg4v2 @ 0x404036f0]rc buffer underflow [msmpeg4v2 @ 0x404036f0]rc buffer underflow [msmpeg4v2 @ 0x404036f0]rc buffer underflow And from ffserver (when the client connects): error, non monotone timestamps 1119949284664561 >= 1119949284612317 error, non monotone timestamps 1119949284925767 >= 1119949284873523 error, non monotone timestamps 1119949286571453 >= 1119949286545331 WMP connects and starts buffering. But right as it should start playing, it stops and goes into 'waiting' state (that's what it says on the status bar). Ffserver uses the same options for format, codecs and bitrates as were used in 'ffmpeg' example. If I try to play a stream from the file (created by previos ffmpeg example), it starts playing but it re-buffers every couple of seconds - even though the network should be fast enough (tested on LAN) and the encoding machine is not too busy (about 40% CPU usage). Did any of you have better luck using the ffserver with ffmpeg (with recent versions, that is)? Thanks, D. PS: Right now I'm using an earlier version which kind of works - the WMP plays (both the file and live) but it re-bufferes every couple of seconds...
I am having exactly the same issue and was wondering if you had come up with a solution. If not, what older version of ffmpeg and ffserver were you using that kind of worked. I am grasping at straws, and I figure I can at least find the difference if I find a version that will not give me the Waiting status in WMP. Thank you for any information you can provide. A. George Gavalas EML: george.gavalas at gchsonline.org URL: http://www.gchsonline.org PHN: 678.343.6082 MBL: 803.627.1497
participants (2)
-
danci@agenda.si -
info@gchsonline.org