Hello!
I'm using ffmpeg to create mjpeg stream from mpeg4 stream coming from an
IP-camera.
ffmpeg input is depacketized/unpacked mpeg4 rtp stream. I'm using the
following parametrs:
ffmpeg -f 'm4v' -i "rtp://127.0.0.1?localport=5000" -f mjpeg -s 240x180
-r 12 -sameq -
It worked with version 0.49, but not with version 0.5.
My program starts sending the depacketized/unpacked m4v data from the
first VOS header,
but ffmpeg starts to encode 10 seconds after. The starting frame rate is
high (above 30), and it's getting lower and lower, ( under 1 - 2 fps ).
Am i using wrong parameters or configuration, or might it be a bug?
ffmpeg 0.49 configuration:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man
--incdir=/usr/include/ffmpeg --enable-libmp3lame --enable-libogg
--enable-libvorbis --enable-libogg --enable-libtheora --enable-libfaad
--enable-libfaac --enable-libgsm --enable-xvid --enable-x264
--enable-liba52 --enable-liba52bin --enable-pp --enable-shared
--enable-pthreads --enable-gpl --disable-strip
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Jun 4 2007 11:02:12, gcc: 4.1.1 20070105 (Red Hat 4.1.1-52)
ffmpeg 0.5 configuration:
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--mandir=/usr/share/man --incdir=/usr/include --enable-libamr-nb
--enable-libamr-wb --enable-libdirac --enable-libfaac --enable-libfaad
--enable-libmp3lame --enable-libtheora --enable-libx264 --enable-gpl
--enable-nonfree --enable-postproc --enable-pthreads --enable-shared
--enable-swscale --enable-x11grab
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Jul 24 2009 01:48:17, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
Thanks for any help!
Balazs