[MPlayer-users] Karaoke (cdg) support broken?
Alec Bennett
wrybread at gmail.com
Tue Feb 27 02:55:29 EET 2018
I'm trying to play CDG karaoke files with mplayer but the video output is
extremely slow and choppy. It looks like it plays for half a second, then
pauses for half a second, etc.
Here's a CDG file for testing if anyone wants to try:
http://sinkingsensation.com/dropbox/test.zip
To test, unzip the files and play the CDG file with mplayer. I'm simply
running:
mplayer test.cdg
In both Ubuntu and Windows I get the identical slow and choppy output.
Here's the console output from the Ubuntu machine:
$ mplayer test.cdg
> 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)
> 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/
> Audio: no sound
> Starting playback...
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> Movie-Aspect is undefined - no prescaling applied.
> [swscaler @ 0x7f16ff30a000]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
Compare the output to pycdg (part of pyKaraoke):
pycdg test.cdg
According to this page (
https://github.com/larsmagne/mplayer/blob/master/etc/codecs.conf#L27) the
ffcdgraphics codec should be working.
That plays smoothly as it should. But for various reasons, mainly joystick
support, I'd prefer to use mplayer if possible.
Does anyone have any idea what I might be doing wrong? Or how to fix it if
it's an issue with mplayer?
And of course let me know if I need to post more information.
More information about the MPlayer-users
mailing list