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

Alec Bennett wrybread at gmail.com
Sat Mar 10 01:30:42 EET 2018


Well, I updated to the latest version of Mplayer (SVN-r38020-7), freshly
compiled, and it pulled the latest ffmpeg during the ./configure process.
I'm still getting the same choppy playback with karaoke CDG files, even
with the -mc 10 option added.

It seems to update about once per second, and be frozen for about half a
second. So it's updating about half the time. Strange. I don't imagine
anyone has any theories?

Using the latest version of Lubuntu.

Output of mplayer ~/Karaoke/test.cdg -audiofile ~/Karaoke/test.mp3:


$ mplayer ~/Karaoke/test.cdg -audiofile ~/Karaoke/test.mp3
> MPlayer SVN-r38020-7 (C) 2000-2018 MPlayer Team
> Playing /home/wrybread/Karaoke/test.cdg.
> libavformat version 58.10.100 (internal)
> 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.
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec version 58.14.100 (internal)
> Selected video codec: [ffcdgraphics] vfm: ffmpeg (FFmpeg CD-Graphics)
> ==========================================================================
> Load subtitles in /home/wrybread/Karaoke/
> ==========================================================================
> Requested audio codec family [mpg123] (afm=mpg123) not available.
> Enable it at compilation.
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16001->352800)
> Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
> ==========================================================================
> AO: [sndio] 44100Hz 2ch s32le (4 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 @ 0x5640c41833e0]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:   5.5 V:   5.5 A-V:  0.003 ct:  0.001   0/  0  1% 298%  0.3% 0 0
>
>
If I add the -mc 10 option I get the same behavior:

$ mplayer -mc 10 ~/Karaoke/test.cdg -audiofile ~/Karaoke/test.mp3
> MPlayer SVN-r38020-7 (C) 2000-2018 MPlayer Team
> Playing /home/wrybread/Karaoke/test.cdg.
> libavformat version 58.10.100 (internal)
> 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.
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec version 58.14.100 (internal)
> Selected video codec: [ffcdgraphics] vfm: ffmpeg (FFmpeg CD-Graphics)
> ==========================================================================
> Load subtitles in /home/wrybread/Karaoke/
> ==========================================================================
> Requested audio codec family [mpg123] (afm=mpg123) not available.
> Enable it at compilation.
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16001->352800)
> Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
> ==========================================================================
> AO: [sndio] 44100Hz 2ch s32le (4 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 @ 0x5623cf3b93e0]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:  11.4 V:  11.4 A-V: -0.001 ct:  0.001   0/  0  2% 63%  0.3% 0 0
>
>
> MPlayer interrupted by signal 2 in module: flip_page



Let me know if any other information would be helpful.

Any theories very invited!







On Tue, Feb 27, 2018 at 6:21 PM, The Wanderer <wanderer at fastmail.fm> wrote:

> On 2018-02-27 at 21:17, The Wanderer wrote:
>
> > On my system, if I play the the two together with the '-mc 10'
> > option thrown into the mix (before either of the other filenames) -
> > to permit the player to skip up to 5 seconds of video to keep it in
> > sync with the audio - I get what looks like reasonable playback. The
> > bits of lyrics which are present in the audio file sync up with the
> > video.
>
> Er. That should be "up to 10 seconds". I don't know how I wound up
> typing '5' instead.
>
> --
>    The Wanderer
>
> The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man.         -- George Bernard Shaw
>
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>


More information about the MPlayer-users mailing list