Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to play audio CD with mplayer?
Date: Sat, 12 Sep 2015 17:25:43
Message-Id: 55F4600A.4010902@gmail.com
In Reply to: [gentoo-user] How to play audio CD with mplayer? by Walter Dnes
1 Walter Dnes wrote:
2 > I don't know why this is so difficult, because mplayer can handle just
3 > about anything. Google searches turned up 2 commandline approaches,
4 > neither of which work on my system. I want to play track 12 on an audio
5 > CD, but for now I'll settle for anything. Here's option 1...
6 >
7 > ##################################################################
8 >
9 > [d531][waltdnes][~] mplayer cdda://12
10 > MPlayer SVN-r37373 (Gentoo)-4.8.5 (C) 2000-2015 MPlayer Team
11 >
12 > Playing cdda://12.
13 > No stream found to handle url cdda://12
14 >
15 > ##################################################################
16 >
17 > That didn't work. Option 2 finds the CD, but merely spits out a
18 > listing of the tracks, and exits...
19 >
20 > ##################################################################
21 >
22 > [d531][waltdnes][~] mplayer vcd://12
23 > MPlayer SVN-r37373 (Gentoo)-4.8.5 (C) 2000-2015 MPlayer Team
24 >
25 > Playing vcd://12.
26 > track 01: adr=1 ctrl=0 format=2 00:02:00 mode: 0
27 > track 02: adr=1 ctrl=0 format=2 02:15:07 mode: 0
28 > track 03: adr=1 ctrl=0 format=2 04:43:35 mode: 0
29 > track 04: adr=1 ctrl=0 format=2 06:58:50 mode: 0
30 > track 05: adr=1 ctrl=0 format=2 08:52:48 mode: 0
31 > track 06: adr=1 ctrl=0 format=2 11:02:00 mode: 0
32 > track 07: adr=1 ctrl=0 format=2 13:33:00 mode: 0
33 > track 08: adr=1 ctrl=0 format=2 15:50:00 mode: 0
34 > track 09: adr=1 ctrl=0 format=2 17:53:55 mode: 0
35 > track 10: adr=1 ctrl=0 format=2 20:07:30 mode: 0
36 > track 11: adr=1 ctrl=0 format=2 22:00:17 mode: 0
37 > track 12: adr=1 ctrl=0 format=2 24:30:15 mode: 0
38 > track 13: adr=1 ctrl=0 format=2 26:55:43 mode: 0
39 > track 14: adr=1 ctrl=0 format=2 29:13:68 mode: 0
40 > track 15: adr=1 ctrl=0 format=2 31:28:66 mode: 0
41 > track 16: adr=1 ctrl=0 format=2 33:20:11 mode: 0
42 > track 17: adr=1 ctrl=0 format=2 35:26:31 mode: 0
43 > track 18: adr=1 ctrl=0 format=2 37:32:69 mode: 0
44 > track 19: adr=1 ctrl=0 format=2 40:02:31 mode: 0
45 > track 20: adr=1 ctrl=0 format=2 42:05:71 mode: 0
46 >
47 > ##################################################################
48 >
49 > Is it possible that I'm missing a necessary USE option for mplayer?
50 >
51 > [d531][waltdnes][~] emerge -pv mplayer
52 >
53 > These are the packages that would be merged, in order:
54 >
55 > Calculating dependencies... done!
56 > [ebuild R ] media-video/mplayer-1.2_pre20150214-r1::gentoo USE="X
57 > alsa cdio dvd dvdnav enca encode iconv jpeg libass network osdmenu png
58 > shm truetype x264 xscreensaver xv -a52 -aalib (-altivec) (-aqua) -bidi
59 > -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -debug -dga -directfb
60 > -doc -dts -dv -dvb -faac -faad -fbcon -ftp -ggi -gif -gsm -ipv6 -jack
61 > -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mad
62 > -md5sum -mng -mp3 -nas -nut -openal -opengl -oss -pnm -pulseaudio -pvr
63 > -radio -rar -rtc -rtmp -samba -sdl (-selinux) -speex -tga -theora
64 > -toolame -tremor -twolame -unicode -v4l -vdpau (-vidix) -vorbis -xanim
65 > -xinerama -xvid -xvmc -zoran" CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3
66 > -3dnow -3dnowext" VIDEO_CARDS="-mga -s3virge -tdfx" 0 KiB
67 >
68
69
70 Here is some info from mine playing a regular CD, audio store bought type.
71
72
73 Emerge info for USE flags:
74
75
76 root@fireball / # emerge -vp mplayer smplayer
77
78 These are the packages that would be merged, in order:
79
80 Calculating dependencies... done!
81 [ebuild R ~] media-video/mplayer-1.2_pre20150730::gentoo USE="X a52
82 alsa bidi cddb cdio dvd dvdnav enca encode faac gif iconv ipv6 jpeg
83 jpeg2k libass mad mng mp3 network opengl osdmenu png sdl shm truetype
84 unicode vorbis x264 xinerama xscreensaver xv xvid -aalib (-altivec)
85 (-aqua) -bl -bluray -bs2b -cdparanoia -cpudetection -debug -dga
86 -directfb -doc -dts -dv -dvb -faad -fbcon -ftp -ggi -gsm -jack -joystick
87 -ladspa -libcaca -libmpeg2 -lirc -live -lzo -md5sum -nas -nut -openal
88 -oss -pnm -pulseaudio -pvr -radio -rar -rtc -rtmp -samba (-selinux)
89 -speex -tga -theora -toolame -tremor -twolame -v4l -vdpau (-vidix)
90 -xanim -xvmc -zoran" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2
91 -ssse3" VIDEO_CARDS="-mga -s3virge -tdfx" 0 KiB
92 [ebuild R ] media-video/smplayer-14.9.0-r1::gentoo USE="bidi
93 -autoshutdown -debug" LINGUAS="en_US -ar_SY -bg -ca -cs -da -de -el_GR
94 -es -et -eu -fi -fr -gl -he_IL -hr -hu -it -ja -ka -ko -ku -lt -mk
95 -ms_MY -nl -pl -pt -pt_BR -ro_RO -ru_RU -sk -sl_SI -sr -sv -th -tr
96 -uk_UA -vi_VN -zh_CN -zh_TW" 0 KiB
97
98 Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
99 root@fireball / #
100
101
102 I included smplayer since I use it as a front end and it may prove
103 useful. This is the command smplayer uses to play a track. You may
104 have to adjust for a vcd if that is what you are using but maybe this
105 will shine a little light IF a option is missing or some thing.
106
107 /usr/bin/mplayer -noquiet -nofs -nomouseinput -lavdopts threads=2
108 -sub-fuzziness 1 -identify -slave -vo xv -ao alsa -nokeepaspect
109 -autosync 100 -mc 10 -dr -double -input
110 nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 18874461
111 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0
112 -ass-font-scale 1 -noflip-hebrew -ass-styles
113 /home/dale/.config/smplayer/styles.ass -subfont-autoscale 0
114 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos
115 100 -volume 6 -cdrom-device /dev/sr0 -cache 10048 -osdlevel 0 -vf-add pp
116 -autoq 6 -noslices -channels 2 -af
117 scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 100 cdda://1
118
119
120
121 I don't have a direct solution but hope this info will help. Maybe it
122 will have something that will get you able to play your music files.
123
124 Dale
125
126 :-) :-)