[MPlayer-users] Problems with mplayer on PPC

Rogério Brito linuxconsult at yahoo.com.br
Wed Apr 24 03:43:01 CEST 2002


On Apr 24 2002, Arpi wrote:
> > 	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 ?

	Well, I'd say that all these have problems, but I'm not so
	sure (see below). With PCM audio contained in:

	* AVIs: yes, with at least one file that I have here;
	* WAVs: yes, definitely and reproducible all the time;
	* DVDs: probably yes, but I still have to test more, as there
	        may be other problems like audio card limitations.

> > 	    I am reporting this because videos with PCM audio has
> > 	    problems playing on the iBook and I'm trying to isolate
> > 	    the problem.
> 
> 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

	Yes, that fixes it, with at least the AVI file I tried and
	with all WAVs I tried.

	With a VOB from a DVD, it didn't. But that may be another
	problem. I'll have to test it more to give a conclusive
	answer.

[WMA/WMV playbable on non-ix86]
> 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

	Oh, thanks. The file that I tried to play had wmv and wma
	only. :-(

> > 	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 ?

	Exactly. In fact, I used: "-ao pcm -vo null -hardframedrop".

> > 	    symptoms.  Any sample file of this wanted?
> yes

	Ok, it's uploaded. The names are header-problems-ppc.{wav,mpg}.


	Thank you very much, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogério Brito - rbrito at iname.com - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




More information about the MPlayer-users mailing list