[MPlayer-users] [Bug] seeking in avi + vobsub with unknown subtitles

Stefan Gürtler Stefan.guertler at stud.tum.de
Tue Dec 9 22:43:23 CET 2003


I have found a reproduceable bug in mplayer-1.0pre3. It occures in Schascha
Sommer's precompiled MinGW ports and on self-compiled mplayers running on a
debian unstable/testeing
(harddisk-install of Knoppix v3.2)

When i start a avi file with vobsub-file (*.idx and *.sub) named equally to
the avi in the same directory, mplayer crashes every time i try to seek
while the "Subtitles (0) unknown" is
selected.
I guess this is/was the Korean subtitle of thes Korean animation, that
seemes to be removed. See attached *.idx-file. While it is selected, no
subtitles are being displayed in the video output. With the
ohter two subtitles (Subtitles: (-1) none & Subtitles (1) en, choosed by
pressing 'j') or subtitles disabled ('v'), seeking works fine.

This is true for most output-drivers, like directx on win32 or xv, x11, sdl,
gl and gl2 on linux. Though -vo vesa does not crash (the only one in linux i
found up to now not crashing).

Do you need more info? Shall i upload the first part of the avi?
Sorry, in the moment i am too lazy to write a propper bugreport. But if you
say you need more information, i will try to provide them tomorrow. Today i
have already spent too much time behind the screen.

Regards
Stefan


Here is an output of the problem.
$ ./mplayer.exe
Wonderful_Days_\(PosTX_-_NX2GV2EKOVQYTAO3RBKWGZ6RLE3ESNS3\).avi
MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 553.4 MHz (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer
with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file D:/STEFAN/MSYS/1.0/home/Stefan/mplayer/config
Reading D:/STEFAN/MSYS/1.0/home/Stefan/mplayer/codecs.conf: Can't open
'D:/STEFAN/MSYS/1.0/home/Stefan/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.
Font D:/STEFAN/MSYS/1.0/home/Stefan/mplayer/font/font.desc loaded
successfully! (206 chars)
Using usleep() timing
Can't open input config file
D:/STEFAN/MSYS/1.0/home/Stefan/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
getch2: 6 can't get number of input events  [disabling console input]

Playing Wonderful_Days_(PosTX_-_NX2GV2EKOVQYTAO3RBKWGZ6RLE3ESNS3).avi.
No matching VOBSUB languge found!
AVI file format detected.
VIDEO:  [XVID]  608x336  24bpp  23.976 fps  992.4 kbps (121.1 kbyte/s)
Clip info:
 Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [win32] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 608 x 336 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.81:1 - prescaling to correct movie aspect.
VO: [directx] 608x336 => 608x336 Planar YV12


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.

And here is the first part of *.idx

# VobSub index file, v7 (do not modify this line!)
#
# To repair desyncronization, you can insert gaps this way:
# (it usually happens after vob id changes)
#
#  delay: [sign]hh:mm:ss:ms
#
# Where:
#  [sign]: +, - (optional)
#  hh: hours (0 <= hh)
#  mm/ss: minutes/seconds (0 <= mm/ss <= 59)
#  ms: milliseconds (0 <= ms <= 999)
#
#  Note: You can't position a sub before the previous with a negative value.
#
# You can also modify timestamps or delete a few subs you don't like.
# Just make sure they stay in increasing order.


# Settings

# Original frame size
size: 720x480

# Origin, relative to the upper-left corner, can be overloaded by aligment
org: 0, 0

# Image scaling (hor,ver), origin is at the upper-left corner or at the
alignment coord (x, y)
scale: 100%, 100%

# Alpha blending
alpha: 100%

# Smoothing for very blocky images (use OLD for no filtering)
smooth: OFF

# In millisecs
fadein/out: 50, 50

# Force subtitle placement relative to (org.x, org.y)
align: OFF at LEFT TOP

# For correcting non-progressive desync. (in millisecs or hh:mm:ss:ms)
# Note: Not effective in DirectVobSub, use "delay: ... " instead.
time offset: 0

# ON: displays only forced subtitles, OFF: shows everything
forced subs: OFF

# The original palette of the DVD
palette: 535f70, 9aaab1, 000000, fdfdfd, 11eb10, ea12eb, faff1a, 095d76,
7c7c7c, e0e0e0, 701f03, 077307, 00006c, cc0ae9, d2ab0f, 730972

# Custom colors (transp idxs and the four colors)
custom colors: OFF, tridx: 0001, colors: f57d70, f58a3a, 00006c, 69ecd8

# Language index in use
langidx: 0

# English
id: en, index: 1
# Decomment next line to activate alternative name in DirectVobSub / Windows
Media Player 6.x
# alt: English
# Vob/Cell ID: 1, 1 (PTS: 0)
timestamp: 00:00:06:172, filepos: 000000000
timestamp: 00:00:12:712, filepos: 000001800
timestamp: 00:00:20:286, filepos: 000003000
timestamp: 00:00:25:725, filepos: 000004000
timestamp: 00:00:30:930, filepos: 000005800
timestamp: 00:00:37:303, filepos: 000007000
timestamp: 00:00:44:511, filepos: 000008000
timestamp: 00:00:49:249, filepos: 000009800
timestamp: 00:00:53:286, filepos: 00000a800
timestamp: 00:02:04:924, filepos: 00000b800
timestamp: 00:02:06:926, filepos: 00000c800
timestamp: 00:02:08:628, filepos: 00000d800
timestamp: 00:02:37:957, filepos: 00000f000
timestamp: 00:02:39:259, filepos: 00000f800
timestamp: 00:03:02:649, filepos: 000010800
timestamp: 00:03:04:384, filepos: 000011800
timestamp: 00:03:07:387, filepos: 000012800
timestamp: 00:03:10:456, filepos: 000013800
timestamp: 00:03:12:559, filepos: 000014800
timestamp: 00:03:15:595, filepos: 000015800
timestamp: 00:03:17:030, filepos: 000016800
timestamp: 00:03:19:732, filepos: 000017000
timestamp: 00:03:27:840, filepos: 000018000
timestamp: 00:03:30:109, filepos: 000019000
timestamp: 00:03:31:911, filepos: 00001a000
timestamp: 00:03:33:646, filepos: 00001b000
timestamp: 00:03:35:615, filepos: 00001c000
timestamp: 00:03:39:619, filepos: 00001d000
timestamp: 00:03:51:931, filepos: 00001e000
timestamp: 00:04:18:992, filepos: 00001f000
timestamp: 00:04:23:563, filepos: 000020000
# Vob/Cell ID: 1, 2 (PTS: 270870)
timestamp: 00:07:45:064, filepos: 000021000
# Vob/Cell ID: 1, 3 (PTS: 473639)
timestamp: 00:07:57:877, filepos: 000022000
...
(and yet many more paragraphs all with ID: 1, no with ID: 0



More information about the MPlayer-users mailing list