[MPlayer-users] BUGREPORT -vf cropdetect does not work

John Brown johnbrown105 at hotmail.com
Wed Jun 27 15:20:48 CEST 2007


I ran the following command:

mplayer.exe -v c:/dvd/build/01.mpg -vf cropdetect

It did not display a single frame and played a fraction of a second of audio
before quitting. That is, it did not crash. 01.mpg is a DVD-compliant 
MPEG-II
file created with MEncoder, but it does not work with any other file.

See full output below.
======================
MPlayer dev-SVN-r23673-3.4.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> 
'C:/msys/1.0/home/Administrator/mplayer/codecs.conf'
Reading C:/msys/1.0/home/Administrator/mplayer/codecs.conf: Can't open
'C:/msys/1.0/home/Administrator/mplayer/codecs.conf': No such file or 
directory
Reading /mingw/etc/mplayer/codecs.conf: Can't open
'/mingw/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --disable-vidix-internal --disable-vidix-external
--enable-debug=3 --prefix=/mingw --enable-static --codecsdir=codecs
--disable-sdl --disable-pthreads
CommandLine: '-v' 'c:/dvd/build/01.mpg' '-vf' 'cropdetect'
init_freetype
get_path('font/font.desc') ->
'C:/msys/1.0/home/Administrator/mplayer/font/font.desc'
font: can't open file: C:/msys/1.0/home/Administrator/mplayer/font/font.desc
font: can't open file: /mingw/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'C:/msys/1.0/home/Administrator/mplayer/fonts'
Using Windows native timing
get_path('input.conf') -> 
'C:/msys/1.0/home/Administrator/mplayer/input.conf'
Can't open input config file 
C:/msys/1.0/home/Administrator/mplayer/input.conf:
No such file or directory
Can't open input config file /mingw/etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
get_path('01.mpg.conf') -> 
'C:/msys/1.0/home/Administrator/mplayer/01.mpg.conf'

Playing c:/dvd/build/01.mpg.
get_path('sub/') -> 'C:/msys/1.0/home/Administrator/mplayer/sub/'
WINSOCK2 init: 0
[file] File size is 238993408 bytes
STREAM: [file] c:/dvd/build/01.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename c:/dvd/build/01.mpg ext: .mpg
LAVF_check: MPEG PS format
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file c:/dvd/build/01.mpg
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 66135, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851704
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 128
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  704x480  (aspect 2)  29.970 fps  7000.0 kbps (875.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:704x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> 'C:/msys/1.0/home/Administrator/mplayer/sub/'
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>14 BGR32 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12  not supported
<vo_directx><FORMAT OVERLAY>1 I420  not supported
<vo_directx><FORMAT OVERLAY>2 IYUV  not supported
<vo_directx><FORMAT OVERLAY>3 YVU9  not supported
<vo_directx><FORMAT OVERLAY>4 YUY2  not supported
<vo_directx><FORMAT OVERLAY>5 UYVY  not supported
<vo_directx><FORMAT OVERLAY>6 BGR8  not supported
<vo_directx><FORMAT OVERLAY>7 RGB15 not supported
<vo_directx><FORMAT OVERLAY>8 BGR15 not supported
<vo_directx><FORMAT OVERLAY>9 RGB16 not supported
<vo_directx><FORMAT OVERLAY>10 BGR16 not supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 not supported
<vo_directx><FORMAT OVERLAY>14 BGR32 not supported
<vo_directx><INFO>Your card supports 0 of 15 overlayformats
<vo_directx><WARN>Your card supports overlay, but we couldn't create one
<vo_directx><INFO>This can have the following reasons:
<vo_directx><INFO>- you are already using an overlay with another app
<vo_directx><INFO>- you don't have enough videomemory
<vo_directx><INFO>- vo_directx doesn't support the cards overlay pixelformat
<vo_directx><INFO>using backpuffer
Opening video filter: [cropdetect]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 704 x 480 (preferred colorspace: Mpeg PES)
Trying filter chain: cropdetect vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale cropdetect vo
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
=================================================
=================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
AC3: 2.0 (stereo)  48000 Hz  96.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
=============================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao_dsound: Output Devices:
0 Primary Sound Driver <--
1 Realtek AC97 Audio
2 Modem #0 Line Playback (emulated)
ao_dsound: DirectSound initialized
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...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
a52: CRC check failed!
No accelerated IMDCT transform found
Using MMX optimized resampler
a52: error at resampling
VDec: vo config request - 704 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: cropdetect vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale cropdetect vo
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.

FATAL: Could not initialize video filters (-vf) or video output (-vo).

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: libmpeg2
WINSOCK2 uninit
ao_dsound: DirectSound uninitialized

Exiting... (End of file)

_________________________________________________________________
Need a break? Find your escape route with Live Search Maps. 
http://maps.live.com/default.aspx?ss=Restaurants~Hotels~Amusement%20Park&cp=33.832922~-117.915659&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=1118863&encType=1&FORM=MGAC01




More information about the MPlayer-users mailing list