[MEncoder-users] Subtitles: unable to playback vobsub

Tim McCoy timsy_01 at hotmail.com
Sun Apr 2 03:57:28 CEST 2006


Hi all,

I've been playing with subtitles lately, and wanted to know why I can't seem 
to play back the subtitles. I encoded them using MEncoder, and I'm 
attempting playback with MPlayer. The subtitles were grabbed using the 
following:

---------------------

http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-extractsub.html

and the resulting .idx and .sub files seem fine. The first few lines of the 
.idx files are

# VobSub index file, v7 (do not modify this line!)
#
# Generated by MPlayer 1.0pre7-3.3.6
# See <URL:http://www.mplayerhq.hu/> for more information about MPlayer
# See <URL:http://vobsub.edensrising.com/> for more information about Vobsub
#
size: 720x576
palette: d2522e, d25429, 101010, eaeaea, 438143, ec14ed, ebff0b, 0d617a, 
7b7b7b, d1d1d1, 7b2a0e, 0d790d, 0ce60b, eaeaea, bc5a38, bbd838
# ON: displays only forced subtitles, OFF: shows everything
forced subs: OFF

# Language index in use
langidx: 0

id: en, index: 0
timestamp: 00:00:24:159, filepos: 000001000
timestamp: 00:00:29:279, filepos: 000002000
timestamp: 00:00:30:559, filepos: 000002800
timestamp: 00:00:36:919, filepos: 000003800
timestamp: 00:00:39:479, filepos: 000004800
timestamp: 00:00:43:799, filepos: 000005800

---------------------

...but when attempting playback, the following occurs. I know the -slang 
option isn't ideal, but the results are the same when using the -vobsub and 
-vobsubid options. The files movie.avi, movie.idx and movie.sub are in the 
same directory!

$ mplayer movie.avi -slang eng

..I've only copied the really interesting parts of the debugging output.

---------------------

Playing movie.avi.
[vobsub] subtitle (vobsubid): 0 language en
[vobsub] subtitle (vobsubid): 1 language en
Selected VOBSUB language: 0 language: en
.
.
.
dvdsublang...movie eng
SUB: Could not determine file format
Cannot load subtitles: ./movie.sub

---------------------

Versions as follows

MPlayer 1.0pre7-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 
0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SS

Linux 2.6.15.2
Debian Sid (not that recent, though)

Any ideas as to why the subtitle file cannot "be determined"? I can play 
DVDs with subtitles fine with something like "mplayer dvd://1 -slang en". I 
know this is probably an MPlayer question, but the MEncoder users might know 
more!

Cheers

Tim

--
"Linux... because rebooting is for adding new hardware!"

http://penguinpusher.cjb.net
MSN: timsy_01 at hotmail.com
ICQ: 160341067





More information about the MEncoder-users mailing list