[Mplayer-felhasznalok] Re: fps problema

Ivan Szanto szivan at duticai.TWI.TUDelft.NL
Thu Nov 28 08:04:47 CET 2002


 Hi,



koszi a valaszt.

> es ha -fps es -ofps is megadod?

nekem az -fps opcio ebben az esetben mar semmit nem valtoztat az mencoder
kimeneten.

probaltam a kovetkezoket:

meg tegnap (errol szol az elozo level)
mencoder -ofps 27.5 test.avi -o a -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=1800

mai probak -fps es -ofps megadasaval:

mencoder -fps 7.61 -ofps 27.5 test.avi -o a-fps7  -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=1800
mencoder -fps 27.5 -ofps 27.5 test.avi -o a-fps27 -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=1800
mencoder -fps 90   -ofps 27.5 test.avi -o a-fps90 -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=1800

utana:

{kvz063% szivan} cmp a a-fps27
{kvz063% szivan} cmp a a-fps7
{kvz063% szivan} cmp a a-fps90
{kvz063% szivan}

vagyis itt ugy tunik, mindegy, hogy megadom-e a -fps erteket, a kimenet
nem valtozik egy bitet sem.

sot, meg az stdout is majdnem ugyanaz, csak az aktualis tomoritesi
sebesseg ter el picit. A stdout eleje:

---------------------------------------------------------------

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MEncoder CVS-021102-19:01-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
Multiprocessor/Athlon XP eXtreme Performance
(Family: 6, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /home/szivan/.mplayer/codecs.conf: 44 audio & 110 video codecs
Font /home/szivan/.mplayer/font/font.desc loaded successfully! (140 chars)
success: format: 0  data: 0x0 - 0xA1F00A
Detected AVI file format!
AVI_NI: No Audio stream found...  ->  no sound
AVI: No Audio stream found...  ->  no sound
VIDEO:  [div3]  352x288  24bpp  7.61 fps  646.4 kbps (78.9 kbyte/s)
[V] filefmt:3  fourcc:0x33766964  size:352x288  fps: 7.61  ftime:=0.1314
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Writing AVI header...
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (352x288 fourcc=33766964 [div3])
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
duplicate 2 frame(s)!!!
Pos:   0.1s      2f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
duplicate 3 frame(s)!!!
Pos:   0.3s      3f ( 0%)   0fps Trem:   0min  16mb  A-V:0.000 [0:0]
duplicate 2 frame(s)!!!
Pos:   0.4s      4f ( 0%)   0fps Trem:   0min  12mb  A-V:0.000 [0:0]

--------------------------------------------------------

egy diff eleje:

--------------------------------------------------------

253c253
< Pos:  14.6s    112f (10%) 111fps Trem:   0min   6mb  A-V:0.000 [384:0]
---
> Pos:  14.6s    112f (10%)   0fps Trem:   0min   6mb  A-V:0.000 [384:0]
255c255
< Pos:  14.7s    113f (10%) 111fps Trem:   0min   6mb  A-V:0.000 [384:0]
---
> Pos:  14.7s    113f (10%)   0fps Trem:   0min   6mb  A-V:0.000 [384:0]
257c257
< Pos:  14.9s    114f (10%) 111fps Trem:   0min   6mb  A-V:0.000 [384:0]
---
> Pos:  14.9s    114f (10%) 114fps Trem:   0min   6mb  A-V:0.000 [384:0]
259c259
< Pos:  15.0s    115f (10%) 111fps Trem:   0min   6mb  A-V:0.000 [384:0]
---
> Pos:  15.0s    115f (10%) 114fps Trem:   0min   6mb  A-V:0.000 [384:0]
261c261
< Pos:  15.1s    116f (11%) 111fps Trem:   0min   6mb  A-V:0.000 [384:0]
---
> Pos:  15.1s    116f (11%) 114fps Trem:   0min   6mb  A-V:0.000 [384:0]
263c263
< Pos:  15.3s    117f (11%) 112fps Trem:   0min   6mb  A-V:0.000 [383:0]
---
> Pos:  15.3s    117f (11%) 114fps Trem:   0min   6mb  A-V:0.000 [383:0]
265c265
< Pos:  15.4s    118f (11%) 112fps Trem:   0min   6mb  A-V:0.000 [384:0]

--------------------------------------------------------

ettol kezdve az mencoder stdout-ok kulonboznek az fps-ben, de ez
a lejatszast persze nem befolyasolja, mert az eredemenykeppen
letrejovo file-ok bitre megegyeznek. Igy most nem is rakom be
ujra az mplayer -v outputjat, mert ugyanaz, mint az elozo levelben.

Megegyszer koszi, s ha meg van otleted, akkor meg foleg. ;-)

Ivan




More information about the MPlayer-felhasznalok mailing list