Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#584 closed defect (invalid)

-vf cropdetect crashes mplayer if -vo gl or gl2

Reported by: biterek@… Owned by: reimar
Priority: normal Component: vf
Version: 1.0pre8 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

After upgrading to kernel 2.6.18 and new NVIDIA drivers this bug
occours.MPlayer exits vith

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

Without cropdetect gl works perfectly with athers filters.
On other xv,sdl cropdetect works OK.
1.0rc1 is affected too.

Change History (3)

comment:1 Changed 13 years ago by reimar

  • Resolution set to invalid
  • Status changed from new to closed

1) This is not a crash
2) 1.0rc1 does not yet exist, which is yet another reason to always include the
full MPlayer output as bugreports.html says.
3) Right above the cited message it also says "Try adding the scale filter, e.g.
-vf spp,scale instead of -vf spp." which probably would have helped.
4) something like -vo gl:yuv=2 should work too and in many cases give better
performance (in the combination -vo gl:yuv=2:lscale=1 it will also give better
quality).

Please reopen and include full MPlayer output (also add -v to the commandline!)
if I am wrong on any of these.

comment:2 Changed 13 years ago by biterek@…

(In reply to comment #1)

Thanks

You were right, -vo gl:yuv=2 works with cropdetect.

But I find something else.
In MPlayer 1.0pre8 cropdetect works well with -vo null but in MPlayer dev-SVN-
r19983-3.4.6 it,s not working.
Here is output:


mplayer -v dvd://1 -vo null -vf cropdetect
MPlayer dev-SVN-r19983-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147
get_path('codecs.conf') -> '/home/p/.mplayer/codecs.conf'
Reading /home/p/.mplayer/codecs.conf: Can't open '/home/p/.mplayer/
codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 93 audio & 216 video codecs
CommandLine?: '-v' 'dvd://1' '-vo' 'null' '-vf' 'cropdetect'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay?
Using nanosleep() timing
get_path('input.conf') -> '/home/p/.mplayer/input.conf'
Can't open input config file /home/p/.mplayer/input.conf: No such file or
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 67 binds
get_path('1.conf') -> '/home/p/.mplayer/1.conf'

Playing dvd://1.
get_path('sub/') -> '/home/p/.mplayer/sub/'
URL: dvd://1
Reading disc structure, please wait...
* Zero check failed in ifo_read.c:324

for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000

There are 1 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
audio stream: 0 format: lpcm (stereo) language: unknown aid: 160.
number of audio channels on disk: 1.
number of subtitles on disk: 0
DVD start cell: 0 pack: 0x0-0x20544B
DVD start=0 end=2118731
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
No matching DVD subtitle language found!
CACHE_PRE_INIT: 0 [0] 65536 pre:1677721 eof:0
Cache fill: 16.89% (1417216 bytes)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo?
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://1 ext: (null)
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file dvd://1
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 68572, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
DVD Seek! lba=0x1029AB cell=0 packs: 0x0-0x20544B
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 160
DVD Seek! lba=0x205356 cell=0 packs: 0x0-0x20544B
stream_seek: WARNING! Can't seek to 0x1029AB000 !
cache_stream_seek: WARNING! Can't seek to 0x1029AB6E0 !
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x20544B
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 4103.6 kbps (513.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/p/.mplayer/sub/'
Opening video filter: [cropdetect]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (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
Opening video filter: [lavc]
Trying filter chain: cropdetect lavc 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 lavc vo
The selected video_out device is incompatible with this codec.
Try adding the scale filter, 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: [dvdpcm] Uncompressed DVD/VOB LPCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16be, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dvdpcm] afm: dvdpcm (Uncompressed DVD/VOB LPCM)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16be -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16be
[dummy] Was reinitialized: 48000Hz/2ch/s16be
alsa-init: requested format: 48000 Hz, 2 channels, 8
alsa-init: using ALSA 1.0.11
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Big Endian
AO: [alsa] 48000Hz 2ch s16be (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@…>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16be -> 48000Hz/2ch/s16be...
[dummy] Was reinitialized: 48000Hz/2ch/s16be
[dummy] Was reinitialized: 48000Hz/2ch/s16be
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: cropdetect lavc vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x1 req=0x0
[mpeg1video @ 0x8774cf8]removing common factors from framerate
REQ: flags=0x1 req=0x0
VO: [null] 720x576 => 768x576 Mpeg PES
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma@…>
* [cropdetect] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
* [cropdetect] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
* [lavc] Exporting mp_image_t, 720x576x12bpp YUV planar, 622080 bytes

MPlayer interrupted by signal 11 in module: decode_video

  • MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  • MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: dvdpcm
Uninit video: libmpeg2
alsa-uninit: pcm closed
vo: x11 uninit called but X11 not inited..


Pit

comment:3 Changed 13 years ago by reimar

Can not reproduce, please follow the steps described here:
http://www.mplayerhq.hu/DOCS/HTML/en/bugreports_what.html#bugreports_crash

Note: See TracTickets for help on using tickets.