[MPlayer-users] Aspect-ratio problems with directx driver

Josh joshf87 at live.com
Wed Apr 4 11:21:08 CEST 2012


I don't know where to get a compiled build for every revision but that 
at least narrows it down.
Aspect ratios is broken for directx in Windows 7 as well. Even 
MPlayer2's directx driver is broken in the same manner.

It's as he says, the video retains the same aspect ratio just a 
different size. Say a 16:9 video on a 16:9 display, setting to 4:3
resizes to fit within the 4:3 "box" and black bars are added to the top 
and bottom. http://i.imgur.com/jJcGW.png

E:/Buildsys/release/mplayer-svn-34835/mplayer.exe -noquiet -nofs 
-nomouseinput -lavdopts threads=4 -sub-fuzziness 1 -identify -slave -vo 
directx -ao win32 -nokeepaspect -priority abovenormal -framedrop 
-hardframedrop -mc 2 -nodr -double -wid 4850156 -colorkey 0x020202 
-monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 
-ass-font-scale 1 -ass-styles C:/Users/Joshua/.smplayer/styles.ass 
-fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 
-subfont-text-scale 20 -subcp ISO-8859-1 -vid 0 -subpos 100 -volume 3 
-cache 5120 -ss 331 -osdlevel 0 -vf-add screenshot -noslices -channels 2 
-af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 
-subfont-autoscale 0 -subfont-osd-scale 12 
E:/Videos/TV/Anime/Working/[m.3.3.w]_Working'!!_-_03_[h264_720p]_[A6790E7C].mkv

MPlayer Redxii-SVN-r34835-4.6.2 (C) 2000-2012 MPlayer Team

Setting process priority: abovenormal

192 audio & 399 video codecs

Playing 
E:/Videos/TV/Anime/Working/[m.3.3.w]_Working'!!_-_03_[h264_720p]_[A6790E7C].mkv.

Cache fill: 0.00% (0 bytes)

libavformat version 54.2.100 (internal)

libavformat file format detected.

ID_CHAPTER_ID=0

ID_CHAPTER_0_START=0

ID_CHAPTER_0_END=141000

ID_CHAPTER_0_NAME=Intro

ID_CHAPTER_ID=1

ID_CHAPTER_1_START=141000

ID_CHAPTER_1_END=231000

ID_CHAPTER_1_NAME=Opening

ID_CHAPTER_ID=2

ID_CHAPTER_2_START=231000

ID_CHAPTER_2_END=749000

ID_CHAPTER_2_NAME=Part A

ID_CHAPTER_ID=3

ID_CHAPTER_3_START=749000

ID_CHAPTER_3_END=1315000

ID_CHAPTER_3_NAME=Part B

ID_CHAPTER_ID=4

ID_CHAPTER_4_START=1315000

ID_CHAPTER_4_END=1405000

ID_CHAPTER_4_NAME=Ending

ID_CHAPTER_ID=5

ID_CHAPTER_5_START=1405000

ID_CHAPTER_5_END=1419840

ID_CHAPTER_5_NAME=Preview

ID_VIDEO_ID=0

[lavf] stream 0: video (h264), -vid 0

ID_AUDIO_ID=0

ID_AID_0_LANG=jpn

[lavf] stream 1: audio (aac), -aid 0, -alang jpn

ID_SUBTITLE_ID=0

ID_SID_0_LANG=eng

[lavf] stream 2: subtitle (ass), -sid 0, -slang eng

VIDEO: [H264] 1280x720 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)

Clip info:

creation_time: 2011-10-19 03:24:26

ID_CLIP_INFO_NAME0=creation_time

ID_CLIP_INFO_VALUE0=2011-10-19 03:24:26

ID_CLIP_INFO_N=1

Load subtitles in E:/Videos/TV/Anime/Working/

ID_FILENAME=E:/Videos/TV/Anime/Working/[m.3.3.w]_Working'!!_-_03_[h264_720p]_[A6790E7C].mkv

ID_DEMUXER=lavfpref

ID_VIDEO_FORMAT=H264

ID_VIDEO_BITRATE=0

ID_VIDEO_WIDTH=1280

ID_VIDEO_HEIGHT=720

ID_VIDEO_FPS=23.976

ID_VIDEO_ASPECT=1.7778

ID_AUDIO_FORMAT=MP4A

ID_AUDIO_BITRATE=0

ID_AUDIO_RATE=48000

ID_AUDIO_NCH=2

ID_START_TIME=0.00

ID_LENGTH=1419.84

ID_SEEKABLE=1

ID_CHAPTERS=6

Cache not responding! [performance issue]

Opening video filter: [ass auto=1]

Opening video filter: [scale]

[ass] auto-open

Opening video filter: [screenshot]

==========================================================================

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

libavcodec version 54.12.100 (internal)

Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

==========================================================================

ID_VIDEO_CODEC=ffh264

==========================================================================

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)

ID_AUDIO_BITRATE=0

ID_AUDIO_RATE=48000

ID_AUDIO_NCH=2

Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))

==========================================================================

AO: [win32] 48000Hz 2ch s16le (2 bytes per sample)

ID_AUDIO_CODEC=ffaac

[Mixer] No hardware mixing, inserting volume filter.

Starting playback...

Unsupported PixelFormat 61

Unsupported PixelFormat 53

Unsupported PixelFormat 81

Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.

ID_VIDEO_ASPECT=1.7778

[swscaler @ 010d0440]using unscaled yuv420p -> rgb24 special converter

VO: [directx] 1280x720 => 1280x720 Packed YUY2

[ASPECT] Warning: No suitable new res found!

[ASPECT] Warning: No suitable new res found!

[ASPECT] Warning: No suitable new res found!

[ASPECT] Warning: No suitable new res found!

[ASPECT] Warning: No suitable new res found!

[ASPECT] Warning: No suitable new res found!

[ASPECT] Warning: No suitable new res found!

[ASPECT] Warning: No suitable new res found!

Cache not responding! [performance issue]

Cache not responding! [performance issue]

Exiting... (Quit)

ID_EXIT=QUIT


FFmpeg is from git from 3/30/12.


More information about the MPlayer-users mailing list