Kodi Community Forum

Full Version: [Solved] Error playing mms protocol
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

First of all I want to thank you for this forum - until now it helped me to solve all issues I had with XBMC.

I recently tried to play mms-streams (mms://). This should be supported in Eden with the help of the ffmpeg library. But when I try to open a .strm file with a link like
mms://a1014.v1252931.c125293.g.vm.akamaistream.net/7/1014/125293/v0001/wm.od.origin.zdf.de.gl-systemhaus.de/none/3sat/12/01/120116_galileo_hitec_h.wmv
the following error occurs:

Code:
21:03:17 T:3026065136  NOTICE: DVDPlayer: Opening: mms://a1014.v1252931.c125293.g.vm.akamaistream.net/7/1014/125293/v0001/wm.od.origin.zdf.de.gl-systemhaus.de/none/3sat/12/01/120116_galileo_hitec_h.wmv
21:03:17 T:3026065136 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:03:17 T:2973772656  NOTICE: Creating InputStream
21:03:17 T:2973772656  NOTICE: Creating Demuxer
21:03:17 T:2973772656   ERROR: OpenDemuxStream - Error creating demuxer
21:03:17 T:2973772656  NOTICE: CDVDPlayer::OnExit()
21:03:17 T:2973772656  NOTICE: CDVDPlayer::OnExit() deleting input stream
21:03:17 T:3026065136   ERROR: Playlist Player: skipping unplayable item: 0, path [mms://a1014.v1252931.c125293.g.vm.akamaistream.net/7/1014/125293/v0001/wm.od.origin.zdf.de.gl-systemhaus.de/none/3sat/12/01/120116_galileo_hitec_h.wmv]
21:03:17 T:3026065136  NOTICE: CDVDPlayer::CloseFile()
21:03:17 T:3026065136 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:03:17 T:3026065136  NOTICE: DVDPlayer: waiting for threads to exit
21:03:17 T:3026065136  NOTICE: DVDPlayer: finished waiting

The ffmpeg library supports mms, I can open the link with mplayer. I built XBMC using the Gentoo ebuild xbmc-11.0-r1. In the whole build process, mms is not mentioned. According to the portage log file the external ffmpeg is used:

Code:
checking ffmpeg/rgb2rgb.h usability... no
checking ffmpeg/rgb2rgb.h presence... no
checking for ffmpeg/rgb2rgb.h... no
configure: == Use of external ffmpeg enabled. ==
configure: Skipping configuration of submodule lib/ffmpeg.

Streams using the rtmp protocol or the Youtube plugin work fine.

Any ideas?

Thank's
Stefan
Problem solved: using the internal ffmpeg library makes the streams work (in case of a Gentoo system):

1. Create a copy of xbmc-11.0.ebuild in an overlay directory (e.g. xbmc-11.0-r99.ebuild)
2. Modify ebuild variables at the beginning of the file:
Code:
EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
inherit autotools
SRC_URI="file:///usr/portage/distfiles/${PF}.tar.gz"
KEYWORDS="amd64 x86"
S=${WORKDIR}/${PF}
3. Add
Code:
--disable-external-ffmpeg \
to the src_configure() -> econf section
4. The Gentoo xbmc-11.0.tar.gz package has a missing ffmpeg directory (lib/ffmpeg/libswresample/) - I copied it from the xbmc Git-sources into the Gentoo sources and re-packed it into xbmc-11.0-r99.tar.gz.

Stefan