[MPlayer-users] Problem with 2-pass encoding.

rbtq7ol02 at sneakemail.com rbtq7ol02 at sneakemail.com
Tue Apr 15 04:00:41 CEST 2003


I'm having a failure on the second pass of 2-pass encoding.  The first 
pass complains of some duplicate frames but appears to complete 
successfully, but the second fails.  I tried again with a fresh CVS 
build, same problem.  It does not seem to occur for all files (I am 
using equivalent commands frequently on other, similar files).  I am 
using an Athlon XP 2100+, and this file breaks both the newest CVS and 
0.9.0 stable.  Commands run and output for both passes follow, I can 
provide any other information needed.

chshrcat at chshrcat webvcr $ /usr/local/bin/mencoder 'Alias - 2003-03-30 
210000 - Endgame.avi' -oac copy -ovc lavc -lavcopts 
vcodec=mpeg4:keyint=300:vbitrate=1024:vlelim=-4:vcelim=7:lumi_mask=0.2:dark_mask=0.2:scplx_mask=0.4:tcplx_mask=0.3:naq:aspect=4/3:vpass=1 
-o 'Alias - 2003-03-30 210000 - Endgame.avi.vid' -vop 
hqdn3d,scale=480:480,crop=468:475:7:0 -sws 10
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/stow/mplayer-cvs-20030414/share/locale


MEncoder dev-CVS-030414-20:07-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading /home/chshrcat/.mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/chshrcat/.mplayer/mencoder: No such file or 
directory
success: format: 0  data: 0x0 - 0x43EECC5E
AVI file format detected.
VIDEO:  [DIVX]  480x480  24bpp  29.00 fps  2397.3 kbps (292.6 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:480x480  fps:29.00  ftime:=0.0345
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [hqdn3d]
Opening video filter: [scale w=480 h=480]
Opening video filter: [crop w=468 h=475 x=7 y=0]
Crop: 468 x 475, 7 ; 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
audiocodec: framecopy (format=1 chans=2 rate=44100 bits=16 bps=176400 
sample=1)
Writing AVI header...
This file was encoded with libavcodec build 4655
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 21 -> 12
SwScaler: reducing / aligning filtersize 21 -> 12
SwScaler: reducing / aligning filtersize 21 -> 10
SwScaler: reducing / aligning filtersize 21 -> 10

SwScaler: Bicubic spline scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
Pos: 543.4s  15759f (22%)  37fps Trem:  24min 635mb  A-V:0.034 [821:1411]]
Writing AVI index...
Fixing AVI header...

Video stream:  821.435 kbit/s  (102679 bps)  size: 55797398 bytes 
543.414 secs  15759 frames

62      2223    497952  81693   6.09541:1
Pos:1157.8s  33578f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1157.8s  33579f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1157.8s  33580f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1157.9s  33581f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1157.9s  33582f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1157.9s  33583f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1158.0s  33584f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1158.0s  33586f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1158.1s  33587f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
Pos:1158.1s  33588f (48%)  34fps Trem:  17min 681mb  A-V:0.000 [980:1411]
1 duplicate frame(s)!
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)991:1411]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.00:1 - prescaling to correct movie aspect.
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)994:1411]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)1002:1411]]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.00:1 - prescaling to correct movie aspect.
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)[1003:1411]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)[1056:1411]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.00:1 - prescaling to correct movie aspect.
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)[1057:1411]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
Pos:2386.9s  69223f (100%)  33fps Trem:   0min 700mb  A-V:0.000 [1052:1411]]
Writing AVI index...
Fixing AVI header...

Video stream: 1052.767 kbit/s  (131595 bps)  size: 314110209 bytes 
2386.931 secs  69223 frames

Audio stream: 1411.200 kbit/s  (176399 bps)  size: 421066756 bytes 
2387.000 secs
chshrcat at chshrcat webvcr $ /usr/local/bin/mencoder 'Alias - 2003-03-30 
210000 - Endgame.avi' -oac copy -ovc lavc -lavcopts 
vcodec=mpeg4:keyint=300:vbitrate=1024:vlelim=-4:vcelim=7:lumi_mask=0.2:dark_mask=0.2:scplx_mask=0.4:tcplx_mask=0.3:naq:aspect=4/3:vpass=2 
-o 'Alias - 2003-03-30 210000 - Endgame.avi.vid' -vop 
hqdn3d,scale=480:480,crop=468:475:7:0 -sws 10
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/stow/mplayer-cvs-20030414/share/locale


MEncoder dev-CVS-030414-20:07-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading /home/chshrcat/.mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/chshrcat/.mplayer/mencoder: No such file or 
directory
success: format: 0  data: 0x0 - 0x43EECC5E
AVI file format detected.
VIDEO:  [DIVX]  480x480  24bpp  29.00 fps  2397.3 kbps (292.6 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:480x480  fps:29.00  ftime:=0.0345
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [hqdn3d]
Opening video filter: [scale w=480 h=480]
Opening video filter: [crop w=468 h=475 x=7 y=0]
Crop: 468 x 475, 7 ; 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
audiocodec: framecopy (format=1 chans=2 rate=44100 bits=16 bps=176400 
sample=1)
Writing AVI header...
This file was encoded with libavcodec build 4655
VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 21 -> 12
SwScaler: reducing / aligning filtersize 21 -> 12
SwScaler: reducing / aligning filtersize 21 -> 10
SwScaler: reducing / aligning filtersize 21 -> 10

SwScaler: Bicubic spline scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
statistics are damaged at line 29, parser out=0
Could not open codec.
FATAL: Cannot initialize video driver.
init_vo failed
mp_image: Unknown out_fmt: 0x40F5A020
Segmentation fault



More information about the MPlayer-users mailing list