[MPlayer-users] subtitles not working?

Ulion ulion2002 at gmail.com
Sat Dec 22 17:36:35 CET 2007


2007/12/23, Steven Adeff <adeffs.mythtv at gmail.com>:
> On Dec 21, 2007 9:02 PM, Ulion <ulion2002 at gmail.com> wrote:
> > 2007/12/22, Steven Adeff <adeffs.mythtv at gmail.com>:
> >
> > > They used to work when I had mplayer installed via the ubuntu package,
> > > now they're not displaying with my SVN compile. Can anyone tell me
> > > what I've done wrong? Thanks!
> > >
> > > MPlayer dev-SVN-r25165-4.1.3 (C) 2000-2007 MPlayer Team
> > > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15,
> > > Model: 35, Stepping: 2)
> > > CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> > > Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
> > > get_path('codecs.conf') -> '/home/mythtv/.mplayer/codecs.conf'
> > > Reading /home/mythtv/.mplayer/codecs.conf: Can't open
> > > '/home/mythtv/.mplayer/codecs.conf': No such file or directory
> > > Reading /usr/local/etc/mplayer/codecs.conf: Can't open
> > > '/usr/local/etc/mplayer/codecs.conf': No such file or directory
> > > Using built-in default codecs.conf.
> > > Configuration:
> > > CommandLine: '/MythTV/videos/Movies.HDTV/Letters From Iwo Jima.mkv' '
> > > -slang eng,en,und'
> > > init_freetype
> > > get_path('font/font.desc') -> '/home/mythtv/.mplayer/font/font.desc'
> > > font: can't open file: /home/mythtv/.mplayer/font/font.desc
> > > font: can't open file: /usr/local/share/mplayer/font/font.desc
> > > Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> > > get_path('fonts') -> '/home/mythtv/.mplayer/fonts'
> > > Using nanosleep() timing
> > > get_path('input.conf') -> '/home/mythtv/.mplayer/input.conf'
> > > Can't open input config file /home/mythtv/.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
> > > Setting up LIRC support...
> > > get_path('Letters From Iwo Jima.mkv.conf') ->
> > > '/home/mythtv/.mplayer/Letters From Iwo Jima.mkv.conf'
> > >
> > > Playing /MythTV/videos/Movies.HDTV/Letters From Iwo Jima.mkv.
> > > get_path('sub/') -> '/home/mythtv/.mplayer/sub/'
> > > [file] File size is 8535810305 bytes
> > > STREAM: [file] /MythTV/videos/Movies.HDTV/Letters From Iwo Jima.mkv
> > > STREAM: Description: File
> > > STREAM: Author: Albeu
> > > STREAM: Comment: based on the code from ??? (probably Arpi)
> > > CACHE_PRE_INIT: 0 [0] 0  pre:1677721  eof:0
> > > Cache fill: 19.92% (1671168 bytes)
> > > LAVF_check: Matroska file format
> > > Checking for YUV4MPEG2
> > > ASF_check: not ASF guid!
> > > Checking for NuppelVideo
> > > Checking for REAL
> > > Checking for SMJPEG
> > > [mkv] Found the head...
> > > [mkv] + a segment...
> > > [mkv] /---- [ parsing seek head ] ---------
> > > [mkv] /---- [ parsing seek head ] ---------
> > > [mkv] \---- [ parsing seek head ] ---------
> > > [mkv] /---- [ parsing cues ] -----------
> > > [mkv] \---- [ parsing cues ] -----------
> > > [mkv] \---- [ parsing seek head ] ---------
> > > [mkv] |+ segment information...
> > > [mkv] | + timecode scale: 1000000
> > > [mkv] | + duration: 8437.472s
> > > [mkv] |+ segment tracks...
> > > [mkv] | + a track...
> > > [mkv] |  + Track number: 1
> > > [mkv] |  + Track type: Video
> > > [mkv] |  + Default flag: 1
> > > [mkv] |  + Codec ID: V_MPEG4/ISO/AVC
> > > [mkv] |  + CodecPrivate, length 39
> > > [mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
> > > [mkv] |  + Language: und
> > > [mkv] |  + Name: Video
> > > [mkv] |  + Video track
> > > [mkv] |   + Pixel width: 1920
> > > [mkv] |   + Pixel height: 784
> > > [mkv] |   + Display width: 1920
> > > [mkv] |   + Display height: 784
> > > [mkv] | + a track...
> > > [mkv] |  + Track number: 2
> > > [mkv] |  + Track type: Audio
> > > [mkv] |  + Default flag: 1
> > > [mkv] |  + Codec ID: A_AC3
> > > [mkv] |  + Default duration: 32.000ms ( = 31.250 fps)
> > > [mkv] |  + Language: fin
> > > [mkv] |  + Name: Finnish (AC3)
> > > [mkv] |  + Audio track
> > > [mkv] |   + Sampling frequency: 48000.000000
> > > [mkv] |   + Channels: 6
> > > [mkv] | + a track...
> > > [mkv] |  + Track number: 3
> > > [mkv] |  + Track type: Subtitle
> > > [mkv] |  + Default flag: 1
> > > [mkv] |  + Codec ID: S_TEXT/UTF8
> > > [mkv] |  + Language: und
> > > [mkv] |+ found cluster, headers are parsed completely :)
> > > ==> Found video stream: 1
> > > [mkv] Aspect: 2.448980
> > > [mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Video", -vid 0
> > > ==> Found audio stream: 2
> > > [mkv] Track ID 2: audio (A_AC3) "Finnish (AC3)", -aid 0, -alang fin
> > > [mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang und
> > > [mkv] Will play video track 1.
> > > Matroska file format detected.
> > > VIDEO:  [avc1]  1920x784  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
> > > [V] filefmt:31  fourcc:0x31637661  size:1920x784  fps:23.98  ftime:=0.0417
> > > get_path('sub/') -> '/home/mythtv/.mplayer/sub/'
> > > X11 opening display: :0
> > > vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
> > > vo: X11 running at 1920x1080 with depth 24 and 32 bpp (":0" => local display)
> > > [x11] Unknown wm type...
> > > [x11] Current fstype setting doesn't honour any X atoms
> > > [xv common] Drawing no colorkey.
> > > [xv common] Maximum source image dimensions: 2046x2046
> > > [vo] query(Planar YV12) -> 3
> > > [ass] auto-open
> > > [ass] Init
> > > get_path('fonts') -> '/home/mythtv/.mplayer/fonts'
> > > get_path('subfont.ttf') -> '/home/mythtv/.mplayer/subfont.ttf'
> > > [ass] Updating font cache.
> > > ==========================================================================
> > > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> > > INFO: libavcodec init OK!
> > > Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> > > ==========================================================================
> > > ==========================================================================
> > > Forced audio codec: hwdts
> > > Forced audio codec: hwac3
> > > Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
> > > dec_audio: Allocating 8192 bytes for input buffer.
> > > dec_audio: Allocating 16384 + 65536 = 81920 bytes for output buffer.
> > > No accelerated IMDCT transform found
> > > hwac3: switched to AC3, 640000 bps, 48000 Hz
> > > AUDIO: 48000 Hz, 2 ch, ac3, 640.0 kbit/41.67% (ratio: 80000->192000)
> > > Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
> > > ==========================================================================
> > > Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/0ch/??...
> > > [libaf] Adding filter dummy
> > > [dummy] Was reinitialized: 48000Hz/2ch/ac3
> > > [dummy] Was reinitialized: 48000Hz/2ch/ac3
> > > alsa-init: requested format: 48000 Hz, 2 channels, 100
> > > alsa-init: using ALSA 1.0.14a
> > > alsa-spdif-init: playing AC3, 2 channels
> > > alsa-init: using device digital
> > > [AO_ALSA] alsa-lib: conf.c:3949:(snd_config_expand) Unknown parameters AES0=6
> > > [AO_ALSA] alsa-lib: pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM
> > > digital:AES0=6
> > > alsa-init: pcm opened 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 ac3 (1 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/ac3 -> 48000Hz/2ch/ac3...
> > > [dummy] Was reinitialized: 48000Hz/2ch/ac3
> > > [dummy] Was reinitialized: 48000Hz/2ch/ac3
> > > Starting playback...
> > > Increasing filtered audio buffer size from 0 to 65536
> > > [ffmpeg] aspect_ratio: 0.000000
> > > VDec: vo config request - 1920 x 784 (preferred colorspace: Planar YV12)
> > > Trying filter chain: ass vo
> > > VDec: using Planar YV12 as output csp (no 0)
> > > Movie-Aspect is 2.45:1 - prescaling to correct movie aspect.
> > > VO Config (1920x784->1920x784,flags=1,'MPlayer',0x32315659)
> > > REQ: flags=0x437  req=0x0
> > > VO: [xv] 1920x784 => 1920x784 Planar YV12  [fs]
> > > 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
> > > using Xvideo port 355 for hw scaling
> > > [xv-fs] dx: 0 dy: 148 dw: 1920 dh: 784
> > > [xv] dx: 0 dy: 148 dw: 1920 dh: 784
> > > *** [ass] Exporting mp_image_t, 1920x784x12bpp YUV planar, 2257920 bytes
> > > *** [vo] Allocating mp_image_t, 1920x784x12bpp YUV planar, 2257920 bytes
> > > get_path('subfont.ttf') -> '/home/mythtv/.mplayer/subfont.ttf'
> > > Unicode font: 255 glyphs.
> > > [xv] dx: 0 dy: 0 dw: 1920 dh: 1080
> > > [xv-fs] dx: 0 dy: 148 dw: 1920 dh: 784
> > > [h264 @ 0x885adf0]Cannot parallelize deblocking type 1, decoding such
> > > frames in sequential order
> > > Uninit audio filters...-0.000 ct:  0.028 1871/1871 35%  5%  0.8% 0 0 56%
> > > [libaf] Removing filter dummy
> > > Uninit audio: hwac3
> > > Uninit video: ffmpeg
> > > alsa-uninit: pcm closed
> > > vo: uninit ...
> > >
> > > Exiting... (Quit)
> >
> > Did you set sub or osd font?
>
> I have
> #Subtitle stuff
> ass=yes
> ass-font-scale=1
> ass-use-margins=yes
> ass-force-style=FontName=FreeSans
>
> in my .mplayer/config

Never tried such config, how about add fontconfig=yes in config or add
-fontconfig in command line? Or maybe set a subfont or font in config
file in case of fontconfig failure.


-- 
Ulion



More information about the MPlayer-users mailing list