Opened 8 years ago

Last modified 8 years ago

#1852 new defect

rtm and p4 mencoder doesn't work with very high quality and high quality setting

Reported by: shxy2000cn@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

The cpu has SSE but disable, see information printed by mencoder below.

I got the mencoder from binary package on source forge
http://sourceforge.net/projects/mplayer-win32/files/MPlayer%20and%20MEncoder/revision%2032735/
I download rtm, p4 and athlon version.

The rtm and p4 version of mencoder report these errors:

D:\TDDOWNLOAD\once upon a time in american>..\MPlayer-p4-svn-32735\mencoder.exe
-vf scale=341:196 -of lavf -lavfopts format=mp4 -oac lavc -lavcopts acodec=aac -
ovc lavc -lavcopts vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:di
a=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:qns=2 "d:\engl
ish\movi\shawshanksredemption\movi\shawshanksredemption.flv" -o b.mp4
MEncoder Sherpya-SVN-r32735-4.2.5 (C) 2000-2010 MPlayer Team
161 audio & 356 video codecs
success: format: 0 data: 0x0 - 0x14603246
libavformat file format detected.
[flv @ 01f80050] Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0
VIDEO: [H264] 512x288 0bpp 20.000 fps 252.3 kbps (30.8 kbyte/s)
[V] filefmt:44 fourcc:0x34363248 size:512x288 fps:20.000 ftime:=0.0500
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 59.3 kbit/4.20% (ratio: 7411->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
MUXER_LAVF *
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=341 h=196]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 010ec334]BICUBIC scaler, from yuv420p to yuv420p using MMX2
videocodec: libavcodec (342x196 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Pos: 0.1s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.005 [0:0]
VIDEO CODEC ID: 13
AUDIO CODEC ID: 15002, TAG: 0
Writing header...
[mp4 @ 00fc45f8]Codec for stream 0 does not use global headers but container for
mat requires global headers
[mp4 @ 00fc45f8]Codec for stream 1 does not use global headers but container for
mat requires global headers
Pos: 0.4s 8f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.035 [0:0]

But athlon version is OK:

D:\TDDOWNLOAD\once upon a time in american>..\MPlayer-athlon-svn-32735\mencoder.
exe -vf scale=341:196 -of lavf -lavfopts format=mp4 -oac lavc -lavcopts acodec=a
ac -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=
2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:qns=2 "d:\
english\movi\shawshanksredemption\movi\shawshanksredemption.flv" -o b.mp4
MEncoder Sherpya-SVN-r32735-4.2.5 (C) 2000-2010 MPlayer Team
SSE supported but disabled
SSE2 supported but disabled
161 audio & 356 video codecs
success: format: 0 data: 0x0 - 0x14603246
libavformat file format detected.
[flv @ 022b0050] Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0
VIDEO: [H264] 512x288 0bpp 20.000 fps 252.3 kbps (30.8 kbyte/s)
[V] filefmt:44 fourcc:0x34363248 size:512x288 fps:20.000 ftime:=0.0500
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 59.3 kbit/4.20% (ratio: 7411->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
MUXER_LAVF *
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=341 h=196]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 01108bf4]BICUBIC scaler, from yuv420p to yuv420p using MMX2
videocodec: libavcodec (342x196 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Pos: 0.1s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.005 [0:0]
VIDEO CODEC ID: 13
AUDIO CODEC ID: 15002, TAG: 0
Writing header...
[mp4 @ 00fe1338]Codec for stream 0 does not use global headers but container for
mat requires global headers
[mp4 @ 00fe1338]Codec for stream 1 does not use global headers but container for
mat requires global headers
Pos: 2.7s 54f ( 0%) 24.45fps Trem: 0min 0mb A-V:0.096 [536:197]

Change History (1)

comment:1 Changed 8 years ago by shxy2000cn@…

The encoding setting is from docs/menc-feat-enc-libavcodec.html

Note: See TracTickets for help on using tickets.