[MEncoder-users] vobsubout problem with dvdnav: doesn't appear to work
Mike Castle
dalgoda+mplayer at gmail.com
Sat Jun 20 09:42:12 CEST 2009
When using a command like:
mencoder -quiet -vobsubout test-dvd -vobsuboutindex 0 -sid 1 -oac copy
-ovc copy -o /dev/null dvd://1
I get a reasonable looking idx file:
# VobSub index file, v7 (do not modify this line!)
#
# Generated by MPlayer SVN-r29374-4.3.3
# See <URL:http://www.mplayerhq.hu/> for more information about MPlayer
# See <URL:http://wiki.multimedia.cx/index.php?title=VOBsub> for more
information about Vobsub
#
size: 720x480
palette: 101010, 808080, 808080, 808080, 808080, 808080, 808080,
ebebeb, 808080, b0b0b0, 808080, 808080, 808080, 808080, 808080, 808080
# ON: displays only forced subtitles, OFF: shows everything
forced subs: OFF
# Language index in use
langidx: 0
id: en, index: 0
But, if I use dvdnav, not so good:
# VobSub index file, v7 (do not modify this line!)
#
# Generated by MPlayer SVN-r29374-4.3.3
# See <URL:http://www.mplayerhq.hu/> for more information about MPlayer
# See <URL:http://wiki.multimedia.cx/index.php?title=VOBsub> for more
information about Vobsub
#
size: 720x480
# ON: displays only forced subtitles, OFF: shows everything
forced subs: OFF
# Language index in use
langidx: 0
id: xx, index: 0
Note that it is missing the palette information and has the language wrong.
Some interesting bits that I've noticed.
When using dvd://1:
MEncoder SVN-r29374-4.3.3 (C) 2000-2009 MPlayer Team
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
There are 42 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (5.1) language: fr aid: 129.
audio stream: 2 format: ac3 (stereo) language: en aid: 130.
number of audio channels on disk: 3.
subtitle ( sid ): 1 language: en
subtitle ( sid ): 3 language: fr
subtitle ( sid ): 5 language: es
number of subtitles on disk: 3
success: format: 2 data: 0x525B800 - 0xff92800
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 7500.0 kbps (937.5 kbyte/s)
When using dvdnav://1
MEncoder SVN-r29374-4.3.3 (C) 2000-2009 MPlayer Team
libdvdnav: Using dvdnav version SVN-r1174
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/home/nexus/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f00000. Regions: 1 2 3 4
libdvdnav: Suspected RCE Region Protection!!!
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (5.1) language: fr aid: 129.
audio stream: 2 format: ac3 (stereo) language: en aid: 130.
subtitle ( sid ): 32 language: en
subtitle ( sid ): 33 language: es
INIT ERROR: couldn't get init pos New position not yet determined.
Remember to disable MPlayer's cache when playing dvdnav:// streams
(adding -nocache to your command line)
success: format: 2 data: 0x0 - 0x0
DVDNAV, switched to title: 2
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (5.1) language: fr aid: 129.
audio stream: 2 format: ac3 (stereo) language: en aid: 130.
subtitle ( sid ): 32 language: en
subtitle ( sid ): 33 language: es
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 7500.0 kbps (937.5 kbyte/s)
Notice that dvdnav only detects 2 subtitles, and gives them completely
different SIDs. I'm not sure if the fact that it outputted all of
that stuff twice is important or not.
The resulting .sub files for both runs are identical. The palette and
id are the only differences in the .idx files.
So, I imagine that -vobsuboutid can fix one of the problems here.
But, what about the missing language? Hmmm... it seems to work
correctly still, and maybe this is nothing more than a minor issue?
More information about the MEncoder-users
mailing list