[MPlayer-users] Problems with mplayer on PPC
Arpi
arpi at thot.banki.hu
Wed Apr 24 01:39:53 CEST 2002
Hi,
> 1 - It seems that mplayer has problems with these machines
> being big-endian when playing PCM audio (MP3 is fine):
> when I extract a track from a CD, it is played correctly
> in a x86 box, but it plays as whitenoise in this iBook.
> xmms plays the same file without problems on the iBook.
what file type? DVD (LPCM in VOB), AVI or WAV ?
> I am reporting this because videos with PCM audio has
> problems playing on the iBook and I'm trying to isolate
> the problem.
if(sh_audio->format==0x736F7774){ // "twos" is swapped byteorder
int j;
for(j=0;j<len;j+=2){
char x=buf[j];
buf[j]=buf[j+1];
buf[j+1]=x;
}
}
it's in ad_pcm.c
try to change the if() to negative, so:
if(sh_audio->format!=0x736F7774){ // "twos" is swapped byteorder
...
and tell me if it's ok now
> 2 - is it possible to watch WMA/WMV files at all on non-x86
> archs, with ffmpeg? I already tried passing "-vfm 5" to
> mplayer, but that doesn't work. I guess that it's just not
> available, right?
wma - no, only DLl cdoec for wma audio
wmv - depending on codec, for mpeg4 v2,v3 you can use libavcodec, vor wmv1/2
you can't yet
> 3 - mplayer doesn't write a correct header for audiodumps on
> ppc, but it does correctly on x86. I have to strip the
you mean -ao pcm ?
> symptoms. Any sample file of this wanted?
yes
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-users
mailing list