[MPlayer-users] Karaoke (cdg) support broken?

Alec Bennett wrybread at gmail.com
Tue Feb 27 22:50:37 EET 2018


I get an interesting error when I play the audio file along with the CDG
video file:

mplayer ~/Karaoke/test.cdg -audiofile ~/Karaoke/test.mp3

I've tried the items suggested in the error message as best I can figure
out, but maybe this makes sense to someone? My system definitely shouldn't
be too slow, it's an i5 CPU with 8 gigs of RAM.

Error message with new warning appended:

$ mplayer test.cdg -audiofile test.mp3
MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /home/wrybread/Karaoke/test.cdg.
libavformat version 57.71.100 (external)
libavformat file format detected.
[lavf] stream 0: video (cdgraphics), -vid 0
VIDEO:  [CDGR]  300x216  0bpp  300.000 fps    0.0 kbps ( 0.0 kbyte/s)
Audio only file format detected.
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object
file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.89.100 (external)
Selected video codec: [ffcdgraphics] vfm: ffmpeg (FFmpeg CD-Graphics)
==========================================================================
Load subtitles in /home/wrybread/Karaoke/
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II,
III)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7f5f1281e000]bicubic scaler, from pal8 to yuv420p using MMXEXT
VO: [xv] 300x216 => 300x216 Planar YV12
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 300x216 => 300x216 Planar YV12
A:   2.2 V:   1.8 A-V:  0.380 ct:  0.055   0/  0  2% 76%  0.2% 79 0


           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the
lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.


More information about the MPlayer-users mailing list