[MPlayer-users] No subtitles without "rewinding"

William Norfleet williamnorfleet2000 at yahoo.com
Tue Dec 20 15:21:32 CET 2005


On Tue, 2005-12-20 at 08:17 +0500, Mustafa Abbasi wrote:
> On 12/20/05, William Norfleet <williamnorfleet2000 at yahoo.com> wrote:
> >
> > On Mon, 2005-12-19 at 21:12 +0500, Mustafa Abbasi wrote:
> > > On 12/19/05, William Norfleet <williamnorfleet2000 at yahoo.com> wrote:
> > > >
> > > > I'm new at this, so sorry for any breaches of protocol.
> > > >
> > > >
> > > > Version of mplayer (downloaded today from rpm.greysector.net):
> > > > MPlayer dev-Fedora-GS-CVS-051128-12:25-3.4.4 (C) 2000-2005 MPlayer
> > Team
> > > >
> > >
> > > try the latest source code. downlaod directly from cvs of the mplayer
> > site
> > > and install using
> > > mkdir $HOME/mplayer
> > > ./configure --prefix=$HOME/mplayer/
> > > make
> > > make install
> > >
> > > this will not install any files into your system that could possibly
> > cause
> > > problems.
> > > but you will have to run mplayer by the binary installed in the prefix.
> > then
> > > tell uys whether the problem is still occuring.
> > > _______________________________________________
> > > MPlayer-users mailing list
> > > MPlayer-users at mplayerhq.hu
> > > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> > THANK YOU for this response!
> >
> > Alas, problem not fixed.  I did the following, exactly as you suggested:
> > yum remove mplay*
> > downloaded mplayer source code via CVS from the mplayer site
> > compiled mplayer - no apparent errors
> >
> > Behavior is exactly as before:  subtitles will not appear without
> > "rewinding" a few seconds with the left arrow key.
> >
> > I could not evaluate mencoder handling of subtitles because an attempt
> > to run mencoder failed with:
> >
> > MPlayer was compiled without libavcodec. See README or DOCS.
> > MPlayer was compiled without libmp3lame support.
> 
> 
> 
> i see. actually you did not follow the cvs compilation instructions from the
> mplayer websiote and i forgot to tell you. to compile from cvs you need the
> mplayer cvs dl and the ffmpeg cvs download. copy a few files (libavcodec and
> a few others listed on the mplayer site) then compile mplayer. sorry.
> 
> > --
> > William Norfleet <williamnorfleet2000 at yahoo.com>
> >
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
I think I have it right now:  I followed your instructions and those on
mplayerhq.hu, downloaded mplayerCVS and ffmpegCVS source code, compiled
without a hitch, and downloaded and installed fonts per the README.
Overall, mplayer runs fine.  Mencoder also runs fine after switching
from -oac mp3lame to -oac lavc.  However, the subtitle problem remains:
mplayer will not display subtitles until playback is "rewound" using the
left arrow key.  Mencoder does not capture subtitles from this dvd.
Perhaps mencoder can be coaxed into capturing subtitles by some poking
equivalent to the left arrow key under mplayer?  In case it is helpful,
below is the output of mplayer while playing this dvd.  At the very end
of playback I hit the left arrow key, and subtitles appeared.  

[bill at desk bin]$ ./mplayer dvd://1 -slang en
MPlayer dev-CVS-051219-18:48-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Duron Morgan,Camaro (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Playing dvd://1.
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 29 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
Selected DVD subtitle channel: 0 language: en
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  6250.0 kbps (781.2 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 1.0 (mono)  48000 Hz  192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
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))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
A:   0.8 V:   0.8 A-V:  0.021 ct:  0.043  19/ 16 50% 15%  9.1% 3 0
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
alsa-play: xrun of at least 1101.787 msecs. resetting stream6% 3 0
alsa-play: xrun of at least 0.325 msecs. resetting stream196.0% 4 0
A:  17.4 V:  17.4 A-V: -0.014 ct:  0.077 418/415 21%  5% 10.5% 11 0

