[MPlayer-users] Freezing when clicking player window embedded after losing focus

Josh joshf87 at live.com
Wed Oct 10 18:05:42 CEST 2012


On 10/10/2012 04:38, Carl Eugen Hoyos wrote:
> Josh <joshf87 <at> live.com> writes:
>
>> There isn't anything in any of the logs (set to verbose)
>> out of the ordinary.
> But at least the logs would tell us for which vo this happens...
> Or does it happen for all vo's that work on Windows?
> (That should include gl and sdl iirc.)
>
> Carl Eugen
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
It happens on all vo's (directx, direct3d, gl, gl2/gl_tiled) except sdl. 
Here's a log when set to directx and losing focus/regain focus by 
clicking the embedded video area in smplayer a couple of times before 
stopping the video,  but I don't think anything stands out.

C:/Program Files/SMPlayer/mplayer/mplayer.exe -noquiet -v -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -nokeepaspect -priority abovenormal -framedrop -nodr -double -wid 786702 -colorkey 0x020202 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles C:/Documents and Settings/Administrator/.smplayer/styles.ass -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -vid 0 -aid 0 -subpos 100 -volume 50 -nocache -ss 83 -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 C:/Documents and Settings/Administrator/Desktop/Hanawake no Yon Shimai ep01 (450p x264).mp4


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

CPU vendor name: GenuineIntel max cpuid level: 5

CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (Family: 6, Model: 42, 
Stepping: 7)

extended cpuid-level: 8

extended cache-info: 16801856

Detected cache-line size is 64 bytes

Testing OS support for SSE... yes.

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1

Compiled with runtime CPU detection.

Setting PATH to C:\Program Files\SMPlayer\mplayer\codecs

Setting process priority: abovenormal


get_path('codecs.conf') -> 'C:/Program 
Files/SMPlayer/mplayer/mplayer/codecs.conf'

Reading optional codecs config file C:/Program 
Files/SMPlayer/mplayer/mplayer/codecs.conf: 199 audio & 413 video codecs

init_freetype

Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay

get_path('fonts') -> 'C:/Program Files/SMPlayer/mplayer/mplayer/fonts'

Configuration: 
--extra-cflags=-I/E/Buildsys/MinGW/msys/home/Joshua/live-10.04.2012 
--prefix=e:/buildsys/release/mplayer-dev-r35239 --enable-static 
--enable-runtime-cpudetection --disable-mp3lib 
--disable-libmpeg2-internal --disable-mng --disable-libopencore_amrnb 
--disable-libopencore_amrwb --disable-tv --disable-vidix --disable-faac-lavc

CommandLine: '-noquiet' '-v' '-nofs' '-nomouseinput' '-sub-fuzziness' 
'1' '-identify' '-slave' '-vo' 'directx' '-ao' 'dsound' '-nokeepaspect' 
'-priority' 'abovenormal' '-framedrop' '-nodr' '-double' '-wid' '786702' 
'-colorkey' '0x020202' '-monitorpixelaspect' '1' '-ass' '-embeddedfonts' 
'-ass-line-spacing' '0' '-ass-font-scale' '1' '-ass-styles' 
'C:/Documents and Settings/Administrator/.smplayer/styles.ass' 
'-fontconfig' '-font' 'Arial' '-subfont-autoscale' '0' 
'-subfont-osd-scale' '20' '-subfont-text-scale' '20' '-subcp' 
'ISO-8859-1' '-vid' '0' '-aid' '0' '-subpos' '100' '-volume' '50' 
'-nocache' '-ss' '83' '-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' 'C:/Documents and 
Settings/Administrator/Desktop/Hanawake no Yon Shimai ep01 (450p x264).mp4'

Using Windows native timing

get_path('input.conf') -> 'C:/Program 
Files/SMPlayer/mplayer/mplayer/input.conf'

Parsing input config file C:/Program 
Files/SMPlayer/mplayer/mplayer/input.conf

Input config file C:/Program Files/SMPlayer/mplayer/mplayer/input.conf 
parsed: 92 binds

get_path('Hanawake no Yon Shimai ep01 (450p x264).mp4.conf') -> 
'C:/Program Files/SMPlayer/mplayer/mplayer/Hanawake no Yon Shimai ep01 
(450p x264).mp4.conf'


Playing C:/Documents and Settings/Administrator/Desktop/Hanawake no Yon 
Shimai ep01 (450p x264).mp4.

get_path('sub/') -> 'C:/Program Files/SMPlayer/mplayer/mplayer/sub/'

WINSOCK2 init: 0

