Bug Report (mplayer hangs up after reaching EOF)
Hi All I use mplayer with audio output through jack, and recently mplayer hangs up after reaching the end of file. And it is working good with -ao pcm, oss or alsa these strings run in cycle (from strace-out): 22510 ioctl(0, TIOCGWINSZ, {ws_row=63, ws_col=140, ws_xpixel=0, ws_ypixel=0}) = 0 22510 write(1, "A: 43.4 (43.3) of 43.0 (43.0) 1"..., 44) = 44 22510 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) 22510 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) 22510 gettimeofday({1151183030, 693974}, NULL) = 0 22510 gettimeofday({1151183030, 693997}, NULL) = 0 22510 gettimeofday({1151183030, 694021}, NULL) = 0 22510 gettimeofday({1151183030, 694044}, NULL) = 0 22510 gettimeofday({1151183030, 694155}, NULL) = 0 I have found that this problem appers in revision 18738, and rev18737 is working good I use Linux, gcc-4.1.1, jack-audio-connection-kit-0.101.1 $ ./mplayer -ao jack /c/music/New/Linkin\ Park\ Fort\ Minor/FORT\ MINOR\ -\ 01\ -\ Introduction.mp3 -ss 40 -v MPlayer dev-SVN-r18810-4.1.1 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(tm) (Family: 6, Model: 10, Stepping: 0) 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/fireball/.mplayer/codecs.conf' Reading /home/fireball/.mplayer/codecs.conf: Can't open '/home/fireball/.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. CommandLine: '-ao' 'jack' '/c/music/New/Linkin Park Fort Minor/FORT MINOR - 01 - Introduction.mp3' '-ss' '40' '-v' init_freetype get_path('font/font.desc') -> '/home/fireball/.mplayer/font/font.desc' Font /home/fireball/.mplayer/font/font.desc loaded successfully! (233 chars) Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Using Linux hardware RTC timing (1024Hz). get_path('input.conf') -> '/home/fireball/.mplayer/input.conf' Parsing input config file /home/fireball/.mplayer/input.conf Input config file /home/fireball/.mplayer/input.conf parsed: 55 binds get_path('FORT MINOR - 01 - Introduction.mp3.conf') -> '/home/fireball/.mplayer/FORT MINOR - 01 - Introduction.mp3.conf' Playing /c/music/New/Linkin Park Fort Minor/FORT MINOR - 01 - Introduction.mp3. get_path('sub/') -> '/home/fireball/.mplayer/sub/' [file] File size is 695066 bytes STREAM: [file] /c/music/New/Linkin Park Fort Minor/FORT MINOR - 01 - Introduction.mp3 STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for NuppelVideo Checking for REAL Checking for SMJPEG Searching demuxer type for filename /c/music/New/Linkin Park Fort Minor/FORT MINOR - 01 - Introduction.mp3 ext: .mp3 Trying demuxer 17 based on filename extension ==> Found audio stream: 0 demux_audio: seeking from 0xA9A9D to start pos 0x0 demux_audio: audio data 0x0 - 0xA9B1A Audio file file format detected. ========================================================================== 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 ^MMPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 418 Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 44100Hz/2ch/s16le [dummy] Was reinitialized: 44100Hz/2ch/s16le AO: [jack] 44100Hz 2ch floatle (4 bytes per sample) AO: Description: JACK audio output AO: Author: Reimar DЖffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de> AO: Comment: based on ao_sdl.c Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/floatle... [dummy] Was reinitialized: 44100Hz/2ch/s16le [libaf] Adding filter format [format] Changing sample format from little-endian 16-bit signed int to little-endian 32-bit float [format] Accelerated little-endian 16-bit signed int to little-endian 32-bit float conversion [dummy] Was reinitialized: 44100Hz/2ch/s16le [format] Changing sample format from little-endian 16-bit signed int to little-endian 32-bit float [format] Accelerated little-endian 16-bit signed int to little-endian 32-bit float conversion Video: no video Freeing 0 unused video chunks. Starting playback... [libaf] Reallocating memory in module format, old len = 0, new len = 65540 A: -0.0 (unknown) of 43.0 (43.0) ??,?% ^MA: 40.3 (40.2) of 43.0 (43.0) ??,?% ---skip--- ---skip--- % ^MA: 43.0 (42.9) of 43.0 (43.0) 0.6% ^Mds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) A: 43.0 (43.0) of 43.0 (43.0) 0.6% ^Mds_fill_buffer: EOF reached (stream: audio) A: 43.0 (43.0) of 43.0 (43.0) 0.6% ^Mds_fill_buffer: EOF reached (stream: audio) A: 43.0 (43.0) of 43.0 (43.0) 0.6% ^Mds_fill_buffer: EOF reached (stream: audio) A: 43.0 (43.0) of 43.0 (43.0) 0.6% ^Mds_fill_buffer: EOF reached (stream: audio) A: 43.0 (43.0) of 43.0 (43.0) 0.6% ^Mds_fill_buffer: EOF reached (stream: audio) A: 43.0 (43.0) of 43.0 (43.0) 0.6% ^Mds_fill_buffer: EOF reached (stream: audio) A: 43.0 (43.0) of 43.0 (43.0) 0.6% ^Mds_fill_buffer: EOF reached (stream: audio)
Hi, On Sun, Jun 25, 2006 at 04:43:11AM +0400, Alex wrote:
I use mplayer with audio output through jack, and recently mplayer hangs up after reaching the end of file.
Please svn up and try again. Should also fix a minor bug that the last few audio samples were never played. Greetings, Reimar Döffinger
Thanks! It's working! Reimar Do"ffinger wrote:
Hi, On Sun, Jun 25, 2006 at 04:43:11AM +0400, Alex wrote:
I use mplayer with audio output through jack, and recently mplayer hangs up after reaching the end of file.
Please svn up and try again. Should also fix a minor bug that the last few audio samples were never played.
Greetings, Reimar Do"ffinger _______________________________________________ MPlayer-users mailing list MPlayer-users@mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
participants (2)
-
Alex -
Reimar Döffinger