[MPlayer-dev-eng] [PATCH] vobsub regression fix?

ismail dönmez ismail.donmez at gmail.com
Sat Dec 18 20:49:23 CET 2004


On Sat, 18 Dec 2004 20:25:14 +0100, Reimar Döffinger
<Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> Hi,
> the attached patch seems to fix it for me (tested on
> TITLE01-ANGLE2.VOB). No idea what else it changes.

Still says cannot load subtitles for me though it loads subtitle fine. See :

cartman at southpark:/opt/development/cvs/main$ ./mplayer -v
/multimedia/Movies/Collateral/CD1/collateral.cd1.dvdrip.xvid-deity.avi
MPlayer dev-CVS-041218-17:59-3.4.4 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE


CommandLine: '-v'
'/multimedia/Movies/Collateral/CD1/collateral.cd1.dvdrip.xvid-deity.avi'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/cartman/.mplayer/input.conf'
Parsing input config file /home/cartman/.mplayer/input.conf
Input config file /home/cartman/.mplayer/input.conf parsed: 1 binds
get_path('collateral.cd1.dvdrip.xvid-deity.avi.conf') ->
'/home/cartman/.mplayer/collateral.cd1.dvdrip.xvid-deity.avi.conf'
Playing /multimedia/Movies/Collateral/CD1/collateral.cd1.dvdrip.xvid-deity.avi.
vobsub: ignoring scale: 100%, 100%
vobsub: ignoring alpha: 100%
vobsub: ignoring smooth: OFF
vobsub: ignoring fadein/out: 50, 50
vobsub: ignoring align: OFF at LEFT TOP
vobsub: ignoring time offset: 0
[vobsub] subtitle (vobsubid): 0 language en
[vobsub] subtitle (vobsubid): 2 language fr
[vobsub] subtitle (vobsubid): 4 language es
[vobsub] subtitle (vobsubid): 6 language en
[vobsub] subtitle (vobsubid): 8 language fr
Selected VOBSUB language: 0 language: en
[file] File size is 732010496 bytes
STREAM: [file] /multimedia/Movies/Collateral/CD1/collateral.cd1.dvdrip.xvid-deity.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2286
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 93105   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 256
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 2997/125 = 23.976
Start: 0   Len: 93105
Suggested BufferSize: 100438
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 256
  biPlanes 1
  biBitCount 12
  biCompression 1145656920='XVID'
  biSizeImage 983040
===========================
Regenerating keyframe table for MPEG4 video
list_end=0x217A
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 56000/1 = 56000.000
Start: 0   Len: 217460507
Suggested BufferSize: 28000
Quality -1
Sample size: 1
==========================
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 5
Samplerate: 48000
avg byte/sec: 56000
Block align: 1
bits/sample: 0
cbSize: 18
Unknown extra header dump: [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0]
===========================
list_end=0x2286
AVI: dmlh found (size=248) (total_frames=93105)
list_end=0x22AA
hdr=Software  size=15
Software  : Nandub v1.0rc2
list_end=0x2B741DB6
Found movie at 0x280C - 0x2B741DB6
Reading INDEX block, 186200 chunks for 93105 frames (fpos=0x2b741dbe)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x6D6C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=509973998 (93105) audio size=217460507 (217460507)
VIDEO:  [XVID]  640x256  12bpp  23.976 fps  1050.6 kbps (128.2 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:640x256  fps:23.98  ftime:=0.0417
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/cartman/.mplayer/sub/'
dvdsublang...collateral cd1 dvdrip xvid deity en
SUB: Could not determine file format
Cannot load subtitles:
/multimedia/Movies/Collateral/CD1/collateral.cd1.dvdrip.xvid-deity.sub
get_path('default.sub') -> '/home/cartman/.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: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
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 1024x768 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
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter lavcresample
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: compiled for ALSA-1.0.7
alsa-init: soundcard set to default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 4096
alsa-init: fragcount=4
alsa-init: got buffersize=65536
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
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/16bit -> 44100Hz/2ch/16bit...
Starting playback...
alsa-space: free space = 65536, prepared --
[libaf] Reallocating memory in module lavcresample, old len = 0, new len = 60212
[ffmpeg] aspect_ratio: 2.500000
VDec: vo config request - 640 x 256 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.50:1 - prescaling to correct movie aspect.
VO Config (640x256->640x256,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x256 => 640x256 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 145 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 256
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_STAYS_ON_TOP.
*** [vo] Allocating (slices) mp_image_t, 640x256x12bpp YUV planar, 245760 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 256
XXX initial  v_pts=0.000  a_pos=28000 (0.500)  1 ??% ??% ??,?% 1 0
*** [vo] Allocating (slices) mp_image_t, 640x256x12bpp YUV planar, 245760 bytes
Unicode font: 255 glyphs.
alsa-space: xrun of at least 0.600 msecs. resetting stream?,?% 2 0
alsa-space: free space = 0, xrun --
*** [vo] Allocating (slices) mp_image_t, 640x256x12bpp YUV planar, 245760 bytes
alsa-space: free space = 65536, prepared --3/  3 ??% ??% ??,?% 3 0
Uninit audio filters...-0.085 ct: -0.002  48/ 48 10% 24%  5.1% 17 0
[libaf] Removing filter lavcresample
uninit audio: liba52
uninit video: ffmpeg
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (Quit)



-- 
Time is what you make of it




More information about the MPlayer-dev-eng mailing list