WINSOCK2 init: 0

[file] File size is 526727351 bytes

STREAM: [file] C:/Documents and Settings/Administrator/Desktop/Hanawake 
no Yon Shimai ep01 (450p x264).mp4

STREAM: Description: File

STREAM: Author: Albeu

STREAM: Comment: based on the code from ??? (probably Arpi)

libavformat version 54.31.100 (internal)

Configuration: --enable-gpl --enable-postproc

LAVF_check: QuickTime / MOV

libavformat file format detected.

[mov,mp4,m4a,3gp,3g2,mj2 @ 012ba980]ISO: File Type Major Brand: isom

[mov,mp4,m4a,3gp,3g2,mj2 @ 012ba980]File position before 
avformat_find_stream_info() is 526727351

[h264 @ 012e10e0]no picture

[mov,mp4,m4a,3gp,3g2,mj2 @ 012ba980]All info found

[mov,mp4,m4a,3gp,3g2,mj2 @ 012ba980]File position after 
avformat_find_stream_info() is 2262002

==> Found video stream: 0

ID_VIDEO_ID=0

======= VIDEO Format ======

biSize 82

biWidth 800

biHeight 450

biPlanes 0

biBitCount 24

biCompression 875967048='H264'

biSizeImage 1080000

Unknown extra header dump: [1] [64] [0] [29] [ff] [e1] [0] [19] [67] 
[64] [0] [29] [ac] [d9] [40] [c8] [3b] [f8] [8c] [4] [40] [0] [0] [fa] 
[40] [0] [3a] [98] [23] [c6] [c] [65] [80] [1] [0] [6] [68] [eb] [e1] 
[72] [c8] [b0]

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

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

==> Found audio stream: 1

ID_AUDIO_ID=0

======= WAVE Format =======

Format Tag: 20557 (0x504D)

Channels: 2

Samplerate: 48000

avg byte/sec: 16000

Block align: 1

bits/sample: 16

cbSize: 5

Unknown extra header dump: [11] [90] [56] [e5] [0]

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

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

LAVF: 1 audio and 1 video streams found

LAVF: build 3546980

VIDEO: [H264] 800x450 24bpp 29.970 fps 956.4 kbps (116.7 kbyte/s)

[V] filefmt:44 fourcc:0x34363248 size:800x450 fps:29.970 ftime:=0.0334

Clip info:

major_brand: isom

ID_CLIP_INFO_NAME0=major_brand

ID_CLIP_INFO_VALUE0=isom

minor_version: 1

ID_CLIP_INFO_NAME1=minor_version

ID_CLIP_INFO_VALUE1=1

compatible_brands: isomavc1

ID_CLIP_INFO_NAME2=compatible_brands

ID_CLIP_INFO_VALUE2=isomavc1

ID_CLIP_INFO_N=3

Load subtitles in C:/Documents and Settings/Administrator/Desktop/

get_path('sub/') -> 'C:/Program Files/SMPlayer/mplayer/mplayer/sub/'

WINSOCK2 init: 0

WINSOCK2 init: 0

[file] File size is 62643 bytes

STREAM: [file] C:/Documents and Settings/Administrator/Desktop/Hanawake 
no Yon Shimai ep01 (450p x264).srt

STREAM: Description: File

STREAM: Author: Albeu

STREAM: Comment: based on the code from ??? (probably Arpi)

SUB: Detected subtitle file format: subviewer

SUB: opened iconv descriptor.

WINSOCK2 uninit

SUB: closed iconv descriptor.

SUB: Read 841 subtitles, 0 bad line(s).

SUB: Adjusted 582 subtitle(s).

WINSOCK2 init: 0

WINSOCK2 init: 0

[file] File size is 62643 bytes

STREAM: [file] C:/Documents and Settings/Administrator/Desktop/Hanawake 
no Yon Shimai ep01 (450p x264).srt

STREAM: Description: File

STREAM: Author: Albeu

STREAM: Comment: based on the code from ??? (probably Arpi)

WINSOCK2 uninit

[ass] Opened iconv descriptor

[ass] Closed iconv descriptor

[ass] File size: 300

[ass] Opened iconv descriptor

[ass] Closed iconv descriptor

[ass] [03235c58] Style: 
Default,Arial,20,&H00ffffff,&H00000000,&H00000000,0,0,2,1,1,2,20,20,8

plaintext event at 1800, +2890: ããããããããããããããã

plaintext event at 13630, +2980: She's a celebration thief, isn't she.

...

plaintext event at 3822920, +3800: Could I speak with you for a moment?

