[MPlayer-users] vf framestep=I and WMV3
Robert Henney
robh at rut.org
Tue May 9 18:49:34 CEST 2006
the vf framestep=I seems to be a useful way to pull keyframe positions
information from a video stream.
it doesn't appear to work for some cases though; I'm think those may be
when an external dll is used, but I haven't tested enough material yet
to know that for sure. in the cases where it isn't working, no "I!"
prefixed line is every output.
is there another way to dump keyframe pos data from a video stream in
these cases?
robh at hpbox:/stow$ mplayer -benchmark -nosound -vo null '[l33t-raws]Makai_Senki_Disgaea_04_(1280x720_WMV9_120fps).[F9D404B6].avi'
-vf framestep=I -v
MPlayer dev-CVS-060505-16:15-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
get_path('codecs.conf') -> '/home/robh/.mplayer/codecs.conf'
Reading /home/robh/.mplayer/codecs.conf: Can't open
'/home/robh/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-benchmark' '-nosound' '-vo' 'null'
'[l33t-raws]Makai_Senki_Disgaea_04_(1280x720_WMV9_120fps).[F9D404B6].avi'
'-vf' 'framestep=I' '-v'
init_freetype
get_path('font/font.desc') -> '/home/robh/.mplayer/font/font.desc'
Font /home/robh/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/robh/.mplayer/input.conf'
Can't open input config file /home/robh/.mplayer/input.conf: No such
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such
file or directory
Falling back on default (hardcoded) input config
get_path('[l33t-raws]Makai_Senki_Disgaea_04_(1280x720_WMV9_120fps).[F9D404B6].avi.conf')
->
'/home/robh/.mplayer/[l33t-raws]Makai_Senki_Disgaea_04_(1280x720_WMV9_120fps).[F9D404B6].avi.conf'
Playing
[l33t-raws]Makai_Senki_Disgaea_04_(1280x720_WMV9_120fps).[F9D404B6].avi.
get_path('sub/') -> '/home/robh/.mplayer/sub/'
[file] File size is 367876812 bytes
STREAM: [file]
[l33t-raws]Makai_Senki_Disgaea_04_(1280x720_WMV9_120fps).[F9D404B6].avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:419430 eof:0
Cache fill: 0.00% (0 bytes)
AVI file format detected.
list_end=0x1258
======= AVI Header =======
us/frame: 8341 (fps=119.890)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames total: 177997 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 1280 x 720
==========================
list_end=0x8DA
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: WMV3 (33564D57)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 600000/5005 = 119.880
Start: 0 Len: 177997
Suggested BufferSize: 140772
Quality 0
Sample size: 0
==========================
Found 'bih', 46 bytes of 40
======= VIDEO Format ======
biSize 46
biWidth 1280
biHeight 720
biPlanes 1
biBitCount 24
biCompression 861293911='WMV3'
biSizeImage 2764800
Unknown extra header dump: [4b] [f1] [2] [1] [40] [1f]
===========================
list_end=0x114C
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: U (55)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 24000/1 = 24000.000
Start: 0 Len: 35634999
Suggested BufferSize: 201
Quality 0
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=573
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
list_end=0x15967124
Found movie at 0x1800 - 0x15967124
Reading INDEX block, 355994 chunks for 177997 frames (fpos=362180908).
AVI index offset: 0x17FC (movi=0x1800 idx0=0x4 idx1=0xD4)
Auto-selected AVI video ID = 0
AVI_NI: No audio stream found -> no sound.
AVI video size=323638345 (177997) audio size=0 (0)
VIDEO: [WMV3] 1280x720 24bpp 119.880 fps 1743.7 kbps (212.9
kbyte/s)
[V] filefmt:3 fourcc:0x33564D57 size:1280x720 fps:119.88
ftime:=0.0083
get_path('sub/') -> '/home/robh/.mplayer/sub/'
Opening video filter: [framestep=I]
==========================================================================
Opening video decoder: [dmo] DMO video codecs
get_path('registry') -> '/home/robh/.mplayer/registry'
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
GetOutput r=0x0 size:2764800 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 1280 x 720 (preferred colorspace: Packed YUY2)
Trying filter chain: framestep vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (1280x720->1280x720,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401 req=0x400
VO: [null] 1280x720 => 1280x720 Planar YV12
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
INFO: Win32/DMO video codec init OK.
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
*** [framestep] Allocating mp_image_t, 1280x720x12bpp YUV planar,
1382400 bytes
Uninit video: dmo6 169% 0% 0.0% 0 0 48%
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
vo: x11 uninit called but X11 not inited..
Exiting... (Quit)
More information about the MPlayer-users
mailing list