[MEncoder-users] How to count frames ?

Seweryn Walentynowicz seweryn at walor.torun.pl
Fri May 25 22:16:52 CEST 2007


  I want to recode small piece of bigger material to test some
capabilities. Simply I do:

mencoder -oac pcm -ovc lavc -frames 100 -o output sar-19.05.2007.nsv

 but mencoder processed 197 frames. Where I'm wrong ?

MEncoder dev-SVN-r23373-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Model: 8, St
epping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

success: format: 0  data: 0x0 - 0x2eca8000
Nullsoft Streaming Video file format detected.
VIDEO:  [VP31]  320x240  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:36  fourcc:0x31335056  size:320x240  fps:25.00
ftime:=0.0400
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==========================================================================
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: [ffvp3] vfm: ffmpeg (FFmpeg VP3)
==========================================================================
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (320x240 fourcc=34504d46 [FMP4])
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp h
eader.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
...
[skip]
...
1 duplicate frame(s)!
Pos:   7.8s    197f ( 0%) 39.74fps Trem:   0min   0mb  A-V:-0.005
[346:1411]
Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

Video stream:  346.335 kbit/s  (43291 B/s)  size: 339408 bytes  7.840
secs  197 frames

Audio stream: 1411.200 kbit/s  (176400 B/s)  size: 1368864 bytes  7.760
secs


            regards

-- 
       Seweryn Walentynowicz
       S.Walentynowicz at walor.torun.pl



More information about the MEncoder-users mailing list