plaintext event at 3827820, +41560: ããããããããããããããã

ID_FILE_SUB_ID=0

ID_FILE_SUB_FILENAME=C:/Documents and 
Settings/Administrator/Desktop/Hanawake no Yon Shimai ep01 (450p x264).srt

SUB: Added subtitle file (1): C:/Documents and 
Settings/Administrator/Desktop/Hanawake no Yon Shimai ep01 (450p x264).srt

ID_FILENAME=C:/Documents and Settings/Administrator/Desktop/Hanawake no 
Yon Shimai ep01 (450p x264).mp4

ID_DEMUXER=lavfpref

ID_VIDEO_FORMAT=H264

ID_VIDEO_BITRATE=956408

ID_VIDEO_WIDTH=800

ID_VIDEO_HEIGHT=450

ID_VIDEO_FPS=29.970

ID_VIDEO_ASPECT=1.7778

ID_AUDIO_FORMAT=MP4A

ID_AUDIO_BITRATE=128000

ID_AUDIO_RATE=48000

ID_AUDIO_NCH=2

ID_START_TIME=0.00

ID_LENGTH=3869.82

ID_SEEKABLE=1

ID_CHAPTERS=0

vo: win32: running at 1152x864 with depth 32

<vo_directx><INFO>checking primary surface

<vo_directx><FORMAT PRIMARY>14 BGR32 supported

<vo_directx><ERROR>Your card doesn't support overlay

<vo_directx><INFO>using backpuffer

Opening video filter: [ass auto=1]

[vo] query(Planar YV12) -> 0

[vo] query(Planar I420) -> 0

[vo] query(Planar IYUV) -> 0

[vo] query(Packed UYVY) -> 0

[vo] query(Packed YUY2) -> 0

Opening video filter: [scale]

SwScale params: -1 x -1 (-1=no scaling)

[ass] auto-open

Opening video filter: [screenshot]

[ass] Raster: FreeType 2.4.10

[ass] Shaper: FriBidi 0.19.4 (SIMPLE)

[ass] Initialized

get_path('fonts') -> 'C:/Program Files/SMPlayer/mplayer/mplayer/fonts'

get_path('subfont.ttf') -> 'C:/Program 
Files/SMPlayer/mplayer/mplayer/subfont.ttf'

[ass] Updating font cache

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

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

libavcodec version 54.65.100 (internal)

Configuration: --enable-gpl --enable-postproc

INFO: libavcodec init OK!

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

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

ID_VIDEO_CODEC=ffh264

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

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

dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.

FFmpeg's libavcodec audio codec

INFO: libavcodec "aac" init OK!

AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)

ID_AUDIO_BITRATE=128000

ID_AUDIO_RATE=48000

ID_AUDIO_NCH=2

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

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

Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...

[libaf] Adding filter scaletempo

[libaf] Adding filter equalizer

