[MPlayer-users] count resets when playing dvd, external subs
Robert Henney
robh at rut.org
Thu Mar 10 03:25:33 CET 2005
I'm attempting to play the Buena Vista R1 of "Castle in the Sky"
and using an extental subtitle file (jacosub format). The issue
I'm encountering is that mplayer's counter keeps resetting
at certain points throughout the movie. Since the counter appears
to be used to decide when subtitles should appear, this has
the effect of continually restarting the subtitles.
In the output below, the resets are occuring at the times when
the "END OF CELL" lines are getting printed.
Is there a way around this problem?
MPlayer dev-CVS-050309-17:16-2.95.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
CommandLine: '-sub' '/home/robh/laputa/lap_ld/Laputa-1.js' '-subdelay' '12.5' '-alang' 'ja' '-quiet' '-v' 'dvd://2'
init_freetype
get_path('font/font.desc') -> '/home/robh/.mplayer/font/font.desc'
Font /home/robh/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/robh/.mplayer/input.conf'
Can't open input config file /home/robh/.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
get_path('2.conf') -> '/home/robh/.mplayer/2.conf'
Playing dvd://2.
get_path('DVDKeys') -> '/home/robh/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 21 titles on this DVD.
There are 13 chapters in this DVD title.
There are 2 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (stereo) language: ja aid: 129
[open] audio stream: 2 audio format: ac3 (stereo) language: fr aid: 130
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: en
[open] number of subtitles on disk: 2
DVD start cell: 0 pack: 0x0-0x202C
DVD start=0 end=3116137
Selected DVD audio channel: 129 language: ja
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x202C
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://2 ext: (null)
Checking for MOV
Checking for VIVO
header block 1 size: 0
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x202C
Angle-seek synced by cell/vob IDN search!
AVS: avs_check_file - attempting to open file dvd://2
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 66075, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x20 cell=0 packs: 0x0-0x202C
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x202C
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851709
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
dvd_next_cell: next1=0x3
dvd_next_cell: next2=0x4
dvd_next_cell: next3=0x5
dvd_next_cell: next1=0x5
dvd_next_cell: next2=0x5
dvd_next_cell: next3=0x6
dvd_next_cell: next1=0x6
dvd_next_cell: next2=0x6
dvd_next_cell: next3=0x7
dvd_next_cell: next1=0x7
dvd_next_cell: next2=0x7
dvd_next_cell: next3=0x8
dvd_next_cell: next1=0x8
dvd_next_cell: next2=0x8
dvd_next_cell: next3=0x9
dvd_next_cell: next1=0x9
dvd_next_cell: next2=0x9
dvd_next_cell: next3=0xA
dvd_next_cell: next1=0xA
dvd_next_cell: next2=0xA
dvd_next_cell: next3=0xB
dvd_next_cell: next1=0xB
dvd_next_cell: next2=0xB
dvd_next_cell: next3=0xC
dvd_next_cell: next1=0xC
dvd_next_cell: next2=0xC
dvd_next_cell: next3=0xD
dvd_next_cell: next1=0xD
dvd_next_cell: next2=0xD
dvd_next_cell: next3=0xE
dvd_next_cell: next1=0xE
dvd_next_cell: next2=0xE
dvd_next_cell: next3=0xF
dvd_next_cell: next1=0xF
dvd_next_cell: next2=0xF
dvd_next_cell: next3=0x10
dvd_next_cell: next1=0x10
dvd_next_cell: next2=0x10
dvd_next_cell: next3=0x11
dvd_next_cell: next1=0x11
dvd_next_cell: next2=0x11
dvd_next_cell: next3=0x12
dvd_next_cell: next1=0x12
dvd_next_cell: next2=0x12
dvd_next_cell: next3=0x13
dvd_next_cell: next1=0x13
dvd_next_cell: next2=0x13
dvd_next_cell: next3=0x14
DVD Seek! lba=0x17C5BA cell=20 packs: 0x17C51D-0x1B0A89
Angle-seek synced by cell/vob IDN search!
==> Found subtitle: 0
==> Found subtitle: 1
==> Found audio stream: 128
==> Found audio stream: 129
==> Found audio stream: 130
==> Found subtitle: 2
==> Found subtitle: 3
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
dvd_next_cell: next1=0x3
dvd_next_cell: next2=0x4
dvd_next_cell: next3=0x5
dvd_next_cell: next1=0x5
dvd_next_cell: next2=0x5
dvd_next_cell: next3=0x6
dvd_next_cell: next1=0x6
dvd_next_cell: next2=0x6
dvd_next_cell: next3=0x7
dvd_next_cell: next1=0x7
dvd_next_cell: next2=0x7
dvd_next_cell: next3=0x8
dvd_next_cell: next1=0x8
dvd_next_cell: next2=0x8
dvd_next_cell: next3=0x9
dvd_next_cell: next1=0x9
dvd_next_cell: next2=0x9
dvd_next_cell: next3=0xA
dvd_next_cell: next1=0xA
dvd_next_cell: next2=0xA
dvd_next_cell: next3=0xB
dvd_next_cell: next1=0xB
dvd_next_cell: next2=0xB
dvd_next_cell: next3=0xC
dvd_next_cell: next1=0xC
dvd_next_cell: next2=0xC
dvd_next_cell: next3=0xD
dvd_next_cell: next1=0xD
dvd_next_cell: next2=0xD
dvd_next_cell: next3=0xE
dvd_next_cell: next1=0xE
dvd_next_cell: next2=0xE
dvd_next_cell: next3=0xF
dvd_next_cell: next1=0xF
dvd_next_cell: next2=0xF
dvd_next_cell: next3=0x10
dvd_next_cell: next1=0x10
dvd_next_cell: next2=0x10
dvd_next_cell: next3=0x11
dvd_next_cell: next1=0x11
dvd_next_cell: next2=0x11
dvd_next_cell: next3=0x12
dvd_next_cell: next1=0x12
dvd_next_cell: next2=0x12
dvd_next_cell: next3=0x13
dvd_next_cell: next1=0x13
dvd_next_cell: next2=0x13
dvd_next_cell: next3=0x14
dvd_next_cell: next1=0x14
dvd_next_cell: next2=0x14
dvd_next_cell: next3=0x15
dvd_next_cell: next1=0x15
dvd_next_cell: next2=0x15
dvd_next_cell: next3=0x16
dvd_next_cell: next1=0x16
dvd_next_cell: next2=0x16
dvd_next_cell: next3=0x17
dvd_next_cell: next1=0x17
dvd_next_cell: next2=0x17
dvd_next_cell: next3=0x18
dvd_next_cell: next1=0x18
dvd_next_cell: next2=0x18
dvd_next_cell: next3=0x19
dvd_next_cell: next1=0x19
dvd_next_cell: next2=0x19
dvd_next_cell: next3=0x1A
dvd_next_cell: next1=0x1A
dvd_next_cell: next2=0x1A
dvd_next_cell: next3=0x1B
dvd_next_cell: next1=0x1B
dvd_next_cell: next2=0x1B
dvd_next_cell: next3=0x1C
dvd_next_cell: next1=0x1C
dvd_next_cell: next2=0x1C
dvd_next_cell: next3=0x1D
dvd_next_cell: next1=0x1D
dvd_next_cell: next2=0x1D
dvd_next_cell: next3=0x1E
dvd_next_cell: next1=0x1E
dvd_next_cell: next2=0x1E
dvd_next_cell: next3=0x1F
dvd_next_cell: next1=0x1F
dvd_next_cell: next2=0x1F
dvd_next_cell: next3=0x20
dvd_next_cell: next1=0x20
dvd_next_cell: next2=0x21
dvd_next_cell: next3=0x22
DVD Seek! lba=0x2F8BBC cell=34 packs: 0x2F8BBC-0x2F8C64
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
dvd_next_cell: next1=0x22
dvd_next_cell: next2=0x22
dvd_next_cell: next3=0x23
DVD next cell: 35 pack: 0x2F8C65-0x2F8C69
--- END OF CELL !!! ---
dvd_next_cell: next1=0x23
dvd_next_cell: next2=0x23
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x202C
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
SUB: Detected subtitle file format: jacosub
SUB: Read 306 subtitles.
SUB: added subtitle file (1): /home/robh/laputa/lap_ld/Laputa-1.js
get_path('sub/') -> '/home/robh/.mplayer/sub/'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
AC3: 2.0 (dolby) 48000 Hz 192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
tdfx_vid: Can't open /dev/tdfx_vid: No such device
tdfxfb: 8 bpp output is not supported
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00001e).
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
AF_pre: 48000Hz/2ch/s16le
ao2: 48000 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch s16le (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 854x480 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 42 for hw scaling
[xv] dx: 0 dy: 0 dw: 854 dh: 512
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[xv] dx: 0 dy: 0 dw: 854 dh: 512
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
demux_mpg: 24fps progressive NTSC content detected, switching framerate.
--- END OF CELL !!! ---
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
DVD next cell: 2 pack: 0x2295-0x17F19
--- END OF CELL !!! ---
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
DVD next cell: 3 pack: 0x17F1A-0x2AC03
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: libmpeg2
vo: uninit ...
Exiting... (Quit)
--
robh
More information about the MPlayer-users
mailing list