mplayer with RTC support

Antoine Jacoutot ajacoutot at
Fri Apr 2 02:29:52 PST 2004

Hi :)

I'm having a problem with mplayer when compiled with RTC.
When I want to view a video, it just hangs mplayer for ever until I "CTRL-C" 
which gives me:
MPlayer interrupted by signal 2 in module: sleep_rtc
I try launching mplayer as root --> same problem; I chmod /dev/rtc to 777 --> 
same problem.

Note that seeing a video with the -nortc option passed to mplayer works fine.
I run FreeBSD-5.2.1-p3.
Here are some output you might need in helping me resolve this issue (note 
that linux emulation is built in the kernel).

$ kldstat
Id Refs Address    Size     Name
 1   11 0xc0400000 37b884   kernel
 2    1 0xc077c000 33e0     splash_bmp.ko
 3    1 0xc07cb000 6ea4     snd_emu10k1.ko
 4    2 0xc07d2000 1e58c    snd_pcm.ko
 5    1 0xc07f1000 1ac8a4   nvidia.ko
 6    1 0xc099e000 51b48    acpi.ko
 7    1 0xc4714000 2000     rtc.ko

$ pkg_info | grep rtc
rtc-2004.02.24.1_4  Kernel module which provides /dev/rtc device support
$ pkg_info | grep mplayer-gtk
mplayer-gtk-esound-0.92.1 High performance media player/encoder supporting 
many forma

$ cat /boot/loader.conf

$ mplayer test.avi
MPlayer 0.92.1-3.3.3  (C) 2000-2003 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 
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

Reading config file /usr/local/share/mplayer/mplayer.conf: No such file or 
Reading config file /home/ajacoutot/.mplayer/config
Reading /home/ajacoutot/.mplayer/codecs.conf: can't open 
'/home/ajacoutot/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/ajacoutot/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/ajacoutot/.mplayer/input.conf: No such file 
or directory
Input config file /usr/local/share/mplayer/input.conf parsed: 52 binds

Playing test.avi
AVI file format detected.
VIDEO:  [XVID]  576x320  24bpp  23.98 fps  1011.9 kbps (123.5 kbyte/s)
Clip info:
 Software: Nandub v1.0rc2
SUB: Detected sub file:
SUB: Detected subtitle file format: subviewer
SUB: Read 479 subtitles.
SUB: Adjusted 7 subtitle(s).
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
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)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local 
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing 
low_delay flag
VDec: vo config request - 576 x 320 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.
VO: [xv] 576x320 => 576x320 Planar YV12
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.2 V:   0.2 A-V: -0.007 ct:  0.015    6/  6   0%  0%  0.0% 1 0 0%

Antoine Jacoutot
ajacoutot at

More information about the freebsd-questions mailing list