[MPlayer-users] erratic behavior of -vo x11 -fs -zoom
Nilmoni Deb
ndeb at ece.cmu.edu
Thu May 9 00:29:02 CEST 2002
Using current cvs. Configured with --enable-gui. Run in non-gui mode.
WM is kde3. I run mplayer with this command:
mplayer -v -vo x11 -fs -zoom file
MPlayer's behavior is erratic because sometimes it starts in fullscreen
with no software scaling while at other times it actually does the
fullscreen with software scaling. I stored the mplayer logs for both
cases. A 'diff' showed their differences being as trivial as:
104,106c104,106
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes 0%
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes 0%
A: 5.9 V: 5.9 A-V: 0.016 ct: -0.039 155/155 11% 13% 1.1% 0 0 0%0%
---
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes 0%
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes 0%
A: 6.8 V: 3.3 A-V: 3.510 ct: 0.257 78/ 78 49% 184% 2.7% 75 0 0%
I am attaching the two logs (1st one is from no software scaling while the
2nd one is from proper software scaling).
What could be the reason behind the same binary run with same options
giving different results in successive runs !?
Is there some variable that is not being initialized ? Or is this a memory
mismanagement issue (like reading from memory thats been freed)?
thanks
- Nil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 16168 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020509/5ad56f7a/attachment.obj>
-------------- next part --------------
MPlayer CVS-020508-17:34-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 3)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
Reading /home/ndeb/.mplayer/codecs.conf: 34 audio & 92 video codecs
CommandLine:get_path('font/font.desc') -> '/home/ndeb/.mplayer/font/font.desc'
'-v' '-fs' '-vo' 'x11' '-zoom' '/home/ndeb/APPLICATIONS/movie/PACIFIC.MPG'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
font: can't open file: /home/ndeb/.mplayer/font/font.desc
font: can't open file: /home/ndeb/opt/mplayer//share/mplayer/font/font.desc
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/ndeb/.mplayer/input.conf'
Can't open input config file /home/ndeb/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing /home/ndeb/APPLICATIONS/movie/PACIFIC.MPG
Not an URL!
File size is 64047116 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8238220
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8238220
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8238220
Checking for MOV
DEMUXER: freeing demuxer at 0x8238220
Checking for VIVO
DEMUXER: freeing demuxer at 0x8238220
header block 1 size: 0
Checking for REAL
DEMUXER: freeing demuxer at 0x8238220
DEMUXER: freeing demuxer at 0x8238220
DEMUXER: freeing demuxer at 0x8238220
DEMUXER: freeing demuxer at 0x8238220
DEMUXER: freeing demuxer at 0x8238220
DEMUXER: freeing demuxer at 0x8238220
system stream synced at 0xB (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO: MPEG1 352x240 (aspect 12) 29.97 fps 1437.5 kbps (179.7 kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:352x240 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/ndeb/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 28000->176400
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
==========================================================================
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bits/pixel (":0" => local display)
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240, Mpeg PES
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
SwScale: -1 x -1 (-1=no scaling)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
VDec: vo config request - 352 x 240, Planar YV12
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x445 (i=0)
vo_debug: query(Planar I420) returned 0x445 (i=1)
vo_debug: query(Planar IYUV) returned 0x445 (i=2)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
video_out->init(352x240->352x264,flags=5,'MPlayer',0x32315659)
VO: [x11] 352x240 => 352x264 Planar YV12 fs zoom
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Start playing...
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 2/2 (65536 bytes/frag) free: 131072
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
A: 0.7 V: 0.8 A-V: -0.104 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
A: 0.9 V: 0.8 A-V: 0.116 ct: 0.003 2/ 2 0% 0% 0.0% 0 0 0%
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
A: 0.9 V: 0.8 A-V: 0.161 ct: 0.007 3/ 3 0% 0% 0.0% 0 0 0%
A: 1.0 V: 0.9 A-V: 0.102 ct: 0.010 4/ 4 0% 0% 0.0% 1 0 0%
A: 1.1 V: 0.9 A-V: 0.247 ct: 0.013 5/ 5 0% 0% 0.0% 2 0 0%
A: 1.2 V: 0.9 A-V: 0.280 ct: 0.017 6/ 6 0% 0% 0.0% 3 0 0%
A: 1.2 V: 1.0 A-V: 0.223 ct: 0.020 7/ 7 0% 0% 0.0% 4 0 0%
A: 1.3 V: 1.0 A-V: 0.367 ct: 0.023 8/ 8 0% 0% 0.0% 5 0 0%
A: 1.4 V: 1.0 A-V: 0.410 ct: 0.027 9/ 9 0% 0% 0.0% 6 0 0%
A: 1.5 V: 1.1 A-V: 0.354 ct: 0.030 10/ 10 0% 0% 0.0% 7 0 0%
A: 1.6 V: 1.1 A-V: 0.513 ct: 0.033 11/ 11 0% 0% 0.0% 8 0 0%
A: 1.6 V: 1.1 A-V: 0.559 ct: 0.037 12/ 12 0% 0% 0.0% 9 0 0%
A: 1.7 V: 1.2 A-V: 0.502 ct: 0.040 13/ 13 0% 0% 0.0% 10 0 0%
A: 1.8 V: 1.2 A-V: 0.648 ct: 0.043 14/ 14 0% 0% 0.0% 11 0 0%
A: 1.9 V: 1.2 A-V: 0.694 ct: 0.047 15/ 15 0% 0% 0.0% 12 0 0%
A: 1.9 V: 1.3 A-V: 0.627 ct: 0.050 16/ 16 52% 192% 3.8% 13 0 0%
A: 2.0 V: 1.3 A-V: 0.773 ct: 0.053 17/ 17 50% 194% 3.6% 14 0 0%
A: 2.1 V: 1.3 A-V: 0.820 ct: 0.057 18/ 18 51% 193% 3.3% 15 0 0%
A: 2.2 V: 1.4 A-V: 0.763 ct: 0.060 19/ 19 52% 191% 3.2% 16 0 0%
A: 2.3 V: 1.4 A-V: 0.923 ct: 0.063 20/ 20 49% 192% 3.6% 17 0 0%
A: 2.4 V: 1.4 A-V: 0.965 ct: 0.067 21/ 21 50% 190% 3.4% 18 0 0%
A: 2.4 V: 1.5 A-V: 0.907 ct: 0.070 22/ 22 51% 189% 3.3% 19 0 0%
A: 2.5 V: 1.5 A-V: 1.050 ct: 0.073 23/ 23 49% 190% 3.1% 20 0 0%
A: 2.6 V: 1.5 A-V: 1.093 ct: 0.077 24/ 24 50% 189% 3.0% 21 0 0%
A: 2.6 V: 1.6 A-V: 1.026 ct: 0.080 25/ 25 51% 187% 3.3% 22 0 0%
A: 2.8 V: 1.6 A-V: 1.205 ct: 0.083 26/ 26 49% 193% 3.2% 23 0 0%
A: 2.8 V: 1.6 A-V: 1.250 ct: 0.087 27/ 27 50% 192% 3.1% 24 0 0%
A: 2.9 V: 1.7 A-V: 1.192 ct: 0.090 28/ 28 51% 190% 3.0% 25 0 0%
A: 3.0 V: 1.7 A-V: 1.337 ct: 0.093 29/ 29 49% 192% 2.9% 26 0 0%
A: 3.1 V: 1.7 A-V: 1.398 ct: 0.097 30/ 30 50% 191% 3.1% 27 0 0%
A: 3.2 V: 1.8 A-V: 1.342 ct: 0.100 31/ 31 51% 189% 3.0% 28 0 0%
A: 3.2 V: 1.8 A-V: 1.485 ct: 0.103 32/ 32 49% 190% 2.9% 29 0 0%
A: 3.3 V: 1.8 A-V: 1.527 ct: 0.107 33/ 33 50% 189% 2.8% 30 0 0%
A: 3.4 V: 1.9 A-V: 1.460 ct: 0.110 34/ 34 51% 188% 3.1% 31 0 0%
A: 3.5 V: 1.9 A-V: 1.605 ct: 0.113 35/ 35 49% 189% 3.0% 32 0 0%
A: 3.5 V: 1.9 A-V: 1.647 ct: 0.117 36/ 36 50% 188% 2.9% 33 0 0%
A: 3.6 V: 2.0 A-V: 1.590 ct: 0.120 37/ 37 50% 188% 2.8% 34 0 0%
A: 3.7 V: 2.0 A-V: 1.734 ct: 0.123 38/ 38 49% 188% 2.8% 35 0 0%
A: 3.8 V: 2.0 A-V: 1.796 ct: 0.127 39/ 39 50% 188% 3.0% 36 0 0%
A: 3.9 V: 2.1 A-V: 1.740 ct: 0.130 40/ 40 50% 187% 2.9% 37 0 0%
A: 3.9 V: 2.1 A-V: 1.885 ct: 0.133 41/ 41 49% 188% 2.8% 38 0 0%
A: 4.0 V: 2.1 A-V: 1.928 ct: 0.137 42/ 42 50% 187% 2.8% 39 0 0%
A: 4.1 V: 2.2 A-V: 1.873 ct: 0.140 43/ 43 50% 187% 2.7% 40 0 0%
A: 4.2 V: 2.2 A-V: 2.004 ct: 0.143 44/ 44 49% 188% 2.9% 41 0 0%
A: 4.2 V: 2.2 A-V: 2.046 ct: 0.147 45/ 45 49% 187% 2.8% 42 0 0%
A: 4.3 V: 2.3 A-V: 1.987 ct: 0.150 46/ 46 50% 186% 2.8% 43 0 0%
A: 4.4 V: 2.3 A-V: 2.131 ct: 0.153 47/ 47 49% 187% 2.7% 44 0 0%
A: 4.5 V: 2.3 A-V: 2.172 ct: 0.157 48/ 48 49% 186% 2.7% 45 0 0%
A: 4.6 V: 2.4 A-V: 2.132 ct: 0.160 49/ 49 50% 185% 2.8% 46 0 0%
A: 4.6 V: 2.4 A-V: 2.277 ct: 0.163 50/ 50 49% 186% 2.8% 47 0 0%
A: 4.7 V: 2.4 A-V: 2.319 ct: 0.167 51/ 51 49% 186% 2.7% 48 0 0%
A: 4.8 V: 2.5 A-V: 2.262 ct: 0.170 52/ 52 50% 185% 2.7% 49 0 0%
A: 4.9 V: 2.5 A-V: 2.408 ct: 0.174 53/ 53 49% 186% 2.6% 50 0 0%
A: 4.9 V: 2.5 A-V: 2.440 ct: 0.177 54/ 54 49% 186% 2.8% 51 0 0%
A: 5.0 V: 2.6 A-V: 2.383 ct: 0.180 55/ 55 49% 185% 2.7% 52 0 0%
A: 5.1 V: 2.6 A-V: 2.529 ct: 0.184 56/ 56 49% 186% 2.7% 53 0 0%
A: 5.2 V: 2.6 A-V: 2.571 ct: 0.187 57/ 57 49% 185% 2.6% 54 0 0%
A: 5.2 V: 2.7 A-V: 2.527 ct: 0.190 58/ 58 49% 185% 2.8% 55 0 0%
A: 5.3 V: 2.7 A-V: 2.671 ct: 0.194 59/ 59 49% 185% 2.8% 56 0 0%
A: 5.4 V: 2.7 A-V: 2.712 ct: 0.197 60/ 60 49% 185% 2.7% 57 0 0%
A: 5.5 V: 2.7 A-V: 2.754 ct: 0.200 61/ 61 49% 184% 2.7% 58 0 0%
A: 5.6 V: 2.8 A-V: 2.797 ct: 0.204 62/ 62 49% 185% 2.6% 59 0 0%
A: 5.6 V: 2.8 A-V: 2.833 ct: 0.207 63/ 63 49% 185% 2.8% 60 0 0%
A: 5.7 V: 2.9 A-V: 2.774 ct: 0.210 64/ 64 49% 184% 2.7% 61 0 0%
A: 5.8 V: 2.9 A-V: 2.920 ct: 0.214 65/ 65 49% 185% 2.7% 62 0 0%
A: 5.9 V: 2.9 A-V: 2.964 ct: 0.217 66/ 66 49% 184% 2.6% 63 0 0%
A: 5.9 V: 3.0 A-V: 2.906 ct: 0.220 67/ 67 49% 184% 2.6% 64 0 0%
A: 6.0 V: 3.0 A-V: 3.067 ct: 0.224 68/ 68 48% 185% 2.7% 65 0 0%
A: 6.1 V: 3.0 A-V: 3.111 ct: 0.227 69/ 69 49% 184% 2.7% 66 0 0%
A: 6.2 V: 3.1 A-V: 3.052 ct: 0.230 70/ 70 49% 184% 2.7% 67 0 0%
A: 6.3 V: 3.1 A-V: 3.195 ct: 0.234 71/ 71 48% 184% 2.6% 68 0 0%
A: 6.3 V: 3.1 A-V: 3.237 ct: 0.237 72/ 72 49% 184% 2.6% 69 0 0%
A: 6.4 V: 3.2 A-V: 3.196 ct: 0.240 73/ 73 49% 184% 2.7% 70 0 0%
A: 6.5 V: 3.2 A-V: 3.340 ct: 0.244 74/ 74 48% 184% 2.7% 71 0 0%
A: 6.6 V: 3.2 A-V: 3.381 ct: 0.247 75/ 75 49% 184% 2.6% 72 0 0%
A: 6.6 V: 3.3 A-V: 3.325 ct: 0.250 76/ 76 49% 183% 2.6% 73 0 0%
A: 6.7 V: 3.3 A-V: 3.469 ct: 0.254 77/ 77 48% 184% 2.6% 74 0 0%
A: 6.8 V: 3.3 A-V: 3.510 ct: 0.257 78/ 78 49% 184% 2.7% 75 0 0%
Exiting... (Quit)
*** free_stream() called ***
vo: uninit ...
More information about the MPlayer-users
mailing list