[MPlayer-cygwin] Re: Mplayer compile errors
Chris Connolly
ziggy at nildram.co.uk
Sat Nov 19 18:16:32 CET 2005
Asonganyi Defang Ngunyi <ngunyie <at> yahoo.com> writes:
> I used to always use Joey's build. Given that he has not updated for some
time now, I have been building mine
> and i did encounter this problem, So much so that i have decided to always
disable xvid in my builds. I just
> wanted to know what is the advantage of adding xvid in mencoder given that
libavcodec already gives us the
> possibility of encoding xvid files with with the "-ffourcc xvid " option.
>
> thanks for any clarifications.
>
> DEF
I haven't yet tried using this method as other etivo users have encountered lip
sync issues using this approach. I take it you haven't had such problems?
In the end I managed to get around the ernno problem by using the method
suggested earlier by Joey Parrish. However, I am not sure all is well with my
mencoder! For some reason the 2nd pass always hangs and does not start
encoding. If use the mencoders compiled by Joey Parrish (on his website), the
2nd pass hangs in the same way. If I instead just skip the first pass and run
the 2nd, this encodes without a problem.
My encode settings (run from a command line) follow this message. Can anyone
see what the problem is?
(btw the 2-pass encoding settings below work on a mingw compiled version of
mencoder I have, but this doesn't support large files)
Cheers,
Chris
(first pass)
mencoder -nosound -ovc xvid -xvidencopts pass=1:vhq=0:turbo temp.mpg
(second pass)
mencoder -oac mp3lame -lameopts mode=2:abr:br=128:vol=0 -ovc xvid -xvidencopts
pass=2:vhq=4:chroma_me:trellis:max_key_interval=500:bitrate=800 -vf
scale=480:352 temp.mpg
Details for first pass:
MEncoder dev-CVS-051108-20:25-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Duron/Athlon 4/MP/XP Palomino (Family: 6, Stepping:
2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
success: format: 0 data: 0x0 - 0xc63004
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 6840.0 kbps (855.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
xvid: using library version 1.1.-125 (build xvid-1.1.0-beta2)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp h
eader.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: XviD (720x576 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=768x576, sampled=720x576
xvid: 2Pass Rate Control -- 1st pass
ODML: vprp aspect is 4:3. 0fps Trem: 0min 1mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 40.4s 1012f (99%) 23fps Trem: 0min 8mb A-V:0.000 [1778:0]
Flushing video frames
Writing AVI index...
Fixing AVI header...
ODML: vprp aspect is 4:3.
Video stream: 1776.993 kbit/s (222124 B/s) size: 8982699 bytes 40.440 secs 1
012 frames
2nd Pass:
MEncoder dev-CVS-051108-20:25-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Duron/Athlon 4/MP/XP Palomino (Family: 6, Stepping:
2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
success: format: 0 data: 0x0 - 0xc63004
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 6840.0 kbps (855.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 32000 Hz, 2 ch. s16le, 192.0 kbit/18.75% (ratio: 24000->128000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer3)
==========================================================================
xvid: using library version 1.1.-125 (build xvid-1.1.0-beta2)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=352]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
The selected video_out device is incompatible with this codec.
Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 32000Hz/2ch/s16le -> 0Hz/0ch/??...
MP3 audio selected
Building audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp h
eader.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: XviD (480x352 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=480x360, sampled=480x352
xvid: 2Pass Rate Control -- 2nd pass -- bitrate=800kbit/s
...hangs at this point.
More information about the MPlayer-cygwin
mailing list