[MPlayer-users] MP4 embedded subtitles not working
RVM
rvm3000 at ya.com
Tue Jan 29 23:15:46 CET 2008
El Martes, 29 de Enero de 2008 09:12, Reimar Döffinger escribió:
> Hello,
>
> On Tue, Jan 29, 2008 at 02:26:20AM +0100, RVM wrote:
> > I've read this in the svn log:
> >
> > ------------------------------------------------------------------------
> > r25874 | reimar | 2008-01-27 10:08:54 +0100 (dom, 27 ene 2008) | 2 lines
> >
> > Prefer lavf mov demuxer over our own, it should work better most of the
> > time now.
> >
> > ------------------------------------------------------------------------
> >
> > The problem is that now the embedded subtitles in mp4 files don't work.
> > -identify doesn't display info about them, and even the 'j' key doesn't
> > allow to select them.
>
> I forgot to commit a part of my patch, but this is fixed since yesterday
> night.
I've just compiled MPlayer dev-SVN-r25915. There's still no trace of the
subtitles when using lavfpref as demuxer (the default):
mplayer 1Video_2Audio_2SUBs_timed_text_streams_.mp4 -identify -v
MPlayer dev-SVN-r25915-3.3.4 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 4, Stepping: 10)
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/ricardo/.mplayer/codecs.conf'
Reading /home/ricardo/.mplayer/codecs.conf: Can't open
'/home/ricardo/.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: --disable-tv --disable-tv-teletext --disable-radio-v4l2
--disable-v4l2 --disable-dvdread-internal
CommandLine: '1Video_2Audio_2SUBs_timed_text_streams_.mp4' '-identify' '-v'
init_freetype
/home/ricardo/.fonts/arialbd.ttf doesn't look like a bitmap font description,
ignoring.
Cannot load bitmap font: /home/ricardo/.fonts/arialbd.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/ricardo/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/ricardo/.mplayer/input.conf'
Can't open input config file /home/ricardo/.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...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support. You will not be able to use your remote control.
get_path('1Video_2Audio_2SUBs_timed_text_streams_.mp4.conf') ->
'/home/ricardo/.mplayer/1Video_2Audio_2SUBs_timed_text_streams_.mp4.conf'
Playing 1Video_2Audio_2SUBs_timed_text_streams_.mp4.
get_path('sub/') -> '/home/ricardo/.mplayer/sub/'
[file] File size is 6414561 bytes
STREAM: [file] 1Video_2Audio_2SUBs_timed_text_streams_.mp4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: QuickTime/MPEG4/Motion JPEG 2000 format
libavformat file format detected.
==> Found video stream: 0
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
======= VIDEO Format ======
biSize 83
biWidth 688
biHeight 320
biPlanes 0
biBitCount 24
biCompression 1983148141='mp4v'
biSizeImage 660480
Unknown extra header dump: [0] [0] [1] [b0] [f5] [0] [0] [1] [b5] [9] [0] [0]
[1] [0] [0] [0] [1] [20] [8] [ca] [d] [8] [0] [ce] [18] [ac] [21] [40] [a1]
[c1] [0] [0] [1] [b2] [58] [76] [69] [44] [30] [30] [33] [36] [43]
===========================
==> Found audio stream: 1
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 28781 (0x706D)
Channels: 2
Samplerate: 48000
avg byte/sec: 0
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [9] [90]
==========================================================================
==> Found audio stream: 2
ID_AUDIO_ID=2
[lavf] Audio stream found, -aid 2
======= WAVE Format =======
Format Tag: 28781 (0x706D)
Channels: 2
Samplerate: 48000
avg byte/sec: 0
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [9] [90]
==========================================================================
LAVF: 2 audio and 1 video streams found
LAVF: build 3409664
VIDEO: [mp4v] 688x320 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x7634706D size:688x320 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/ricardo/.mplayer/sub/'
ID_FILENAME=1Video_2Audio_2SUBs_timed_text_streams_.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=mp4v
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=688
ID_VIDEO_HEIGHT=320
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=2.1500
ID_AUDIO_FORMAT=28781
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=46.53
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 1280x1024 with depth 16 and 16 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
Disabling DPMS
DPMSDisable stat: 1
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00083e).
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 4608 bytes for input buffer.
dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer.
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 48000Hz channels: 2
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==========================================================================
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
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: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
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
ID_AUDIO_CODEC=faad
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 2.150000
VDec: vo config request - 688 x 320 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.15:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=2.1500
VO Config (688x320->688x320,flags=0,'MPlayer',0x32315659)
VO: [xv] 688x320 => 688x320 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
using Xvideo port 61 for hw scaling
[xv] dx: 0 dy: 0 dw: 688 dh: 320
*** [vo] Allocating (slices) mp_image_t, 688x320x12bpp YUV planar, 330240
bytes
[xv] dx: 0 dy: 0 dw: 688 dh: 320
*** [vo] Allocating (slices) mp_image_t, 688x320x12bpp YUV planar, 330240
bytes
Unicode font: 1418 glyphs.
Unicode font: 1418 glyphs.
*** [vo] Allocating (slices) mp_image_t, 688x320x12bpp YUV planar, 330240
bytes
Uninit audio filters...-0.100 ct: -0.002 31/ 31 24% 5% 1.9% 0 0
[libaf] Removing filter dummy
Uninit audio: faad
FAAD: Closing decoder!
Uninit video: ffmpeg
Successfully enabled DPMS
vo: uninit ...
Exiting... (Quit)
--
RVM
More information about the MPlayer-users
mailing list