[MPlayer-users] reset OSD time at change of chapter
Karthik
molecularbiophysics at gmail.com
Fri Dec 29 23:55:29 CET 2006
Hi,
I have a DVD that has NO subtitles and I am trying load subtitles it
with external subtitle file. The subtitles work fine until 18 - 19
chapter transition.
Strangely, the OSD timer is reset to 0:00:00 from time 1:21:36 when
moving from 18 - 19 chapter resulting in (wrong) subtitles and mplayer
starts displaying subtitles from the first line (i.e) beginning of
movie 0:00:00.
Many thanks for any ideas,
Karthik
----------------------------
[karthik at rishi] 147 (~): gmplayer -identify -v dvd://7 -sub
delete/dump.mpsub -vo xv -chapter 18 -ss 11:00
MPlayer 1.0rc1-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.60GHz (Family: 6, Model: 13, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
Adding filename 7 && pathname dvd:/
get_path('codecs.conf') -> '/home/karthik/.mplayer/codecs.conf'
Reading /home/karthik/.mplayer/codecs.conf: Can't open
'/home/karthik/.mplayer/codecs.conf': No such file or directory
Reading /software/mplayer_1.0rc1/etc/mplayer/codecs.conf: Can't open
'/software/mplayer_1.0rc1/etc/mplayer/codecs.conf': No such file or
directory
Using built-in default codecs.conf.
CommandLine: '-identify' '-v' 'dvd://7' '-sub' 'delete/dump.mpsub'
'-vo' 'xv' '-chapter' '18' '-ss' '11:00'
init_freetype
get_path('font/font.desc') -> '/home/karthik/.mplayer/font/font.desc'
Bitmap font /home/karthik/.mplayer/font/font.desc loaded successfully!
(233 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/karthik/.mplayer/input.conf'
Parsing input config file /home/karthik/.mplayer/input.conf
Input config file /home/karthik/.mplayer/input.conf parsed: 54 binds
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2a, depth 24, R:FF0000 G:FF00 B:FF
get_path('skins') -> '/home/karthik/.mplayer/skins'
get_path('Skin') -> '/home/karthik/.mplayer/Skin'
SKIN dir 1: '/home/karthik/.mplayer/skins'
SKIN dir 1 (obsolete): '/home/karthik/.mplayer/Skin'
SKIN dir 2: '/software/mplayer_1.0rc1/share/mplayer/skins'
SKIN dir 2 (obsolete): '/software/mplayer_1.0rc1/share/mplayer/Skin'
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2a, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2a, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2a, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2a, depth 24, R:FF0000 G:FF00 B:FF
get_path('7.conf') -> '/home/karthik/.mplayer/7.conf'
[GUI] Adding video filter: pp
Playing dvd://7.
get_path('sub/') -> '/home/karthik/.mplayer/sub/'
URL: dvd://7
Reading disc structure, please wait...
ID_DVD_TITLES=8
ID_DVD_TITLE_1_CHAPTERS=1
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=2
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=2
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_4_CHAPTERS=2
ID_DVD_TITLE_4_ANGLES=1
ID_DVD_TITLE_5_CHAPTERS=1
ID_DVD_TITLE_5_ANGLES=1
ID_DVD_TITLE_6_CHAPTERS=1
ID_DVD_TITLE_6_ANGLES=1
ID_DVD_TITLE_7_CHAPTERS=33
ID_DVD_TITLE_7_ANGLES=1
ID_DVD_TITLE_8_CHAPTERS=2
ID_DVD_TITLE_8_ANGLES=1
ID_DVD_TITLE_1_LENGTH=5.400
ID_DVD_TITLE_6_LENGTH=10.200
ID_DVD_TITLE_5_LENGTH=15.000
ID_DVD_TITLE_2_LENGTH=15.040
ID_DVD_TITLE_8_LENGTH=193.080
ID_DVD_TITLE_4_LENGTH=228.520
ID_DVD_TITLE_3_LENGTH=21.600
ID_DVD_TITLE_7_LENGTH=8362.560
ID_DVD_DISC_ID=
There are 8 titles on this DVD.
ID_DVD_CURRENT_TITLE=7
There are 33 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
audio stream: 0 format: ac3 (stereo) language: ru aid: 128.
ID_AUDIO_ID=128
ID_AID_128_LANG=ru
number of audio channels on disk: 1.
subtitle ( sid ): 0 language: ru
ID_SUBTITLE_ID=2
ID_SID_0_LANG=ru
number of subtitles on disk: 1
DVD start cell: 17 pack: 0x11C573-0x125B6E
DVD start=1164659 end=2069220
STREAM: [null] dvd://7
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
CACHE_PRE_INIT: 0 [0] 0 pre:209715 eof:0
Cache fill: 0.00% (0 bytes)
DVD Seek! lba=0x11C573 cell=17 packs: 0x11C573-0x125B6E
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://7 ext: (null)
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x12B73
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x11C573 cell=17 packs: 0x11C573-0x125B6E
Angle-seek synced by cell/vob IDN search!
AVS: avs_check_file - attempting to open file dvd://7
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 2385287480, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1167515145
LMLM4 Stream Format not found
system stream synced at 0x8E2B980D (2385221645)!
==> Found video stream: 0
ID_VIDEO_ID=0
DVD Seek! lba=0x218E6A cell=33 packs: 0x1F9229-0x1F92E4
stream_seek: WARNING! Can't seek to 0x10C735000 !
cache_stream_seek: WARNING! Can't seek to 0x10C735770 !
cache_stream_seek: WARNING! Can't seek to 0xFC8F7EE0 !
DVD Seek! lba=0x11C573 cell=17 packs: 0x11C573-0x125B6E
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
==> Found audio stream: 128
ID_AUDIO_ID=128
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 5000.0 kbps (625.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
[file] File size is 58060 bytes
STREAM: [file] delete/dump.mpsub
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
SUB: Detected subtitle file format: mpsub
SUB: Read 1347 subtitles.
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=delete/dump.mpsub
SUB: Added subtitle file (1): delete/dump.mpsub
get_path('sub/') -> '/home/karthik/.mplayer/sub/'
ID_FILENAME=dvd://7
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=5000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=8362.56
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00001e).
[xv common] Maximum source image dimensions: 2048x2048
Opening video filter: [pp]
[vo] query(Planar YV12) -> 3
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
ID_VIDEO_CODEC=ffmpeg2
[PP] Using external postprocessing filter, max q = 6.
AutoQ: setting quality to 6.
==========================================================================
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.
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.10
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ID_AUDIO_CODEC=a52
Starting playback...
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x437 req=0x0
VO: [xv] 720x576 => 1024x576 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 69 for hw scaling
[xv] dx: 0 dy: 0 dw: 1228 dh: 576
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 0 dy: 0 dw: 1228 dh: 576
DVD Seek! lba=0x124FC3 cell=17 packs: 0x11C573-0x125B6E ?,?% 0 6 81%
Angle-seek synced by cell/vob IDN search!
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [vo] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
--- END OF CELL !!! ----0.005 ct: 0.184 259/259 15% 26% 1.4% 0 6 45%
DVD next cell: 18 pack: 0x125B6F-0x130E2E
Uninit audio filters...-0.001 ct: 0.188 425/425 15% 26% 1.3% 0 6 47%
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: ffmpeg
alsa-uninit: pcm closed
[GUI] done.
get_path('gui.conf') -> '/home/karthik/.mplayer/gui.conf'
get_path('gui.pl') -> '/home/karthik/.mplayer/gui.pl'
get_path('gui.url') -> '/home/karthik/.mplayer/gui.url'
get_path('gui.history') -> '/home/karthik/.mplayer/gui.history'
Exiting... (Quit)
More information about the MPlayer-users
mailing list