Music Error: MpgSnd exception: seek failed

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Locked
lazydev
Posts: 68
Joined: 16 Dec 2012, 14:03

Music Error: MpgSnd exception: seek failed

Post by lazydev »

I have no idea is it a bug or I just need to write something somewhere in a config.

I am getting lots of errors like theese:
Playing music/explore/mx_explore_4.mp3
Music Error: MpgSnd exception: seek failed
Playing music/explore/mx_explore_1.mp3
Music Error: MpgSnd exception: seek failed
Playing music/explore/mx_explore_4.mp3
Music Error: MpgSnd exception: seek failed
Playing music/explore/mx_explore_5.mp3
Music Error: MpgSnd exception: seek failed
Chris
Posts: 1626
Joined: 04 Sep 2011, 08:33

Re: Music Error: MpgSnd exception: seek failed

Post by Chris »

I can only guess this is a bug with libmpg123. Ideally you should be trying to use ffmpeg, but yeah. Not sure why, but libmpg123 has been causing a few problems for us, so I think it may be worthwhile to find a different fallback for when ffmpeg can't be used (it's too bad libsndfile won't support mp3).
lazydev
Posts: 68
Joined: 16 Dec 2012, 14:03

Re: Music Error: MpgSnd exception: seek failed

Post by lazydev »

I am getting ffmpeg-related errors from cmake
-- checking for module 'libavcodec'
-- package 'libavcodec' not found
-- checking for module 'libavformat'
-- package 'libavformat' not found
-- checking for module 'libavdevice'
-- package 'libavdevice' not found
-- checking for module 'libavutil'
-- package 'libavutil' not found
-- checking for module 'libswscale'
-- package 'libswscale' not found
-- checking for module 'libpostproc'
-- package 'libpostproc' not found
-- Could NOT find FFmpeg (missing: FFMPEG_LIBRARIES FFMPEG_INCLUDE_DIRS AVCODEC_LIBRARIES AVCODEC_INCLUDE_DIRS AVFORMAT_LIBRARIES AVFORMAT_INCLUDE_DIRS AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS SWSCALE_LIBRARIES SWSCALE_INCLUDE_DIRS)
CMake Warning at CMakeLists.txt:154 (message):
--------------------


CMake Warning at CMakeLists.txt:155 (message):
FFmpeg not found, video playback will be disabled
But ffmpef package is installed (I am using Ubuntu 12.10 at the moment). Looks like I need some other packages, but they are not listed in the wiki https://wiki.openmw.org/index.php?title ... pendencies
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Music Error: MpgSnd exception: seek failed

Post by psi29a »

They are listed on that same page:
libavcodec-dev libavformat-dev libavdevice-dev libavutil-dev libswscale-dev libpostproc-dev ffmpeg \
that will pull in the dev and lib packages.
Locked