情况是这样滴:我安装的是 opensuse 42.1 这个版本,后又将 packman 里的编码器安装了一遍,42.1 的源里没有什么 phonon-mplay,phonon-xine 后端,我依然使用默认的后端,结果 Amarok 可以播放 MP3,但是没有声音,只见播放进度条在移动!ogg 可以播放,也有声音!mplayer 装上之后,打开,闪一下就没有了!smplayer 开 MP3 显示不支持这个格式。
/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --hwdec=no --sub-auto=fuzzy --vo=xv, --ao=pulse, --no-input-default-bindings --input-x11-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=23068812 --monitorpixelaspect=1 --osd-scale=1 --sub-ass --embeddedfonts --ass-line-spacing=0 --sub-scale=1 --sub-text-font=Arial --sub-text-color=#ffffff --sub-text-shadow-color=#000000 --sub-text-border-color=#000000 --sub-text-border-size=2.5 --sub-text-shadow-offset=5 --sub-codepage=utf8:ISO-8859-1 --sub-pos=100 --volume=55 --cache=2048 --osd-level=0 --screenshot-directory=/home/kong/ 图片 /smplayer_screenshots --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --audio-channels=2 --af-add=scaletempo --af-add=equalizer=0:0:0:0:0:0:0:0:0:0 --softvol=yes --softvol-max=110 --ytdl=no --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=fps}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name:${=audio-format}}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate:${=audio-samplerate}}
INFO_AUDIO_NCH=${=audio-params/channel-count:${=audio-channels}}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=demuxer}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
–term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} /home/kong/ 音乐 /Tonya.Mitchell.-.*. 专辑.(MP3)/1 I Represent.MP3
Playing: /home/kong/ 音乐 /Tonya.Mitchell.-.*. 专辑.(MP3)/1 I Represent.MP3
Failed to recognize file format.
Exiting… (Errors when loading file)
查阅官方资料
13.2 Codec Installation in the Terminal
To install codecs using the terminal instead, do these steps:
-
Add the needed repositories (skip the dvd repo if you don’t need DVD playback):
zypper addrepo -f packman.inode.at/suse/openSUSE_Leap_42.1/ packman
zypper addrepo -f opensuse-guide.org/repo/openSUSE_Leap_42.1/ dvd -
Then install the necessary packages (skip libdvdcss2 if you don’t need DVD playback):
zypper install k3b-codecs ffmpeg lame phonon-backend-vlc phonon4qt5-backend-vlc vlc-codecs libdvdcss2 -
Now remove these packages:
zypper remove phonon-backend-gstreamer phonon4qt5-backend-gstreamer
第三步尽然要卸载 phonon-backend-gstreamer, 搞不懂,直接导致 Amarok 停止工作
请问坛子里的达人,这个问题怎么破?**