[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000

[libaf] Adding filter format

[format] Changing sample format from little-endian 16-bit signed int to 
little-endian 32-bit float

[format] Accelerated little-endian 16-bit signed int to little-endian 
32-bit float conversion

[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000

[format] Changing sample format from little-endian 16-bit signed int to 
little-endian 32-bit float

[format] Accelerated little-endian 16-bit signed int to little-endian 
32-bit float conversion

Trying preferred audio driver 'dsound', options '[none]'

ao_dsound: Output Devices:

0 Primary Sound Driver <--

1 Intel(r) Integrated Audio

ao_dsound: DirectSound initialized

ao_dsound: format floatle not supported defaulting to Signed 16-bit 
Little-Endian

ao_dsound: Samplerate:48000Hz Channels:2 Format:s16le

ao_dsound: Buffersize:192000 bytes (1000 msec)

ao_dsound: primary buffer created

ao_dsound: secondary (stream)buffer created

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

AO: Description: Windows DirectSound audio output

AO: Author: Gabor Szecsi <deje at miki.hu>

Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...

[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000

[format] Changing sample format from little-endian 16-bit signed int to 
little-endian 32-bit float

[format] Accelerated little-endian 16-bit signed int to little-endian 
32-bit float conversion

[libaf] Adding filter format

[format] Changing sample format from little-endian 32-bit float to 
little-endian 16-bit signed int

[format] Accelerated little-endian 32-bit float to little-endian 16-bit 
signed int conversion

[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000

[format] Changing sample format from little-endian 16-bit signed int to 
little-endian 32-bit float

[format] Accelerated little-endian 16-bit signed int to little-endian 
32-bit float conversion

[format] Changing sample format from little-endian 32-bit float to 
little-endian 16-bit signed int

[format] Accelerated little-endian 32-bit float to little-endian 16-bit 
signed int conversion

ID_AUDIO_CODEC=ffaac

[Mixer] No hardware mixing, inserting volume filter.

[libaf] Adding filter volume

[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000

[format] Changing sample format from little-endian 16-bit signed int to 
little-endian 32-bit float

[format] Accelerated little-endian 16-bit signed int to little-endian 
32-bit float conversion

[format] Changing sample format from little-endian 32-bit float to 
little-endian 16-bit signed int

[format] Accelerated little-endian 32-bit float to little-endian 16-bit 
signed int conversion

[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000

[format] Changing sample format from little-endian 16-bit signed int to 
little-endian 32-bit float

[format] Accelerated little-endian 16-bit signed int to little-endian 
32-bit float conversion

[format] Changing sample format from little-endian 32-bit float to 
little-endian 16-bit signed int

[format] Accelerated little-endian 32-bit float to little-endian 16-bit 
signed int conversion

Starting playback...

[libaf] Reallocating memory in module format, old len = 0, new len = 262149

[libaf] Reallocating memory in module format, old len = 0, new len = 131081

Increasing filtered audio buffer size from 0 to 131072

Unsupported PixelFormat 61

Unsupported PixelFormat 53

Unsupported PixelFormat 81

[h264 @ 012e10e0]no picture

[h264 @ 012e10e0]no picture

[ffmpeg] aspect_ratio: 1.777778

VDec: vo config request - 800 x 450 (preferred colorspace: Planar YV12)

Trying filter chain: screenshot ass scale vo

VDec: using Planar YV12 as output csp (no 0)

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

ID_VIDEO_ASPECT=1.7778

VO Config (800x450->800x450,flags=0,'MPlayer',0x32315659)

[swscaler @ 0142c2e0]using unscaled yuv420p -> rgb24 special converter

REQ: flags=0x2445 req=0x0

REQ: flags=0x445 req=0x0

REQ: flags=0x5 req=0x0

VO: [directx] 800x450 => 800x450 BGRA

VO: Description: Directx DDraw YUV/RGB/BGR renderer

VO: Author: Sascha Sommer <saschasommer at freenet.de>

<vo_directx><INFO>back surface created

*** [screenshot] Exporting mp_image_t, 800x450x12bpp YUV planar, 540000 
bytes

*** [ass] Exporting mp_image_t, 800x450x12bpp YUV planar, 540000 bytes

[ass] PlayResX undefined, setting to 384

[ass] Font info: family 'Arial', style 'Normal', fullname 'Arial', slant 
0, weight 80

[ass] fontconfig_select: (Arial, 80, 0) -> C:/WINDOWS/fonts/arial.ttf, 0

*** [scale] Allocating mp_image_t, 800x450x12bpp YUV planar, 540000 bytes

*** [vo] Allocating mp_image_t, 800x450x32bpp BGR packed, 1440000 bytes

Unicode font: 1418 glyphs.

Unicode font: 1418 glyphs.


*** [scale] Allocating mp_image_t, 800x482x12bpp YUV planar, 578400 bytes

*** [ass] Direct Rendering mp_image_t, 800x482x12bpp YUV planar, 578400 
bytes

*** [screenshot] Direct Rendering mp_image_t, 800x482x12bpp YUV planar, 
578400 bytes


*** [scale] Allocating mp_image_t, 800x482x12bpp YUV planar, 578400 bytes

*** [ass] Direct Rendering mp_image_t, 800x482x12bpp YUV planar, 578400 
bytes


Increasing filtered audio buffer size from 131072 to 133120


*** [scale] Allocating mp_image_t, 800x482x12bpp YUV planar, 578400 bytes

*** [ass] Direct Rendering mp_image_t, 800x482x12bpp YUV planar, 578400 
bytes


*** [scale] Allocating mp_image_t, 800x482x12bpp YUV planar, 578400 bytes

*** [ass] Direct Rendering mp_image_t, 800x482x12bpp YUV planar, 578400 
bytes


Uninit audio filters...

[libaf] Removing filter volume

[libaf] Removing filter scaletempo

[libaf] Removing filter format

[libaf] Removing filter equalizer

[libaf] Removing filter format

Uninit audio: ffmpeg

Uninit video: ffmpeg

WINSOCK2 uninit

vo: win32: uninit

ao_dsound: DirectSound uninitialized


Exiting... (Quit)

ID_EXIT=QUIT



More information about the MPlayer-users mailing list