[MPlayer-users] seek crash on avi with unsupported video codec
Adrian Bunk
bunk at stusta.de
Sun Nov 25 16:21:05 CET 2012
The following happens on seek (right arrow key):
<-- snip -->
$ mplayer file.avi
MPlayer SVN-r35472-4.7 (C) 2000-2012 MPlayer Team
Playing file.avi.
libavformat version 54.37.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [CFHD] 1440x1080 24bpp 29.970 fps 53461.4 kbps (6526.0 kbyte/s)
Load subtitles in ./
==========================================================================
Requested video codec family [cineformhd] (vfm=dshow) not available.
Enable it at compilation.
Requested video codec family [cfhdvfw] (vfm=vfw) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x44484643.
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
DVB card number must be between 1 and 4
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 10.1 (10.0) of 1682.3 (28:02.2) 0.1%
MPlayer interrupted by signal 11 in module: seek
- 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.
$
<-- snip -->
The problem is that in libmpdemux/demux_avi.c:demux_seek_avi()
sh_video is NULL, and the crash happens in line 609:
int rel_seek_frames=rel_seek_secs*sh_video->fps;
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
More information about the MPlayer-users
mailing list