Opened 18 years ago

Closed 14 years ago

#563 closed defect (fixed)

Distorted sound and errors: mpg123: Can't rewind stream by NNN bits!

Reported by: mirsev@… Owned by: Dominik 'Rathann' Mierzejewski
Priority: normal Component: RPMs
Version: 1.0pre8 Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

System: Fedora Core 5 @ Athlon XP 2000+ with 512M RAM
Using: mplayer-1.0pre8-1 RPM for FC5.

Problem: Some AVI files are played back with distorted sound and mplayer
reports a lot of errors like this:

mpg123: Can't rewind stream by 550 bits!
mpg123: Can't rewind stream by 10 bits!

Some of these files were played back well with earlier versions mplayer-0.7

Any idea?

Change History (14)

comment:1 by Dominik 'Rathann' Mierzejewski, 18 years ago

Can you post a sample file that shows this problem? There haven't been any other
reports like yours. Can you test with MPlayer 1.0pre8 compiled from source? If
it still happens, can you test current SVN?

comment:2 by mirsev@…, 18 years ago

Please go to http://video.google.com/videoplay?docid=7866929448192753501&hl=en

, then click Download button and start watching movie.

comment:3 by Dominik 'Rathann' Mierzejewski, 18 years ago

I cannot reproduce. The movie plays fine here with MPlayer SVN r19668.

comment:4 by mirsev@…, 18 years ago

Have you tried to play it with mplayer-1.0pre8-1 RPM for FC5?

comment:5 by Dominik 'Rathann' Mierzejewski, 18 years ago

Yes, I did. I'm not experiencing any such distortions or errors.

comment:6 by mirsev@…, 18 years ago

Well, I have tested mplayer-1.0pre8-1 RPM for FC5 on two systems. One is Athlon
XP 2000+ and another is Pentium 4. Both run FC5. On P4 mplayer runs fine, no
errors, no distortions. On Athlon XP I have the problems mentioned above.

All packages and libraries are the same on both systems. Could it be some MMX/
SSE/3DNow, etc. problem?

comment:7 by Dominik 'Rathann' Mierzejewski, 18 years ago

Resolution: invalid
Status: newclosed

Please try -afm ffmpeg, to see if the same problem exists in the ffmp3 decoder.
And please, do try current SVN checkout. Unless you can prove that this bug
exists only in the RPM binary and does not occur when you compile MPlayer
yourself, I'm closing this as INVALID. If this still happens with current SVN,
file a bug in the "ad" component.

comment:8 by mirsev@…, 18 years ago

Thank you for your comments. Some new findings:

  1. -afm ffmpeg works fine.
  2. mplayer-1.0pre8-1.src.rpm, rebuilt on P4 produces the same result.
  3. mplayer-1.0pre8-1.src.rpm, rebuilt on Athlon XP works fine.

Strange, right? Can it be some compile-time checking instead of runtime?

BTW, rpmbuld --rebuild mplayer-1.0pre8-1.src.rpm on Athlon XP system did not
include expat library into the linker command, I had to add it manually.

Tomorrow I will give a try to compile SVN version on the P4 system...

comment:9 by Dominik 'Rathann' Mierzejewski, 18 years ago

Resolution: invalid
Status: closedreopened

(In reply to comment #8)

Thank you for your comments. Some new findings:

  1. -afm ffmpeg works fine.
  2. mplayer-1.0pre8-1.src.rpm, rebuilt on P4 produces the same result.
  3. mplayer-1.0pre8-1.src.rpm, rebuilt on Athlon XP works fine.

My package was built on a P4 system. Interesting.

Strange, right? Can it be some compile-time checking instead of runtime?

MPlayer's configure *is* checking some things at compile-time, but I was certain
that --enable-runtime-cpudetection should work.

BTW, rpmbuld --rebuild mplayer-1.0pre8-1.src.rpm on Athlon XP system did not
include expat library into the linker command, I had to add it manually.

That's wrong. Expat isn't used by MPlayer.

Tomorrow I will give a try to compile SVN version on the P4 system...

Thanks.

comment:10 by mirsev@…, 18 years ago

MPlayer binary compiled on P4 system from SVN source works fine on both P4 and
Athlon XP systems. Configure command was:

./configure --prefix=/usr --enable-gui --enable-largefiles --enable-runtime-
cpudetection --enable-mmx --enable-mmxext --enable-3dnow --enable-3dnowext --
enable-sse --enable-sse2

If you wish, I can try other options. For example, what if I remove any mmx/
3dnow/sse enabling options and leave only runtime-cpudetection? Is it worth to
try? Please, let me know.

Are you planning to update RPM package for FC5?

Thank you for your help.

comment:11 by Dominik 'Rathann' Mierzejewski, 18 years ago

(In reply to comment #10)

MPlayer binary compiled on P4 system from SVN source works fine on both P4 and
Athlon XP systems. Configure command was:

./configure --prefix=/usr --enable-gui --enable-largefiles --enable-runtime-
cpudetection --enable-mmx --enable-mmxext --enable-3dnow --enable-3dnowext --
enable-sse --enable-sse2

This is completely different from what is used in the RPM, hence it is irrelevant.

If you wish, I can try other options. For example, what if I remove any mmx/
3dnow/sse enabling options and leave only runtime-cpudetection? Is it worth to
try? Please, let me know.

Yes, please test with the *same* configure command line as is used in the RPM.

Are you planning to update RPM package for FC5?

I'll probably release a new SVN version instead.

comment:12 by mirsev@…, 18 years ago

(In reply to comment #11)

Yes, please test with the *same* configure command line as is used in the RPM.

First, I do not know syntax of spec files to derive configure command.

Second, src.rpm has some patches which also be source of trouble.

So, what should I try? Please, specify the configure command with all options.

Are you planning to update RPM package for FC5?

I'll probably release a new SVN version instead.

Well, I prefer to deal with ready to use packages, and I think many people do.
Please, think about new RPM release.

comment:13 by Dominik 'Rathann' Mierzejewski, 17 years ago

Status: reopenedassigned

Bug confirmed, finally and still present in 1.0rc1-1, but I think we have a fix.
I'll test it this week and release 1.0rc1-2.

comment:14 by Dominik 'Rathann' Mierzejewski, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed ages ago.

Note: See TracTickets for help on using tickets.