MPlayer interrupted by signal 2 in module: sleep_rtc
alsa-uninit: pcm closed
[bill at desk bin]$ ./mplayer dvd://1 -v -slang en
MPlayer dev-CVS-051219-18:48-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Duron Morgan,Camaro (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


get_path('codecs.conf') -> '/home/bill/.mplayer/codecs.conf'
Reading /home/bill/.mplayer/codecs.conf: Can't open '/home/bill/.mplayer/codecs.conf': No such file or directory
Reading /home/bill/mplayer//etc/mplayer/codecs.conf: Can't open '/home/bill/mplayer//etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: 'dvd://1' '-v' '-slang' 'en'
init_freetype
get_path('font/font.desc') -> '/home/bill/.mplayer/font/font.desc'
Font /home/bill/.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/bill/.mplayer/input.conf'
Can't open input config file /home/bill/.mplayer/input.conf: No such file or directory
Can't open input config file /home/bill/mplayer//etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('1.conf') -> '/home/bill/.mplayer/1.conf'
Playing dvd://1.
get_path('sub/') -> '/home/bill/.mplayer/sub/'
URL: dvd://1
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 29 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (mono) language: ja aid: 128
[open] audio stream: 1 audio format: ac3 (mono) language: en aid: 129
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: en
[open] number of subtitles on disk: 1
DVD start cell: 0  pack: 0x0-0xA84F
DVD start=0 end=3808564
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
Selected DVD subtitle channel: 0 language: en
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xA84F
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://1 ext: (null)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xA84F
Angle-seek synced by cell/vob IDN search!
Checking for Nullsoft Streaming Video
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xA84F
Angle-seek synced by cell/vob IDN search!
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file dvd://1
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 68737, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x21  cell=0  packs: 0x0-0xA84F
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xA84F
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
DVD Seek! lba=0x1D0E1F  cell=14  packs: 0x1C5AD7-0x1E4716
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 128
==> Found audio stream: 129
==> Found subtitle: 0
DVD Seek! lba=0x3A1C3F  cell=28  packs: 0x38F07D-0x3A1D34
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0xA84F
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  6250.0 kbps (781.2 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/bill/.mplayer/sub/'
get_path('default.sub') -> '/home/bill/.mplayer/default.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.
Using SSE optimized IMDCT transform
AC3: 1.0 (mono)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 800x600 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] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
[xv common] Maximum source image dimensions: 720x576
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: 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
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
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))
==========================================================================
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: compiled for ALSA-1.0.6
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
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
Starting playback...
alsa-space: free space = 65536, prepared --
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 720x540 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: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x36315652 (RV16) packed
using Xvideo port 68 for hw scaling
[xv] dx: 0 dy: 0 dw: 720 dh: 540
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[xv] dx: 0 dy: 0 dw: 720 dh: 540
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
A:   0.8 V:   0.8 A-V:  0.019 ct:  0.042  19/ 16 44%  9%  1.8% 2 0
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.074  89/ 86 25%  5%  1.9% 2 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.078  91/ 88 25%  5%  1.9% 2 0
alsa-space: xrun of at least 0.173 msecs. resetting stream1.9% 2 0
alsa-space: free space = 0, xrun --
alsa-space: free space = 65536, prepared --3/ 90 25%  5%  1.9% 3 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.099  96/ 93 25%  6%  1.9% 5 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.079 134/131 23%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.078 136/133 23%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.079 137/134 23%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.081 138/135 22%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.082 140/137 22%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.081 141/138 22%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.074 240/237 20%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.072 242/239 20%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.077 244/241 20%  5%  1.7% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.079 248/245 20%  5%  1.6% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.080 255/252 20%  5%  1.7% 8 0
alsa-play: xrun of at least 738.343 msecs. resetting stream.9% 8 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540
alsa-space: xrun of at least 28.090 msecs. resetting stream.8% 9 0
alsa-space: free space = 0, xrun --
alsa-space: free space = 65536, prepared --5/432 21%  4%  7.8% 10 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540
alsa-play: xrun of at least 796.349 msecs. resetting stream.7% 14 0
alsa-space: xrun of at least 4.271 msecs. resetting stream3.6% 15 0
alsa-space: free space = 0, xrun --
alsa-space: free space = 65536, prepared --2/449 22%  5% 13.5% 16 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.086 483/480 22%  5% 12.8% 21 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.087 485/482 22%  5% 12.8% 21 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.088 488/485 22%  5% 12.7% 21 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.088 489/486 22%  5% 12.7% 21 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.085 497/494 22%  5% 12.5% 21 0
[xv] dx: 0 dy: 0 dw: 720 dh: 540:  0.102 503/500 22%  5% 12.4% 21 0
DVD Seek! lba=0x843  cell=0  packs: 0x0-0xA84F   22%  5% 10.3% 21 0
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0xD5C  cell=0  packs: 0x0-0xA84F
Angle-seek synced by cell/vob IDN search!
alsa-space: free space = 65536, prepared --
A:  46.2 V:  46.2 A-V:  0.009 ct:  0.200 1339/1336 19%  4%  2.3% 0 0

MPlayer interrupted by signal 2 in module: sleep_rtc
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: libmpeg2
alsa-uninit: pcm closed
vo: uninit ...
[bill at desk bin]$







More information about the MPlayer-users mailing list