[MEncoder-users] Mencoder -mf option not encoding all files

El Farto elfarto at gmail.com
Sun Dec 26 01:39:25 CET 2004


Hi all.
I''m using mencoder to encode to avi jpgs generated by some security
cameras, the file are written in a ftp server with this filename
format camX_datetime (e.g cam4_20041224190000.jpg) . The problem is,
mencoder doesn't seem to encode all .jpg files.
For example from a list of 1149 files (from 1 hour recording) it only
encodes 56 frames.
Using different sets of .jpg files , (between 400-1000 files) it
always encodes less files that there are on the disk.
Any clue on this will be highly appreciated.
BTW: I have tried with mpeg4/mjpeg codecs with the same result.
----------------
# mencoder mf:// -mf type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -o out
MEncoder 1.0pre5try2-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 2993 MHz (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
CPUflags: Type: 8 MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 1
Compiled for x86 CPU with extensions: SSE2

Reading /root/.mplayer/codecs.conf: Can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 16  data: 0x0 - 0x0
[demuxer] mf support.
[mf] search expr: *
[mf] number of files: 1149 (4596)
[V] filefmt:16  fourcc:0x47504A49  size:0x0  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
VDec: vo config request - 320 x 240 (preferred csp: 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 1.33:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using C
videocodec: libavcodec (320x240 fourcc=58564944 [DIVX])
Pos:   2.2s     56f ( 0%)  34fps Trem:   0min   0mb  A-V:0.000 [786:0]
Writing AVI index...
Fixing AVI header...
ODML: vprp aspect is 4:3.

Video stream:  786.411 kbit/s  (98301 bps)  size: 220195 bytes  2.240
secs  56 frames
linux-dvr 1 #

Another example, worse this time




More information about the MEncoder-users mailing list