[MPlayer-dev-eng] VobSub subtitles

Attila Kinali kinali at gmx.net
Thu Jan 10 22:16:52 CET 2002


On Thu, 10 Jan 2002 18:21:23 +0100
Kim Minh Kaplan <kmkaplan at selfoffice.com> wrote:

Segfaults here too:

---schnipp---
$ ls
index.html                   Saber Marionette J - 04.idx
Saber Marionette J - 04.avi  Saber Marionette J - 04.sub
---schnipp----
note: .ifo is missing! (dunno if it's really needed or wheter this is
another format)

---schnipp---
(gdb) run -v -vo xmga -vobsub Saber\ Marionette\ J\ -\ 04 Saber\ Marionette\ J\ -\ 04.avi

Starting program: /home/attila/src/mplayer/main/mplayer -v -vo xmga -vobsub Saber\ Marionette\ J\ -\ 04 Saber\ Marionette\ J\ -\ 04.avi
[New Thread 1024 (LWP 32498)]


MPlayer CVS-020110-19:12-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Type: 6, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX
Reading /home/attila/.mplayer/codecs.conf: 26 audio & 70 video codecs
CommandLine: '-v' '-vo' 'xmga' '-vobsub' 'Saber Marionette J - 04' 'Saber Marionette J - 04.avi'
num_filenames: 1
Font /home/attila/.mplayer/font/font.desc loaded successfully! (140 chars)
Linux RTC init: open: Permission denied
Using usleep() timing
Playing Saber Marionette J - 04.avi
Can't open IFO file: No such file or directory
vobsub: ignoring size: 720x480
vobsub: ignoring org: 0, 0
vobsub: ignoring scale: 100%
vobsub: ignoring alpha: 100%
vobsub: ignoring smooth: OFF
vobsub: ignoring fadein/out: 0, 0
vobsub: ignoring align: OFF at LEFT TOP
vobsub: ignoring time offset: 0
vobsub: ignoring custom colors: OFF, tridx: 1000, colors: e3e1e2, dad8d9, d58118, 110f10
vobsub: ignoring langidx: 0
[vobsub] subtitle (vobsubid): 0 language en

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 32498)]
0x4042cc3b in free () from /lib/libc.so.6
(gdb) bt
#0  0x4042cc3b in free () from /lib/libc.so.6
#1  0x4042d471 in realloc () from /lib/libc.so.6
#2  0x4042cfd4 in realloc () from /lib/libc.so.6
#3  0x080685f5 in packet_queue_ensure (queue=0x81cc808, needed_size=513)
    at vobsub.c:341
#4  0x080686b5 in packet_queue_insert (queue=0x81cc808) at vobsub.c:377
#5  0x080691d7 in vobsub_open (name=0x81c9b28 "Saber Marionette J - 04")
    at vobsub.c:692
#6  0x0804f696 in main (argc=7, argv=0xbffff7e4, envp=0xbffff804)
    at mplayer.c:761
#7  0x403d765f in __libc_start_main () from /lib/libc.so.6
(gdb) up 3
#3  0x080685f5 in packet_queue_ensure (queue=0x81cc808, needed_size=513)
    at vobsub.c:341
341                 packet_t *tmp = realloc(queue->packets, 2 * queue->packets_reserve * sizeof(packet_t));
(gdb) p queue
$3 = (packet_queue_t *) 0x81cc808
(gdb) p queue->packets
$4 = (packet_t *) 0x8347488
(gdb) p *(queue->packets)
$5 = {pts100 = 1151, filepos = 0, size = 1396, data = 0x8391ed0 "\005t\005U"}
(gdb) 
---schnapp---

Dont ask me why it segfaults there, for me everything looks fine.
If you need more infos, let me know.


another remark: i first started mplayer with -vobsub x.sub (assuming that it
needs the file directly) to find out that i only have to pass the basename.
Maybe it would be a good idea to try to cut off the "extension" if there is
not .ifo .idx found.


		Attila Kinali

-- 
I am a moslem, i am a terrorist.



More information about the MPlayer-dev-eng mailing list