[MPlayer-dev-eng] Fwd: [MPlayer-users] No subs when sound

Attila Kinali kinali at gmx.net
Mon Feb 10 20:35:15 CET 2003


On Mon, 10 Feb 2003 19:31:10 +0100
Arpi <arpi at thot.banki.hu> wrote:

> i fixed it a week ago
> it was an 1000l of someone else
> (free_subtitles was put into audio uninit code...)

What if i told you that i still can reproduce the bug
with current cvs (main and 0_90) ?

---schnipp--- (mplayer run as nobody to make it unable to open /dev/dsp)
$ ~attila/src/mplayer/main/mplayer Nausicaa\ DVDrip\ DVDyke\ CD1.avi -v -frames 1

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030210-19:33-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/.mplayer/config: No such file or directory
Reading /home/.mplayer/codecs.conf: can't open '/home/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 135 video codecs
CommandLine: 'Nausicaa DVDrip DVDyke CD1.avi' '-v' '-frames' '1'
get_path('font/font.desc') -> '/home/.mplayer/font/font.desc'
font: can't open file: /home/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/.mplayer/input.conf'
Can't open input config file /home/.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
get_path('Nausicaa DVDrip DVDyke CD1.avi.conf') -> '/home/.mplayer/Nausicaa DVDrip DVDyke CD1.avi.conf'

Playing Nausicaa DVDrip DVDyke CD1.avi
Not an URL!
File size is 729796608 bytes
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 81308   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  608 x 336
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: divx (78766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 239760/10000 = 23.976
Start: 0   Len: 81308
Suggested BufferSize: 65709
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 608
  biHeight 336
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 612864
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 44100/1152 = 38.281
Start: 0   Len: 129819
Suggested BufferSize: 314
Quality -1
Sample size: 0
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 11999
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=313
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x22B6
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1346  (id=JUNK)
list_end=0x2B4C43F4
Found movie at 0x280C - 0x2B4C43F4
Reading INDEX block, 211127 chunks for 81308 frames (fpos=0x2b4c43fc)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x146)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=683915305 (81308) audio size=40694282 (129819)
VIDEO:  [DIVX]  608x336  24bpp  23.98 fps  1613.4 kbps (196.9 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:608x336  fps:23.98  ftime:=0.0417
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/.mplayer/sub/'
SUB: Detected sub file: Nausicaa DVDrip DVDyke CD1.sub
SUB: Detected subtitle file format: subrip
SUB: Read 462 subtitles.
SUB: Adjusted 1 subtitle(s).
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 44100 Hz 96 kbit Stereo, BPF: 313
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12000->176400 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

vo: couldn't open the X11 display (:0.0)!
==========================================================================
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 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: Can't open audio device /dev/dsp: Permission denied
AO: [esd] esd_open_sound failed: No such file or directory
SDL: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
ALSA lib conf.c:1564:(snd_config_load1) _toplevel_:6:8:Unexpected char
ALSA lib conf.c:2820:(snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2666:(snd_config_hooks_call) function snd_config_hook_load returned error: Unknown error
ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing configuration
mcop warning: user defined signal handler found for SIG_PIPE, overriding
SDL: Unable to open audio: Unable to initialize ARTS
AO: [null] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: Null audio output
AO: Author: Tobias Diedrich
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 608 x 336 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (608x336->608x336,flags=0,'MPlayer',0x32315659)
VO: [mga] 608x336 => 608x336 Planar YV12 
VO: Description: Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
VO: Author: A'rpi
VO: Comment: Based on some code by Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
/dev/fb0: Permission denied
[mga] Using 3 buffers.
*** [vo] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
get_path('subfont.ttf') -> '/home/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:   0.1 V:   0.0 A-V:  0.090 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
XXX initial  v_pts=0.000  a_pos=5956 (0.496) 
*** [vo] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
A:   0.1 V:   0.0 A-V:  0.059 ct:  0.004    2/  2   0%  0%  0.0% 0 0 0%
EOF code: 1  

Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x83c6ed8  
vo: uninit!
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)
---schnapp---

		Attila Kinali
-- 
Emacs ist für mich kein Editor. Für mich ist das genau das gleiche, als wenn
ich nach einem Fahrrad (für die Sonntagbrötchen) frage und einen pangalaktischen
Raumkreuzer mit 10 km Gesamtlänge bekomme. Ich weiß nicht, was ich damit soll.
		-- Frank Klemm, de.comp.os.unix.discussion


More information about the MPlayer-dev-eng mailing list