mplayer, hangs + strange strace output

hi,

when forwarding/rewinding a video file in mplayer/smplayer it simply hangs till i spin a bit more or less. following an strace of mplayer when it hangs. this part gets repeated infinetly, so i’m guessing theres an infinite loop somewhere.

i’ve got both plus w32 codecs from packman.

mplayer 1.0.rc2
smplayer 0.6.8.0

poll({fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ({fd=5, revents=POLLOUT}])
writev(5, {"\204\23\r\0\30\1\0\0\17\0\240\4\1\0\300\4\2\0\300\4YV12\0\0\0\0\0\0\0\0"…, 52}, {NULL, 0}, {"", 0}], 3) = 52
read(5, 0x1553094, 4096) = -1 EAGAIN (Resource temporarily unavailable)
ioctl(0, TIOCGWINSZ, 0x7fff54ca3bd0) = -1 EINVAL (Invalid argument)
write(1, “A: 238.1 V: 238.1 A-V: 0.000 ct”…, 77) = 77
select(6, [0 5], NULL, NULL, {0, 0}) = 0 (Timeout)
write(9, “W”, 1) = 1
read(6, “x”, 10) = 1
read(6, 0x7fff54ca3a90, 10) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x1594d70, FUTEX_UNLOCK_PI_PRIVATE, 0) = 0
read(5, 0x1553094, 4096) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 38592000}, NULL) = 0
poll({fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ({fd=5, revents=POLLOUT}])
writev(5, {"\204\23\r\0\30\1\0\0\17\0\240\4\1\0\300\4\2\0\300\4YV12\0\0\0\0\0\0\0\0"…, 52}, {NULL, 0}, {"", 0}], 3) = 52
read(5, 0x1553094, 4096) = -1 EAGAIN (Resource temporarily unavailable)
ioctl(0, TIOCGWINSZ, 0x7fff54ca3bd0) = -1 EINVAL (Invalid argument)
write(1, “A: 238.2 V: 238.2 A-V: 0.000 ct”…, 77) = 77
select(6, [0 5], NULL, NULL, {0, 0}) = 0 (Timeout)
write(9, “W”, 1) = 1
read(6, “x”, 10) = 1
read(6, 0x7fff54ca3a90, 10) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x1594d70, FUTEX_UNLOCK_PI_PRIVATE, 0) = 0
read(5, 0x1553094, 4096) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 38659000}, NULL) = 0
poll({fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ({fd=5, revents=POLLOUT}])
writev(5, {"\204\23\r\0\30\1\0\0\17\0\240\4\1\0\300\4\2\0\300\4YV12\0\0\0\0\0\0\0\0"…, 52}, {NULL, 0}, {"", 0}], 3) = 52
read(5, 0x1553094, 4096) = -1 EAGAIN (Resource temporarily unavailable)
ioctl(0, TIOCGWINSZ, 0x7fff54ca3bd0) = -1 EINVAL (Invalid argument)
write(1, “A: 238.2 V: 238.2 A-V: 0.000 ct”…, 77) = 77
select(6, [0 5], NULL, NULL, {0, 0}) = 0 (Timeout)
write(9, “W”, 1) = 1
read(6, “x”, 10) = 1
read(6, 0x7fff54ca3a90, 10) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x1594d70, FUTEX_UNLOCK_PI_PRIVATE, 0) = 0
read(5, 0x1553094, 4096) = -1 EAGAIN (Resource temporarily unavailable)

Hello,

Same problem here …

For whatever the info is worth, I never had this problem on 11.1.

exactly.

i could lessen this using x11 as video output driver and setting “direct rendering” and “double buffering”, but it still occurs.

Please follow this:
Multi-media and Restricted Format Installation Guide - openSUSE Forums

Pay attention to this at the end:
ImageBam - Fast, Free Image Hosting and Photo Sharing

I can confirm that mplayer works perfectly following the instructions given in the links above on openSUSE 11.2 32bit. In addition to all the recommended steps I added the appropriate binary codec package from the MPlayer site to directory /usr/lib/codecs and now it plays almost everything.

seems to work

do you know what type of problem this is? are the packages incompatible?

Sorry, I don’t know what you are asking?

But is it working ok now?

after much much trying i figured my problem out now:

simply apply the instructions given above and delete the folder $HOME/.config/smplayer .
it might also help deleting $HOME/.mplayer . works for me - finally.

ps: if you are like me in Gnome, simply go to a terminal, become root and type:


# yast2 --install --qt

this will open the install dialog used by KDE (and the one described above)