[Ffmpeg-devel] Problem with ffmpeg/mplayer/wmp

ranaldo at unina.it ranaldo
Thu Mar 2 16:29:35 CET 2006


Hi!
I'm sorry it this was already posted to this list but i'm not able to find a 
solution on the archives.

I just installed ffmpeg and mplayer...
my ffserver.conf is:

#lbox etc> egrep -v "^#|^$" ffserver.conf

Port 8090
BindAddress 0.0.0.0
MaxClients 1000
MaxBandwidth 1000
CustomLog -
NoDaemon
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 200K
ACL allow 127.0.0.1
</Feed>
<Stream test.asf>
Feed feed1.ffm
Format asf
VideoFrameRate 15
VideoSize 352x240
VideoBitRate 256
VideoBufferSize 40
VideoGopSize 30
AudioBitRate 64
StartSendOnKey
</Stream>
<Stream stat.html>
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>
<Redirect index.html>
URL http://www.ffmpeg.org/
</Redirect>

I cut mpeg section due to:

[mpeg1video @ 0xb7e33950]removing common factors from framerate
[mpeg1video @ 0xb7e33950]MPEG1/2 does not support 3/1 fps
Error while opening codec for output stream #0.1 - maybe incorrect parameters 
such as bit_rate, rate, width or height

on another shell launching ffmpeg -i test.avi http://localhost:8090/feed1.ffm
i have:

ffmpeg -i 09\ -\ fibre\ ottiche\ e\ collegamenti\ wireless.avi 
http://localhost:8090/feed1.ffm
ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --host=i686-pc-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --enable-shared-pp --enable-shared 
--disable-static --disable-mmx --disable-altivec --disable-debug 
--enable-mp3lame --disable-a52 --disable-a52bin --enable-audio-oss 
--disable-v4l --disable-dv1394 --disable-dc1394 --disable-pthreads 
--enable-xvid --enable-libogg --enable-vorbis --disable-theora --disable-dts 
--enable-network --enable-zlib --enable-ffplay --disable-faad --disable-faac 
--disable-faadbin --enable-gpl --enable-pp --disable-opts 
--build=i686-pc-linux-gnu
  built on Mar  1 2006 11:47:12, gcc: 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, 
pie-8.7.8)
Input #0, avi, from 'test.avi':
  Duration: 00:42:13.3, start: 0.000000, bitrate: 527 kb/s
  Stream #0.0, 25.00 fps: Video: mpeg4, yuv420p, 480x360
  Stream #0.1: Audio: mp3, 48000 Hz, stereo, 65 kb/s
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  Stream #0.0: Audio: mp3, 22050 Hz, mono, 64 kb/s
  Stream #0.1,   nan fps: Video: msmpeg4, yuv420p, 352x240, q=3-31, 256 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
[msmpeg4 @ 0xb7e49950]removing common factors from framerate
Press [q] to stop encoding
[msmpeg4 @ 0xb7e49950]rc buffer underflow
frame=  531 q=0.0 Lsize=     852kB time=35.4 bitrate= 197.2kbits/s

on the the ffserver side i have:

ffserver started.
127.0.0.1 - - [Thu Mar  2 16:07:59 2006] "GET /feed1.ffm HTTP/1.0" 200 4165
127.0.0.1 - - [Thu Mar  2 16:07:59 2006] "GET /feed1.ffm HTTP/1.0" 200 4165
127.0.0.1 - - [Thu Mar  2 16:08:11 2006] "GET /test.asf HTTP/1.0" 200 117
127.0.0.1 - - [Thu Mar  2 16:08:11 2006] "GET /test.asf HTTP/1.0" 200 747
error, non monotone timestamps 1141312104277372 >= 1141312104251250
error, non monotone timestamps 1141312104277372 >= 1141312104277372
error, non monotone timestamps 1141312104389939 >= 1141312104363817
127.0.0.1 - - [Thu Mar  2 16:08:11 2006] "GET /test.asf HTTP/1.0" 200 16819
127.0.0.1 - - [Thu Mar  2 16:08:20 2006] "POST /feed1.ffm HTTP/1.0" 200 872448

now while coding goes on mplayer freeze on this output:

MPlayer dev-CVS-060217-11:46-3.3.6 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP/XP-M Barton,Thorton (Family: 
6, Stepping: 0)
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:



91 audio & 206 video codecs
Playing http://localhost:8090/test.asf.
STREAM_HTTP(1), URL: http://localhost:8090/test.asf
Resolving localhost for AF_INET...
Connecting to server localhost[127.0.0.1]: 8090...
STREAM_ASF, URL: http://localhost:8090/test.asf
Resolving localhost for AF_INET...
Connecting to server localhost[127.0.0.1]: 8090...
Resolving localhost for AF_INET...
Connecting to server localhost[127.0.0.1]: 8090...
Cache size set to 390 KBytes
Cache fill:  4.10% (16384 bytes)


windows media player says it cannot handle request in this moment...

can you help me?

Regards

	Nicola








More information about the ffmpeg-devel mailing list