[MPlayer-users] mencoder mf://*.jpg - number of files != number of frames

dadodrake at gmail.com dadodrake at gmail.com
Mon Apr 24 17:24:33 CEST 2006


Hello, 

I have 7 IP cameras. Every camera produces 1 picture per second, which
is uploaded via ftp to my system. So, at the end of the day I have
around 80000 pictures from every camera. 

Now, I want to make video from the pictures. I'm using this command:

 mencoder mf://20060423*.jpg -mf w=640:h=480:type=jpg:fps=25 -ovc lavc
-lavcopts vcodec=mpeg4 -o cam1_20060423.avi

The problem is, that sometimes the number of pictures isn't equal to
the number of frames. Like this:

MEncoder dev-CVS-060415-00:32-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices  (Family: 15, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

91 audio & 208 video codecs
success: format: 16  data: 0x0 - 0x0
[mf] search expr: 20060423*.jpg
[mf] number of files: 85168 (340672)
VIDEO:  [IJPG]  640x480  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x47504A49  size:640x480  fps:25.00
ftime:=0.0400 Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
VDec: vo config request - 640 x 480 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.

SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX2
videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header. Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

Flushing video frames
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

Video stream:  800.354 kbit/s  (100044 B/s)  size: 282845006 bytes
2827.200 secs  70680 frames


Any ideas? Thank you.
Dano




More information about the MPlayer-users mailing list