[MEncoder-users] decreasing of speed encoding with two input files
Goga777
goga777 at bk.ru
Fri Jul 2 22:28:59 CEST 2010
Hi
why with two input files the speed of encoding decreased so drastically - in several times - from 7fps to
1,7 fps
For example,
With first file
mencoder cutted.avi -profile crf
MEncoder SVN-r31566-4.3.3 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0xdbcaa0c
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s)
[V] filefmt:3 fourcc:0x64737664 size:720x576 fps:25.000 ftime:=0.0400
Input fps will be interpreted as 50.000 instead.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [hqdn3d=2:1:2]
Opening video filter: [yadif=1]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
==========================================================================
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x89e28c0]using unscaled yuv420p -> yuv420p special converter
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
x264 [info]: profile Baseline, level 3.1
Writing header...2f ( 1%) 1.19fps Trem: 2min 0mb A-V:0.002 [0:0]
ODML: vprp aspect is 16384:13107.
Writing header...
ODML: vprp aspect is 16384:13107.
Pos: 0.8s 22f ( 2%) 4.69fps Trem: 3min 74mb A-V:0.042 [0:144]
Skipping frame!
Pos: 1.1s 32f ( 2%) 5.46fps Trem: 3min 86mb A-V:0.042 [17563:140]
Skipping frame!
Pos: 1.5s 42f ( 3%) 5.99fps Trem: 3min 94mb A-V:0.040 [17899:138]
Skipping frame!
^CPos: 21.6s 546f (35%) 7.74fps Trem: 2min 141mb A-V:0.012 [19566:127]
With second file
mencoder 50.avi -profile crf
MEncoder SVN-r31566-4.3.3 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0x14558028
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s)
[V] filefmt:3 fourcc:0x64737664 size:720x576 fps:25.000 ftime:=0.0400
Input fps will be interpreted as 50.000 instead.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [hqdn3d=2:1:2]
Opening video filter: [yadif=1]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
==========================================================================
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x89e28c0]using unscaled yuv420p -> yuv420p special converter
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
x264 [info]: profile Baseline, level 3.1
Writing header...2f ( 0%) 1.36fps Trem: 3min 0mb A-V:0.002 [0:0]
ODML: vprp aspect is 16384:13107.
Writing header...
ODML: vprp aspect is 16384:13107.
Pos: 0.8s 22f ( 1%) 5.13fps Trem: 4min 82mb A-V:0.042 [0:130]
Skipping frame!
Pos: 1.1s 32f ( 1%) 5.92fps Trem: 4min 94mb A-V:0.042 [12613:129]
Skipping frame!
Pos: 1.5s 42f ( 2%) 6.42fps Trem: 4min 97mb A-V:0.040 [12252:129]
Skipping frame!
^CPos: 22.2s 560f (24%) 7.54fps Trem: 3min 125mb A-V:0.012 [11646:128]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16384:13107.
Video stream: 11643.668 kbit/s (1455458 B/s) size: 32369396 bytes 22.240 secs 560 frames
Audio stream: 128.255 kbit/s (16031 B/s) size: 363219 bytes 22.656 secs
x264 [info]: frame I:5 Avg QP:17.20 size: 62595
x264 [info]: frame P:1107 Avg QP:20.52 size: 28958
x264 [info]: mb I I16..4: 100.0% 0.0% 0.0%
x264 [info]: mb P I16..4: 21.1% 0.0% 0.0% P16..4: 70.0% 0.0% 0.0% 0.0% 0.0% skip: 8.9%
x264 [info]: coded y,uvDC,uvAC intra: 59.9% 68.1% 26.5% inter: 63.1% 63.8% 22.0%
x264 [info]: i16 v,h,dc,p: 37% 15% 24% 24%
x264 [info]: i8c dc,h,v,p: 30% 19% 37% 14%
x264 [info]: kb/s:11643.67
With both files
mencoder cutted.avi 50.avi -profile crf
MEncoder SVN-r31566-4.3.3 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0xdbcaa0c
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s)
[V] filefmt:3 fourcc:0x64737664 size:720x576 fps:25.000 ftime:=0.0400
Input fps will be interpreted as 50.000 instead.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [hqdn3d=2:1:2]
Opening video filter: [yadif=1]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
==========================================================================
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x89e28c0]using unscaled yuv420p -> yuv420p special converter
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
x264 [info]: profile High, level 3.1
Pos: 0.0s 22f ( 1%) 9.19fps Trem: 2min 0mb A-V:0.042 [0:0]
Skipping frame!
Writing header...5f ( 1%) 7.61fps Trem: 3min 0mb A-V:0.028 [0:0]
ODML: vprp aspect is 16384:13107.
Setting audio delay to 0.032s.
Writing header...
ODML: vprp aspect is 16384:13107.
Setting audio delay to 0.032s.
Pos: 0.3s 32f ( 2%) 3.94fps Trem: 6min 9mb A-V:0.042 [0:0]
Skipping frame!
Pos: 0.6s 42f ( 2%) 3.32fps Trem: 7min 14mb A-V:0.040 [0:146]
Skipping frame!
^CPos: 3.8s 121f ( 7%) 1.79fps Trem: 13min 28mb A-V:0.012 [4780:132]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16384:13107.
Setting audio delay to 0.032s.
Video stream: 4240.750 kbit/s (530093 B/s) size: 2480839 bytes 4.680 secs 121 frames
Audio stream: 132.900 kbit/s (16612 B/s) size: 70171 bytes 4.224 secs
x264 [info]: frame I:1 Avg QP:25.56 size: 31763
x264 [info]: frame P:112 Avg QP:25.53 size: 16147
x264 [info]: frame B:121 Avg QP:28.69 size: 5294
x264 [info]: consecutive B-frames: 0.0% 88.4% 11.6% 0.0%
x264 [info]: mb I I16..4: 5.9% 65.4% 28.8%
x264 [info]: mb P I16..4: 0.5% 5.0% 0.9% P16..4: 51.3% 22.4% 11.9% 0.0% 0.0% skip: 7.9%
x264 [info]: mb B I16..4: 0.1% 0.5% 0.1% B16..8: 44.1% 6.2% 1.9% direct: 7.5% skip:39.7% L0:41.2% L1:51.2% BI: 7.6%
x264 [info]: 8x8 transform intra:76.1% inter:59.8%
x264 [info]: coded y,uvDC,uvAC intra: 85.1% 48.4% 5.6% inter: 34.6% 19.5% 0.8%
x264 [info]: i16 v,h,dc,p: 29% 34% 10% 26%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 8% 16% 5% 7% 11% 5% 10% 7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 15% 19% 6% 8% 10% 6% 8% 6%
x264 [info]: i8c dc,h,v,p: 64% 17% 16% 2%
x264 [info]: Weighted P-Frames: Y:11.6%
x264 [info]: ref P L0: 48.6% 29.9% 13.9% 6.6% 1.0%
x264 [info]: ref B L0: 85.5% 14.5% 0.0%
x264 [info]: ref B L1: 98.9% 1.1%
x264 [info]: kb/s:4240.75
my profile
[crf]
profile-desc="crf"
#x264encopts=crf=19::log=3:psnr:ssim:me=umh:subq=7:trellis=1:partitions=all:8x8dct:frameref=5:bframes=3:b_pyramid:weight_b
x264encopts=crf=19::log=3:preset=ultrafast
[default]
ovc=x264=1
oac=faac=1
#nosound=1
faacopts=br=128
vf=yadif=1,hqdn3d=2:1:2
#vf=mcdeint=2:1:10
#vf=tfields=4
fps=50
ofps=50
#vf=pp=lb,hqdn3d=2:1:2
o=out.avi
More information about the MEncoder-users
mailing list